Hi @Rik Forgo ,
For a Multiple Choice combo box (in the Required of the Data Card)
"proxy" in Lower(FIELD_SUBAGENCY_PROXY_STATUS.SelectedItems.Value)
Single Choice combo box
"proxy" in Lower(FIELD_SUBAGENCY_PROXY_STATUS.Selected.Value)
------------------------------
Warren Belz
MVP (Business Applications)
Australia
------------------------------
Original Message:
Sent: Feb 28, 2023 05:18 PM
From: Rik Forgo
Subject: Conditional form field requirement
I have a form with a datacard field -- PROXY_EMAIL -- that is not required under most circumstances. However, when a user selects a specific value from the choice field PROXY_STATUS and if that selected value contains the text string "proxy", it needs to then become a required field. I searched around the net looking for something that would resolve this and if I insert an if statement in the Required property of the datacard, it will make it required under that circumstance. I've inserted the code below:
I think this should do it, but there's a syntax issue here I can't quite get past. You can't see it here, but the red underline is beneath the ",Value". I'm sure this is a simple fix, but help here is appreciated.
------------------------------
Rik Forgo
Writer/Editor
------------------------------