Processing a long form in stages

Issues related to forms.
Post Reply
User avatar
Magical
 
 
Posts: 124
Joined: Thu Dec 14, 2017 5:08 pm
Contact:

Processing a long form in stages

Post by Magical » Fri Jul 06, 2018 2:44 pm

I have a rental application form that has about 30 elements. I want to break it up into topic area with one submission at the end like:

Section - Applicant details

Section - Applicant employment info

Section - Applicant past addresses

Section - Banking and Credit references

Section - co applicant details

Section - final display user entries, agree on terms and conditions and submit.

Each section would be a page with its own validation. My challenge is the final page, how do I take all the data from different pages and pass them to a final form.

Thanking everyone in advance.

User avatar
Pablo
 
Posts: 13554
Joined: Tue Mar 28, 2006 12:00 pm
Location: Europe
Contact:

Re: Processing a long form in stages

Post by Pablo » Fri Jul 06, 2018 2:50 pm

Maybe you can use a Carousel or Wizard (new in WB14)?
http://www.wysiwygwebbuilder.com/carouselwizard.html

User avatar
Magical
 
 
Posts: 124
Joined: Thu Dec 14, 2017 5:08 pm
Contact:

Re: Processing a long form in stages

Post by Magical » Fri Jul 06, 2018 6:49 pm

I downloaded and installed 14, have not started using. Will try that out.

User avatar
ruel.lago22
 
 
Posts: 118
Joined: Thu Feb 01, 2018 11:32 am

Re: Processing a long form in stages

Post by ruel.lago22 » Mon Jul 09, 2018 10:23 am

You may mirror the entries entered in the previous steps using javascript and make sure to make those editboxes "Disabled" so that users won't be able to edit them and will not send duplicate entries upon submitting them. You may download the wbs file at the bottom and just tweak it :)

LINK: http://dlod.ru/kopirovat-iz-odnogo-inpu ... javascript (just translate the website language)

dlod
 
 
Posts: 17
Joined: Thu Mar 15, 2018 7:43 am
Contact:

Re: Processing a long form in stages

Post by dlod » Tue Jul 10, 2018 1:30 pm

ruel.lago22 wrote:
Mon Jul 09, 2018 10:23 am
You may mirror the entries entered in the previous steps using javascript and make sure...
This JavaScript is intended for use on a single web page. This cannot be applied if each section has its own web page.

Here it is better to use something like this: http://dlod.ru/demo/form2
Data from Form 1 is transferred to another page of Form 2.

Please do not click the "Send" button on form 2 so that I do not receive emails


Short description

1) The first form on page 1 (php)
Form -- Object Properties --
Action: /page2.php (this is a redirect page with form 2)
Method: POST
Encoding type: multipart/form-data
Accept charset: UTF-8
Target: _self

Use built-in PHP form processor script: Not use

Input field for mail -- Name: Email
Button -- Button type: Submit


2) The second form on page 2 (php)
Form -- Object Properties --
Use built-in PHP form processor script: Yes to use

Then configure this form to send data to your email address.

Input field for mail
Name: Email
Value: <?=$_POST['Email'];?>

Button -- Button type: Submit

User avatar
ruel.lago22
 
 
Posts: 118
Joined: Thu Feb 01, 2018 11:32 am

Re: Processing a long form in stages

Post by ruel.lago22 » Thu Jul 12, 2018 3:44 am

This JavaScript is intended for use on a single web page.
I guess it will work if it is used inside a carousel am I right? It's still on the same page though. Btw, your work is fantastic! I use some of them on my projects in WWB. It's very useful! :D

dlod
 
 
Posts: 17
Joined: Thu Mar 15, 2018 7:43 am
Contact:

Re: Processing a long form in stages

Post by dlod » Thu Jul 12, 2018 11:54 am

I guess it will work if it is used inside a carousel am I right? It's still on the same page though.
Yes, it will work.

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests