Notifications
Announcements
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.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Tom_Gioielli 24 Super User 2025 Season 2
TAHER Mehdi 14
Fameeda Yaseen 10