Validation on multiple form fields
Comments
- 
            
[table][tr][td]My question is regarding required fields on forms. I have a requirement that if Field A = X, then make field B required. I am not sure how to accomplish this and was hoping to get pointed in the right direction.[/table]
 - 
            
[color=rgb(34, 34, 34)][font=Arial, Helvetica, sans-serif]Youll need to set both Field A and Field B as inputs to the validation rule, then also check if Field B is null in the rule:[/font][/color]
[color=rgb(34, 34, 34)][font=Arial, Helvetica, sans-serif][img]https://mail.google.com/mail/u/0?ui=2&ik=3b9d8c45b5&attid=0.1&permmsgid=msg-a:r-1606013489347348070&th=169786c4febf0db2&view=fimg&sz=s0-l75-ft&attbid=ANGjdJ9kJQW5rIDX8LJ8QbBpkCVDpQSf7W1X5lAQ9zwrScHoqM62joOVjV_bYh3owAGu0x6BzYSFMO39FAuBAKXZgI3LyVdEmxllbz6fjMb8A2oDr92CZUPeRMPiF4s&disp=emb&realattid=ii_jt7kd3qp0[/img]
[/font][/color]
[color=rgb(34, 34, 34)][font=Arial, Helvetica, sans-serif]In this case "Yes" is your desired value to make Field B required.[/font][/color]
[color=rgb(34, 34, 34)][font=Arial, Helvetica, sans-serif]On your form youll want to set Field B as an optional outcome, as the validation rule will determine whether or not its required.[/font][/color] 
Howdy, Stranger!
Categories
- 4.5K All Categories
 - 88 General
 - 13 Training
 - 214 Installation / Setup
 - 1.2K Flows
 - 112 Rules
 - 277 Administration
 - 215 Portal
 - 503 General Q & A
 - 722 Forms
 - 356 Reports
 - 3 Designer Extensions
 - 47 Example Flows
 - 58 CSS Examples
 - 1 Diagram Tile
 - 8 Javascript Controls
 - 190 Pages
 - 5 Process Mining
 - New Features
 - 187 Datastructures
 - 73 Repository
 - 238 Integrations
 - 30 Multi-Tenant
 - 27 SDK
 - 81 Modules
 - 60 Settings
 - 27 Active Directory
 - 12 Version 7
 - 37 Version 8
 - 143 Lunch And Learn Questions