Hey guys
I am struggling to get a logic on how to navigate from one screen to another using RADIO BUTTONS...please help peeps.
Hi Siseko,
In radio button we have "on change" event here you can set any action as a destination, and inside this action you can add any screen as a destination.
There are other ways too to achieve this feature.
Thanks,
Manish
siseko thethi wrote:
Hi,
Use OnClick event like
document.location.href='somepage.htm'
Or
use javascript function using onclick event and call below line.
window.open('https://www.google.com','_self');
Thanks.
Hi Siseko Thethi,
Although there are ways of doing this (namely with an OnChange event handler that Manish mentions), I'd argue that doesn't seem to be good UI... users aren't expecting to be sent to another screen when they select a radio button. Can you elaborate on your requirements and what you are trying to achieve? Maybe we can point you to other widgets/patterns that would provide a better user experience for your scenario.
Hi Jorge,
I also have a same scenario as OP's. I need to let a radio button to navigate to different sections/widgets within one screen. How could I achieve this goal?
Check the attached sample oml for reference.
Hope this helps you!
Hello
I managed to get it right peeps,I used onChange event handler.
Thank you very much!