How to configure a hidden field that is shown with specific value with validation

  • 27 February 2018
  • 1 reply
  • 22 views

Hello,

 

 

 

 

Recently helped a customer with configuring a custom rule that would only appear when a certain value was given and needed validation. So I thought I would post it here to help anyone else that might want to do this as well.

 

 


1. Create a view that has a hidden control under the control that will be populated by unchecking “Visible” in properties.

 

 

15579i9E4784F8DD0E06E3.png

2. On the form click “Add Rule”

 

 

14241iB0D2AD16B18F95A4.png

4. Select the View and control that was used and select “Changed” as action 
12436i43E1D54BD7BBD6A5.png
 

 

 

6. Under “Actions” tab click “Show a View Control” 
11668i1C36FC54D99D8F8D.png

8. Also configure a “Hide a view control” if value is unselected.

 

 

16326i875E81DB1BF080E9.png

 

 


10. Configure Validation Condition for the required field(s).

 

 

12680i89611397D05EFDF0.png

 

 

 

 

 

Also note: Make sure “Do not validate hidden, disabled or read-only controls, Views and Tabs” is selected. 
10878iD61D1F6E187553C0.png

12. If Value is selected, form should have a similar appearance: 

 

 

11158i5A01970B83283C08.png

 

 


13. If rules and conditions are properly configured, a similar warning will appear. 
14291i8111F6CF07C786D1.png

 

 

 

 

 

 

 

 

Note: These steps only references to one way it can be done. There can be multiple ways and various controls that can be configured to match with similar results.

 

 

 

 


1 reply

Badge +6

Hi Micheal,


 


Thank you, I found this useful as a community post for another client I assisted.


 


Kind Regards,


 


Nicolaas Swart

Reply