Make controls required fields with indicators within a form

  • 19 August 2016
  • 1 reply
  • 10 views

Badge +9

We would like to have controls within a view be required fields with an indicator (such as the classic red asterisk). Is there a simple method for forcing a field to be populated without creating individual rules for each one?


1 reply

Badge +7

Hello,


 


There is in fact a way to require fields to be populated without creating individual rules for each one. To do this you can utilize SmartForm validation, this documentation includes informaton on how to do this:


 


SmartForm Validation


 


Along with this you can also use styling to denote fields that require information. To do this you can modify the data label for each field by doing the following:


 


1.  Select the label for the field that requires validation. This may need to be changed on View level if the control is not on the Form.


2. In the Properties section of the label you will notice a section called 'Text', add an asterix to the end of the labels text to show that this is a required field.


3. In the same Properties section of the label select Styles.


4. On the Fonts tab, you can change the color of the labels text. In this case red.


5. Save the Form / View.


 


You should see the change in the texts color, showing that the field is required. For further information regarding Styling please see the following documentation:


 


Styles


 


I hope this helps you out!

Reply