Announcements
No record found.
Hi All,
I'm looking to capture the value from a Two Option Field which is in Radio Button format on Dynamics Portal then use that in a condition to determine whether another field is visible.
the syntax for the field visibility isn't an issue but im struggling with getting the value from the Two Option Field, the using that in if statement.
could anyone help with the syntax for that please?
thanks in advance
thanks
Hi,
Which type of portal are you using? Self Service or Custom?
Thanks
Its Customer self-service
Hey Buddy!
Dynamics portal while creating radio button control appends _0 & _1 at the end of attribute id. So if you need two capture value, you can just use the below code to check which radio button is checked.
document.getElementById("new_issubscribed_0").checked
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.
Congratulations to our 2026 Super Stars!
Thanks to all of our 2025 Community Spotlight stars!
These are the community rock stars!
Stay up to date on forum activity by subscribing.
NeerajPawar 31
Tom_Gioielli 19 Super User 2026 Season 1
11manish 18