Home › Forums › Quform WordPress › Multi Page Form with Additional Page Data Appeneded
- This topic has 6 replies, 3 voices, and was last updated 7 years, 5 months ago by
Venom.
- AuthorPosts
- September 26, 2017 at 10:27 pm #22279
MediaServices
ParticipantI have no URL for this yet.
I’ve been asked to build a 2-step form with data from the second step being appended to data from the first step – if entered.
In the first step required data is entered (for example, Name and Email Address). The user clicks a NEXT button and is presented with step 2 (for example, Phone Number) asking for optional information.
Some people will fill out the information in step 1, click NEXT and leave the optional information in step 2 blank and then click SUBMIT. Some people will fill out the information in step 1, click NEXT and enter the optional information in step 2 then click SUBMIT. But some people will fill out the information in step 1, click NEXT and see the optional information in step 2 and close their browser or navigate away from the page without clicking SUBMIT.
We’d like to have the information from step 1 entered into the database when the NEXT button is clicked, and then have any information that’s entered in step 2 appended to the data from step 1 if the user clicks SUBMIT. So if a visitor does the 1st step only, and clicks NEXT we have only the Name and Email Address even if they have not clicked SUBMIT. But after clicking NEXT if they enter their optional Phone Number we want that data appended in the database so we have their Name, Email Address and Phone Number.
How could I do this in Quform v2?
September 27, 2017 at 12:40 pm #22303Ally
Support StaffYou don't have permission to view this content. Please log in or register and then verify your purchases to gain access.
September 28, 2017 at 7:09 am #22339Venom
ParticipantHi Ally,
I would like to have some example code for this.
Regards,
Venom
September 28, 2017 at 4:05 pm #22379MediaServices
ParticipantVenom would like example code but I’ve had more feature requests and re-assigned the project internally to a designer who has recommended another plugin that handles form abandonment.
Best wishes and thanks for your time.
September 29, 2017 at 3:42 pm #22460Ally
Support StaffYou don't have permission to view this content. Please log in or register and then verify your purchases to gain access.
October 4, 2017 at 10:48 am #22499Ally
Support StaffYou don't have permission to view this content. Please log in or register and then verify your purchases to gain access.
October 5, 2017 at 2:43 am #22511Venom
ParticipantThank you for your great code sample.
I am still reviewing the source code of Quform 2.0. It has many new features and the design pattern is based on DI. It will be great if you have more reference samples for using Quform 2.0 in advance topic guide.
- AuthorPosts
- You must be logged in to reply to this topic.