Hi,
I have Radio button which contains "Y" and "N". When User Clicks "Y" it hides few datacards that are not needed. When User Clicks "N" it displays datacards that are need. The "N" part consist of 1 more radio button say Radio2, which also contains "Y" and "N". When User clicks "Y" it display one datacard let's say DataCard1, when "N" is selected, it display datacard2. Now, I would like to disable buttton if datacard1 or datacard2 is empty. As soon as user enter some data, the button should be enable otherwise it will be in disable mode.
I have below code in DisplayMode property of the button, which show button in disable mode when user selects "Y" in Radio2 and no data is entered in datacard1. I am not sure how should I disable the button when Radio2 has "N" selected and no data is entered in datacard2 ?
If(Radio1.SelectedText.Value="N" && IsBlank(DataCardValue1.Text),Disabled,Edit)
Any help is appreciated.
Thanks in advance for your time!