This article explains the features of the Single Line Text block and how it can be used to design your app.
1. Short Answers
2. Numbers
3. Emails
4. Phone Numbers5. URL
Click on the block and configure it by editing on the right panel.
The label is the name of the block that the end user sees in the app.
Example: Company Name is written as the label and is saved.
The description is the additional information provided to the end user which will be displayed below the input area.
Example: Enter the company name as in legal docs is written as the label and is saved.
This is how the Single line text block with the label and the description will look to the end user.
This is the default value that you want to add so that the end user will see the pre-filled data and doesn’t need to input any data in the single line text block.
Enable this option if you want the user to compulsorily input the data. If enabled, the end user can submit if and only if the data is entered in this field.
Enable this option to show the advanced options to configure the single line text block.
Use this if you want to show or hide a field under certain conditions. It accepts the standard Clappia Formulae, similar to conditional sections.
Example: For a Yes or No question, you can show the remarks field when the answer is No.
This option is enabled by default. End users can edit the value entered in this field after creating a submission. Disable it if you do not want the end users to edit the submitted value.
Example: A new submission has been created in the Customer Visit app. You do not want the customer's name and other details to be edited by anyone after the submission has been created.
You can also write a formula here to conditionally allow editing of the data in the block after submission.
Example: In the customer visit app, the customer email field should be editable if and only if the status of the submission is not equal to Confirmed or if the user is an admin.
Select the proper validation for the single line text block to receive specific input from the end user.
Example: A single line text block is used and labeled as Quantity. You want the end user to enter the quantity of not less than 5 kgs in one go.
Custom validation condition
Type ‘@’ and select the quantity block and enter the condition as {quantity}>5.
Custom error message
Error! Please enter more than 5 kgs.
Here is how the final app will look if the user enters a value less than 5 in the "Quantity" field.
1185, 5th Main, HSR Layout
Sector 5, Bangalore 560102, India
+91 96418 61031
3500 S DuPont Hwy, Dover,
Kent 19901, Delaware, USA
+1 (469) 666-0929
125 Redpath Ave, Unti 1809,
Toronto, Ontario, Canada
+1 (437) 988-9663
3500 S DuPont Hwy, Dover,
Kent 19901, Delaware, USA
+1 (469) 666-0929
125 Redpath Ave, Unti 1809,
Toronto, Ontario, Canada
+1 (437) 988-9663
1185, 5th Main, HSR Layout
Sector 5, Bangalore 560102, India
+91 96418 61031
3500 S DuPont Hwy, Dover,
Kent 19901, Delaware, USA
+1 (469) 666-0929
125 Redpath Ave, Unti 1809,
Toronto, Ontario, Canada
+1 (437) 988-9663
1185, 5th Main, HSR Layout
Sector 5, Bangalore 560102, India
+91 96418 61031