Refresh on radio button click

Certified Senior Developer

Hi All,
We have a start form with a main interface which is having 3 radio buttons in one child interface and and based on radio button clicked, we are showing three different child interfaces. Now when we click on the radio button, we want the data inside the interface to be refreshed. Currently data is refreshed only when whole page is refreshed. Can we use refresh variables to achieve this or any other way??

  Discussion posts and replies are publicly visible

Parents Reply Children
  • 0
    Certified Senior Developer
    in reply to gayatria0439

    I am also trying the same but its not working as expected. The variables are not present within one interface. I have to pass from child 1 to child 2 using parent interface. Any insights will be helpful

  • 0
    Certified Lead Developer
    in reply to Sarathkumar R

    Hi Sarath, in main interface have a local variable which can hold which interface to show. Lets call it local!interface.

    Inside the child interface having radio buttons pass this variable as a rule input. When user selects any of the three options update this ri!interface to have 1,2 or 3 as value, where 1,2 and 3 represents the three different child interfaces.

    In main interface use if else to render appropriate child interface basis value in local!interface. Now as and when user will chnage radio button selection, the ri!interface will update which will pass the value to local!interface in main interface. In real-time the if else code will show respective UI as per selection. Hope this helps!

    if(local!interface=1,
    /*Call 1st Child interface*/,
    if(local!interface=2,
    /*Call 2nd Child interface*/,
    if(local!interface=3,
    /*Call 3rd Child interface*/,
    {})))