Senpiper
  • Introduction to Senpiper One Resource
  • Getting started
    • Overview
    • Log in to the platform
    • Web workspace
    • Mobile Applications
    • White-labeled Apps and custom domains
  • Groups/Applications
    • Groups Overview
    • How to create groups?
    • Open vs Closed groups
    • Managing group members
      • Types of group members
      • Manual Group member management
        • Adding users individually
        • Adding users in bulk
        • Removing users
      • Automated user management
        • How to define criteria for adding users?
        • How to auto-remove users?
        • User Removal Alerts and Task Delegation
    • Group Details on web
      • Form Table View
      • Kanban View
      • Group chats
      • Pending task (assigned to you)
        • How to access the tasks assigned to you?
        • How to take actions on the tasks assigned to you?
        • How to toggle between different views?
    • Group Details on Mobile Apps
      • Managing Group Views
      • Group Chat Features
      • Form Submissions
        • Form card settings
      • Media Directory
        • How to create Media folder ?
        • How to upload media ?
        • How to delete Media ?
      • Pending Tasks
      • Group Settings
  • Media folders
    • Overview
    • How to access the Media Folders?
    • How to create media folders?
    • How to upload media files in folders?
    • How to delete media folders and files?
  • Scheduler
    • Overview
  • HOW TO CREATE APPLICATIONS
    • Overview
    • Tools to create an application
  • USER MANAGEMENT
    • Introduction
    • Managing users
      • User lists
        • How to create user lists?
        • How to create users?
        • How to add custom user list parameters?
      • How to add users to a user list?
        • Adding multiple users to a user list
      • More actions
        • Viewing users
        • Searching users
        • Downloading user lists
        • Delegating tasks
        • Viewing the change log of a user profile
        • Editing users
        • Deleting users
        • Blocking users
        • Unblocking users
        • Unlocking user
        • Granting permissions to users
    • Managing custom roles
      • Creating roles
      • Assigning custom roles to users
      • Removing custom roles from users
      • Granting permissions to roles
    • Roles and Users for the Reimbursement Use Case
  • FORM BUILDER
    • Introduction
    • How to create forms?
      • Basic details
      • Adding fields and saving a form
        • Types of fields
        • Default field settings
        • Individual field settings
        • Creating master records
        • Language settings for fields
      • Additional form settings
        • Conditions
          • Manage field settings
          • Copy field values
          • Conditional values of fields
            • Master Mapping
          • Validate field values
          • Calculate field values
          • Validate location
          • Face Matching
          • Append values to a field
        • Submit button settings
        • Configure pre loader
        • Configure post loader
        • Set form card layout
        • Set form table properties
    • Advanced concepts
      • Parent-child form settings
      • Using report data in forms
    • Editing forms
    • Deleting forms
    • More form options
  • WORKFLOW BUILDER
    • Introduction
      • Overview
      • Navigating workflow builder
      • How to add a new workflow?
      • How to view draft workflows?
    • Defining workflows
      • Define conditions for a workflow step
      • Define Workflow Actions
        • Configuring communication settings
        • Configuring a conditional assignee
        • Selecting an assignment strategy
      • Define workflow Step
        • Updating the status for a step of the workflow
        • Configuring button settings for a step of the workflow
          • Basic details
          • Form edit settings
          • Assignment settings
          • Comment log settings
          • Auto trigger settings
          • Time settings
      • Ending workflow
    • Editing workflows
    • Deleting workflows
    • Designing the reimbursement workflow (Path 1)
    • Designing the reimbursement workflow (Path 2)
  • ALARM BUILDER
    • Introduction
    • Alerts for form submission
      • Add New Alarm
        • Configuring the basic details
        • Defining the communication type
          • Send an Email
          • Send an SMS
          • Send an App Notification
        • Setting up the schedule for alerts
      • Viewing alarm event details
      • Editing an existing alarm
      • Deleting an existing alarm
    • Alarms for Custom Data Exports
      • Add a new alarm
        • Configuring Basic Details
        • Configure Content
        • Define Schedule
      • View Alarm event details
      • Clone a Alarm
  • General System Settings
    • Introduction
    • Authentication settings
      • Login option Preferences
      • Password settings
      • Custom URLs
    • Organization Branding
    • Custom Settings
    • Enable Sign-Up
      • Build a Sign-up form
      • Settings for Sign-up form
      • Customize Sign-up form
  • DIGITIZE A SAMPLE PROCESS
    • Overview of the process
    • Step 1: Register a company
    • Step 2: Create a group/Application
    • Step 3 : Design forms
    • Step 3: Create Process flow
    • Step 4 : Set up the communication
    • Testing the platform
  • Process migration
    • Introduction
  • Different types
  • Steps for migrating any process
Powered by GitBook
On this page
  • What could be the use case?
  • How do I set this up?

Was this helpful?

  1. FORM BUILDER
  2. How to create forms?
  3. Additional form settings
  4. Conditions

Validate field values

PreviousMaster MappingNextCalculate field values

Last updated 2 years ago

Was this helpful?

This logic helps in creating some validation for taking in the values for a field. If the value entered in the field doesn't match the configured validation, an error message is shown to the user for the field and a successful submission cannot be created.

What could be the use case?

Let's take an example. We have to set up a process for creating data on the students in a class above 18 years of age. We create a form with Student details like Name, Contact details, Address, etc. along with a field Age and set a validation on it that the Age entered cannot be less than 18 years.

Now, while creating the submission for this form, the user cannot give a value less than 18 in the field Age. If the value entered in the field Age is less than 18 then an error message is given for the field Age if the user tries to submit the form and a successful submission is not created.

How do I set this up?

Getting back to our example explained above.

  1. While creating the above-quoted form, the user clicks on the Settings tab and select from the left pane.

  2. Select Validate field values in the list of options shown.

  3. Click on Select Fields and choose the field over which the validation is to be applied as shown in the below image. In our example, we have to apply validation on the field Age.

4. Write down the condition for the field in the input box. The user can write the javascript expression in terms of the field key in the input box marked <2> in the below image or select the field in the formula box and give the condition as shown by <1> in the below image.

5. Write down the error message that should be shown to the user filling up the form in case the field validation fails as shown in the image below.

6. Click on Save to save the configuration and create the form by clicking on Create form in the Build tab.

The form is created with the validation set on the field Age that the value entered cannot be less than 18.

So, while creating the submission if the user enters the value 16, the user can see the error message below the input box.

Conditions