I have created a multi-step enquiry form using webform (7.x-4.16) module. For faster loading, I have ajaxified prev/next pages using the Webform Ajax Module (7.x-1.1). I am having a requirement where I need to get the values entered in each step to be stored in a database table when the "NEXT" button is clicked. Also, if the user selects a wrong option in the form then the form should be submitted without going further with the rest of the steps. Is there any way that I can get the values entered in each step and do the necessary operations like storing in the database or submitting the form if a particular option is selected in the form.

Comments

arun24aravindan created an issue. See original summary.

liam morland’s picture

Webform generally will save a draft submission in the database between pages. I don't know if this works with Webform Ajax. You may have to move this issue to that queue as a feature request to do so.

To submit a form right away given certain input, you can setup conditionals which hide the items that are not to be completed.

liam morland’s picture

Status: Active » Fixed

If you need more help, please re-open and provide details.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.