Closed (fixed)
Project:
Webform
Version:
7.x-4.16
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
4 Jan 2018 at 05:34 UTC
Updated:
9 Feb 2018 at 15:54 UTC
Jump to comment: Most recent
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
Comment #2
liam morlandWebform 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.
Comment #3
liam morlandIf you need more help, please re-open and provide details.