PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

Submit form when radio button is checked

  1. Update: I meant radio buttons, not checkboxes.

    I'm building a form for a survey, using radio buttons and would like to know if it's possible to set it up so that the form is submitted right away, when a radio button is checked?

    I.e. no submit button, but submitting being triggered by checking a radio button.

    Adding some javascript?

    Posted 10 years ago on Monday February 20, 2012 | Permalink
  2. Haven't tried this, but I bet you could use this filter to some degree:

    http://www.gravityhelp.com/documentation/page/Gform_submit_button

    Posted 10 years ago on Monday February 20, 2012 | Permalink
  3. Could I use the gform_field_choices filter to insert an onclick event on the radio buttons?

    http://www.gravityhelp.com/documentation/page/Gform_field_choices

    Ideally on specific radio buttons, because I have conditional logic on an "Other" choice, so that users can enter an answer in a textfield before submitting.

    Posted 10 years ago on Tuesday February 21, 2012 | Permalink