I'm sure I've done this before some years ago but can't get it working in v2026.
I have a radio field with 2 options which are text values and want to hide another field depending on which button was selected.
I tried...
$(#x_roleEmailType).change(function() {
if($(this).val() == "Forwarder")
{
$("#x_forwarderDestination").visible(false);
}
else
{
$("#x_forwarderDestination").visible(true);
}
});
... but no response.
Any idea what I'm doing wrong?