Field Validations

AppCan Cloud supports the ability apply validation to Date, Date & Time, Number, Currency, Location & Photo fields.


Text Validation

You can apply the following validation to Text fields:

  • Minimum no. of characters
  • Maximum no. of characters

To set a validation on a Text field, in the Data Collector app builder, select the ‘Field Options’ 3 dot icon next to the required field.

The ‘Field Options’ modal will show.  Select ‘Validation’ and select the required option(s).

Select ‘Confirm’ to apply the range and ‘Save’ or ‘Publish’ the app as required.

On AppCan XP, the Text field will limit the user to entering the number of characters validation set in the Data Collector app builder.

Date Validation

You can apply the following validation to Date & Date / Time fields:

  • Date cannot be before current date
  • Date cannot be after current date
  • Date cannot be before current date, minus X days
  • Date cannot be before current date, plus X days

To set a validation on a Date or Date / Time field, in the Data Collector app builder, select the ‘Field Options’ 3 dot icon next to the required field.

The ‘Field Options’ modal will show.  Select ‘Validation’ and select the required option(s).

Select ‘Confirm’ to apply the range and ‘Save’ or ‘Publish’ the app as required.

On AppCan XP, the date picker will limit the user to select a date within the validation set in the Data Collector app builder.

Time Validation

You can apply the following validation to ‘Time’ fields:

  • Time picker starts

By default, the ‘Time’ element defaults to the current time the user selects the field.  If you wish to set a default time, e.g. 8am, then apply the required time in the ‘Time picker starts’ validation.

To set a validation on a Time field, in the Data Collector app builder, select the ‘Field Options’ 3 dot icon next to the required field.

The ‘Field Options’ modal will show.  Select ‘Validation’ and enter the required ‘Time picker start’ time.

Select ‘Confirm’ to apply the Time picker start time and ‘Save’ or ‘Publish’ the app as required.

Number & Currency Validation

You can apply the following validation to Number & Currency fields:

  • Range
  • Set decimal places

To set a validation on a Number or Currency field, in the Data Collector app builder, select the ‘Field Options’ 3 dot icon next to the required field.

The ‘Field Options’ modal will show.  Select ‘Validation’ and enter the required numeric range and/or decimal places required.

Select ‘Confirm’ to apply the range and ‘Save’ or ‘Publish’ the app as required.

On AppCan XP, if a user enters a value outside the range entered, the user will see a message asking them to enter a value within the set range.  If ‘Set decimal places’ has been set, the user will be able to enter a number up to the amount of decimal places.

Photo Validation

AppCan XP version 2.5.0 or greater required

You can apply the following validation to Photo fields:

  • Minimum & Maximum photos to be taken

To set a validation on a Photo field, in the Data Collector app builder, select the ‘Field Options’ 3 dot icon next to the required field.

The ‘Field Options’ modal will show.  Select ‘Validation’ and enter the required Minimum & Maximum Photos required to be taken.

Select ‘Confirm’ to apply the range and ‘Save’ or ‘Publish’ the app as required.

On AppCan XP, if a user captures a number of photos outside the range entered, the user will see a message asking them to take the required amount of photos.

Note: In Report Builder, each photo will be available to use in your reports.  This will have a suffix of _1, _2 , _3 etc.

Location Validation

With the ‘Location’ Field Type, you can choose which type of map is shown to the user (Road Map or Satellite) and the zoom level required.

The default set option is ‘Road Map’ with a zoom level of zero.

To change the map type and zoom level, click on the 3 dot icon next to the ‘Location’ field type in the Data Collector builder.  Select ‘Maps’ and make your selection(s) as required:

The zoom levels range from 0 to 5.  0 being the minimum zoom to 5 being the maximum zoom.


Scroll to Top