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]