Hi,
For a button to fire it’s method in find mode I use : //controller.search()
Is this also possible for a radio button (onAction method) ? controller.search does not seem to work.
Depending on the selected radio button, I want to show different fields in the form
Regards,
Hi,
Maybe using onDataChange event of the radio.
Noop, ondatachange does not fire in find mode
i think it should work fine
if i quickly test in servoy 6 and i add : @AllowToRunInFind to the doc of the onaction of a radiobutton (or radio choice)
and the onaction was executed in find and in browse mode.
Thanks,
Will it also work in 5.2.12 ?
Regards,
@allowtoruninfind is new in 6
its a replacement of just adding controller.search() somewhere in the code of the previous version.
I haven’t tested it in 5, but i think it should work