Grab Clappia’s 50% OFF Black Friday Deal before it’s gone! Ends 05 Dec 2025.
View offer →
#bf-banner-text { text-transform: none !important; }
Table of Content
Still need help?
Request support
Request Support
Help
 / 
 / 
Data Input Blocks
 / 

Phone Number Block

This article explains the features of the Phone Number block and how it can be used to design your app.

Phone Number Block

Editing the Block

Click on the block and configure it by editing on the right panel.

Phone Number Block
Phone Number Block

Label

The label is the name of the block that the end user sees in the app.

Example: Phone Number. 

Description

The description is the additional information provided to the end user which will be displayed below the input area.

Example: Select country code and enter the number.

This is how the Phone Number block with the label and the description will look to the end user.

Phone Number Block

Default Country Code

Click on the downward arrow in the right panel and a drop-down list of various Country Codes will appear.

Phone Number Block

'For the end user, country code is indicated on the left side of the Phone Number input block with an icon of the respective country’s National Flag.

Allow User to edit the Country Code

Enable this option for the end user to change the Country Code.

Required

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.

Advanced Options

Enable this option to show the advanced options to configure the counter block.

Phone Number Block

Display this field if

Use this if you want to show or hide a field under certain conditions. It accepts the standard Clappia Formulae, similar to conditional sections.

  1. You can type ‘@’ to get a list of all the variables in the app and select variables.
  2. Using these variables you can write Excel-like formulae.
Phone Number Block

Allow value to be changed after initial submission

This option is enabled by default. End users can edit and change the phone number after creating a submission. Disable it if you do not want the end users to change the phone number option.

Advanced Label

The Advanced Label option allows you to change the label of a field dynamically based on a condition you define. Instead of always showing the same fixed label under the ‘Basic’ tab, the field can display different labels depending on requirements of the form. Use spreadsheet-like functions such as IF, AND, OR, etc. and make use of other field variables to set your conditions. Type @ and select the field.

This is useful when the meaning of a field changes based on context, business logic, or user choices.

For example:
If you have a dropdown called Contact Category with options “Emergency Contact” and “Primary Contact”.
The label should reflect the type of number being collected.

So:
– If Emergency Contact, show “Emergency Phone Number”
– If Primary Contact, show “Primary Phone Number”

Formula:

IF({contact_category} = "Emergency Contact", "Emergency Phone Number", "Primary Phone Number")

This allows the same field to adapt its displayed purpose without needing multiple separate fields.

Advanced Description

The Advanced Description option works exactly like Advanced Label, but it changes the description text instead. This is useful when guidance or instructions for a field need to change depending on earlier answers.

For example, using the same scenario from Advanced Label:
If you have a dropdown called Contact Category with options like “Emergency Contact” and “Primary Contact”, you may want the description of your Phone Number field to guide the user differently depending on what they selected.

So:
– If the user selects Emergency Contact, the description could say: “Enter an emergency contact number reachable 24/7.”
– If the user selects Primary Contact, the description could say: “Enter the user’s primary phone number.”

Formula:

IF({contact_category} = "Emergency Contact", "Enter an emergency contact number reachable 24/7.", "Enter the user’s primary phone number.")

This helps users understand what is required from them without showing unnecessarily long or irrelevant instructions.

Additional Examples (Apply to Both Advanced Label and Advanced Description)

1. Showing nothing until a selection is made

For example, if you have a dropdown field called Visit Category with options “Routine” and “Urgent”, you may want the label or description of a field to remain blank until the user first selects a category.

Once a selection is made:

  • If the user chooses Routine, the field will display “Routine”.
  • If the user chooses Urgent, the field will display “Urgent”.

Formula (can be used in either Advanced Label or Advanced Description):

{visit_category}The label/description stays empty until the dropdown has a selected value.
After the user picks an option, the selected text (Routine or Urgent) becomes the label or description.

2. Changing label/description based on language selection

For example, if your form includes a dropdown field called Select Language with options English, Spanish, and French, you can show the label or description in the selected language.

So:

  • If the user selects English, show English text.
  • If the user selects Spanish, show Spanish text.
  • If the user selects French, show French text.

Formula (can be used in either Advanced Label or Advanced Description):

IF({select_language} = "English", "Enter details", IF({select_language} = "Spanish", "Ingrese detalles", "Entrez les détails"))The formula returns the text for the selected language.
Only one label/description is shown at a time, depending on what the user picks in the Select Language dropdown.

Important Notes (applies to both Advanced Label and Advanced Description)

1. Variables do not change
When a field is created, its variable name is derived from the label you set in the Basic tab. That variable name is what you must use in formulas, workflows, and other logic. The visible label or description shown by Advanced Label / Advanced Description does not change the variable name.

2. Submissions tab: table view vs right panel
In the Submissions area, the table view always displays the labels from the Basic tab. When you open an individual submission, the right panel shows the labels and descriptions as they appear in the form (i.e., the Advanced Label and Advanced Description applied for that submission). This keeps the submission list consistent while letting reviewers see the context-aware labels and descriptions when viewing a record.

3. Bulk Edit shows Basic tab labels and descriptions
When you need to Bulk Edit submissions, the spreadsheet you download shows the labels and descriptions from the Basic tab only. Advanced Label and Advanced Description are not applied in Bulk Edit, so keep that in mind when preparing bulk updates.

4. Some fields cannot be used inside Advanced Label/Description formulas
Certain block types do not expose a variable that can be referenced in Advanced Label or Advanced Description. If a block does not expose a variable, you cannot use it inside the formula.

Geo Address

GPS Location

PaymentGateway

Audio

Live Tracking

Signature

Code Scanner

NFC Reader

Get Data from RestApi

Get Data from Other Apps

Get Data from Google Sheets

Get Data from Database

AI Block

Text, HTML & Embedding

Attached Files

Image Viewer

Video Viewer

PFD Viewer

Code block

Progress Bar

Action Button

Help Video

FAQs
How do I allow users to change the default country code in the app?
Enable the Allow user to edit the country code? option under the 'Basic' section. This will let the users change the country code in the app.
Do I need to enter the country code in the phone number block?
You can set this once from the Default country code option under the 'Basic' section. Users will see the default country code once they open the app and can simply input phone numbers.
Try our free plan
It will answer many more questions within just 15 minutes.