Ajax Radio, Select, Checkbox Option

Hi,

I keep on figuring out why the AJAX option in a field that is defined as Radio button, or checkbox or select is not displaying in my form.

Is there something I’m doing wrong? My understanding is that if the field I have defined is either of radio, checkbox select type, that AJAX option will be automatically present.

Thank you very much in advance. :slight_smile:

Re: Ajax Radio, Select, Checkbox Option

Not sure what you mean by automatically be there. Do you have it defined in selected fields? In a visible block?

Created new radio field (toggle_editors)
Created an AJAX event (onClick)

in the code:

switch({toggle_editors}) {
case 1:
// your code
break;
case 2:
// your code
break;
case 3:
// your code
break;
default:
// your code
}

Regards,
Scott.

Re: Ajax Radio, Select, Checkbox Option

Thank you for the input Scott. :slight_smile:

I will try this one! :slight_smile:

Have a great day!