This article explains the Single Line Text block that can be added as a block to design an app.
- Short answers
- Phone numbers
Editing the block
Click on the block and start editing on the panel that appears on the right side.
This is what appears as the name of the input block to the end-user. For example, writing “Phone Number” as the label will show the block as shown below.
This is the text that goes below the input block to help the user.
This is the default value that you want to add so that the users don’t need to fill all input blocks unless some change is required.
Tick this option if you want the user to compulsorily fill the input block.
Select the right validation like Number, Email, or Url for the input.
You can add advanced validation if required. For example, we are designing an app with input “Quantity” validation that ensures the users don’t enter less than 5. Use @ to call any variable and enter the custom validation against it.
Here is how the final app will look if the user enters a value less than 5 in the “Quantity” field.
Allow value to be changed after submission
This option is turned on by default. Turn it off if you don’t want the users to edit this field’s value once they create a submission. For example, if a new submission has been created in a Customer Visit App, you might not want the customer name to be edited by anyone after the submission is created.