I Have a NetWeb Form with two tabs
On one of the tabs I have radio buttons
I want one of the radio buttons to be conditionally selected when the tab opens ( currently the radio button is selected manually)
Where do I insert the following code please?
I have tried in the TabChanged embed which doesnt work and also afterPrimes but this last option opens the tab automatically.
lBreaktype is already primed
!conditionally set Meal Start
!Breaktype 3 is the radio button option for Lunch out and 4 is the lunch IN option
IF p_web.GSV('TakesTeaBreaks') = 0
if p_web.GetSessionValue('loggedIn') = 1
lBreakType = 3
p_web.SetSessionValue('lBreakType',3)
elsif p_web.GetSessionValue('LoggedIn') = 0
lBreakType = 4
p_web.SetSessionValue('lBreakType',4)
end
END
Thanks
Richard