Modules
...
Forms V2
Elements

Textbox

9min

A Textbox is an element you can add to your page that lets you put and type text. Textboxes can be useful for drawing attention to specific text.

Element Details of Textbox
Element Details of Textbox
ο»Ώ

Field Details

  • Variable Name: The variable that is used to identify the element is entered here.
  • Label Text: Label text is entered here.
  • Placeholder Text: This is the short info that is displayed in the input field before the user enters a value.
  • Hint Text: This is used so that the user can better understand what the element is used for.
  • Regex: The pattern is used to do pattern-matching "search-and-replace" functions on text.
  • Error Message: This message is displayed when input is invalid.
  • Default Value: This field is used to define the default value.

Prefilling Options

  • Prefill Page: The page from the flow that we want to pull the prefill data can be chosen.
  • Prefill Variable: The prefill variable can be chosen from the prefill page using this drop-down.
  • Prefill Page for Rule Variables: This option is used to choose the rule page for prefill items.
  • Enter variable name: This is used to enter the prefill rule page variable
  • Prefill widget page name: This dropdown is used to select the widget page for pre-filing.

Choose when to enable variable

This is used to select when to enable the variable depending on the condition such as:

  • To enable when the current variable’s value exists.
  • To enable when the current variable’s value is defined.

Toggle Buttons

  • Required: To enable whether to make the variable required or not.
  • Non-Editable: To enable whether to make the field input value non-editable or not.
  • Conditional Enable Disable: If the element is non-editable this feature will make it editable and if the element is editable this feature will make it non-editable based on the condition. Select the page and the variable on that page. Then choose from the conditions, i.e., 'When Above Variable's Value Exist's or 'When Above Variable's Value is', and choose the value of the variable for the second condition. So, when the value of the chosen variable on the selected page exists or has a certain defined value based on the condition, then this element, here, the textbox can be enabled/disabled. (Note: This is not implemented yet in the RM app)
Conditional Enable Disable
Conditional Enable Disable
ο»Ώ
  • Allow filling with barcode scanner: This option enables fetching the variable value from the barcode scanner.
  • Hide this field from user: This toggle is given to enable the option to hide the selected field of the element from the user’s view.
  • ο»ΏHide fields from Backopsο»Ώ: This toggle when enabled hides the field from the backops user.
  • ο»ΏEnable backops users to editο»Ώ: This toggle enables backops users to edit the field and override the customer's input.
  • ο»ΏInput Data Processing ο»Ώ: This toggle is given to select whether the data entered should have a data formatting option or not such as concatenateString, calculateAge, differenceBetweenDates, trimSpacesString, uppercaseString, lowercaseString, differenceBetweenDatesInDays, differenceBetweenDatesInMonths, and sorted array variable.
  • ο»ΏTrigger Internal Dedupeο»Ώ: Enabling this toggle allows triggering internal dedupe on textbox on any page of the journey. The dedupe will be triggered when the value of the selected variable is equal to the value entered.
Trigger Internal Dedupe
Trigger Internal Dedupe
ο»Ώ
  • Number Formatting: This toggle allows the addition of a number formatting to the textbox. The formatting can be selected from the dropdown, viz, Indian, or global notation.
Number Formatting
Number Formatting
ο»Ώ
  • Only Numbers: When this toggle is enabled the text box only accepts numbers as input

Select Appearance

The appearance of the textbox can be customized by choosing the radio button from various options present. If nothing is selected here, the global settings will be applied. To override global settings for the particular field any one of the given options has to be selected. We can choose from the following options:

  • Default (with fixed label and without prefix and suffix)
  • Fill with outlined
  • Filled
  • Standard
  • Outline

The default variant does not have prefix or suffix options. All the other variants have the option to select prefix and suffix icons. The icon can be added by entering the name of the icon in the text box that appears on turning the toggle(s) on. The name of the icon can be found by clicking on 'Click here to find the icon name'.

Select Appearance
Select Appearance
ο»Ώ

Getting help

Please feel free to contact us if you have any questions, require clarification, or have ideas for how to make the documents or any of our services better.

You can reach out to us at [email protected].

ο»Ώ

Updated 27 Sep 2024
Did this page help you?