Notifications
Announcements
Scenario:
I have one field that I need to make required if two out of three options on a radio button is selected. I am using the following code: Radio2_1.Selected.Value="Tax Entity" or Tax Individual"
There is no error message but the field is not appearing as Required. It works fine if I only have one option in the code. field to be required if either of those options are selected?
Thanks in advance.
@ShondaT
In the required property of the card:
Radio2_1.Selected.Value="Tax Entity" || Radio2_1.Selected.Value= "Individual"
@Drrickryp It still only shows as required on the first part of the code. It seems to ignore the 2nd part.
Please post the screenshot of the radio control.
@Drrickryp
This is how it shows when I press Tax Individual
This is how it shows when I press Tax Entity
Both instances should be required.
This is what the code looks like now: (Radio2_1.Selected.Value="Tax Individual") || (Radio2_1.Selected.Value="Tax Entity")
As a test, try
Radio2_1.Selected.Value<> "Assurance"
Also remove the parentheses from your current formula and see if it does the same thing. They were not included iny suggestion.
@Drrickryp I initially tried it without the parenthesis and then with them and both ways rendered the same results. Your new suggestion is rendering the same. This is so odd! 😞
I can't explain it either. I tried a sample and it works fine for me. If you change the order what does it do?
Radio2_1.Selected.Value= "Tax Individual" || Radio2_1.Selected.Value="Tax Entity"
@Drrickryp It's actually working now. I'm not sure what's different but it started working all of a sudden. Thanks so much for the help!
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
In our never-ending quest to improve we are simplifying the forum hierarchy…
We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
WarrenBelz 796 Most Valuable Professional
Michael E. Gernaey 327 Super User 2025 Season 2
Power Platform 1919 268