(self)
Get a text-only prompt for this. Used in pure text (or sms) mode.
Get a text-only prompt for this. Used in pure text (or sms) mode.
Get a text - only prompt for this . Used in pure text ( or sms ) mode .
def get_text_prompt(self):
        """
        Get a text-only prompt for this. Used in pure text (or sms) mode.

        """
        if self.datatype == "select" or self.datatype == "multiselect":
            return select_to_text_compact(self.caption, self._dict["choices"])
        else:
            return self.caption
def get_text_prompt ( self ) : if self . datatype == "select" or self . datatype == "multiselect" : return select_to_text_compact ( self . caption , self . _dict [ "choices" ] ) else : return self . caption