Hi,
I have 2 textboxes and 1 radio button in a Form. Submit button is outside the form. All three fields are required. I'm updating the record on Submit button click using Patch function onselect. I have marked all three fields as required = true.
On Submit button's DisplayMode, I have added below code. Submit button stays disabled if two text boxes have values but radio button is not selected. However, Submit button Enables as soon as I select one of the radio button options even though other textbox(s) are still empty. What am I doing wrong?
If (
IsBlank(DataCardKey16_1.Text) ||
IsBlank(Radio3_1.Selected) ||
IsBlank(DataCardKey9.Text),
DisplayMode.Disabled,
DisplayMode.Edit
)