• Resolved pwforaker

    (@pwforaker)


    I’ve lost track of how to set a default radio button in a set of buttons. In the referenced form (using theme 1), I want to have the first radio button in the set checked by default.

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Contributor Form Maker Support

    (@formmakersupport)

    Greetings!

    Please note that you can check one of the options in the backend and then save it. In the frontend, it will be shown as checked by default.

    Thanks, have a nice day!

    Thread Starter pwforaker

    (@pwforaker)

    Unfortunately, that does not work. I click (check) one of the radio buttons in the backend, click Update, then Update again. Then, I refresh the page containing the form, and there is no default button checked.

    Plugin Contributor Form Maker Support

    (@formmakersupport)

    I am sorry for the inconvenience.

    Please add the below mentioned code in Form Options > Javascript > function before_load.

    jQuery(“#wdform_4_element170”).attr(‘checked’, ‘checked’);

    Thanks, have a nice day!

    Thread Starter pwforaker

    (@pwforaker)

    Thank you. That worked.

    Thread Starter pwforaker

    (@pwforaker)

    Closing.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘How to set default radio button’ is closed to new replies.