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.
Single Line Text in Clappia is a block that allows users to input short, single-line text data, suitable for various purposes such as names, addresses, or other brief information.
If you have selected an option under validation to receive specific inputs, an error message will automatically be displayed by the system if the user types in an incorrect type of data. You can also set custom error messages. Know more: https://www.clappia.com/help/blocks-single-line-text#validation
Yes, you can do this by using the validation option in the advanced section of the Single Line Text. You can allow users to submit only email IDs, phone numbers, or even customise it accordingly.
In Clappia, you can use the Calculations & Logic Block to automatically retrieve the signed-in user’s name. Within this block, type @current user name or @submitter name to access the name associated with the user’s email or phone number in the workplace. This variable pulls the user’s information directly from their Clappia profile, allowing for seamless integration of user-specific details into the app.
Yes, enable the option under the Advanced section that says 'Allow value to be changed after initial submission'. The user can then go to the submissions tab and correct their submissions.
The limit is 255 per Single Line Text field
Enable the 'required' option under the basic section of the Single Line Text. The user will not be able to submit data without filling in a required field once enabled.
L374, 1st Floor, 5th Main Rd, Sector 6, HSR Layout, Bengaluru, Karnataka 560102, India
+91 96418 61031
3500 S DuPont Hwy, Dover,
Kent 19901, Delaware, USA
+1 (341) 209-1116
3500 S DuPont Hwy, Dover,
Kent 19901, Delaware, USA
+1 (341) 209-1116
L374, 1st Floor, 5th Main Rd, Sector 6, HSR Layout, Bengaluru, Karnataka 560102, India
+91 96418 61031