I have a really long Adobe Business Catalyst web form that I need to split across multiple pages so that it doesn't look so long. I'm using the instructions at the following url to put it together.
http://kb.worldsecuresystems.com/kb/splitting-web-form-across-multiple.html
The instructions say to create a separate web page for each part of the form and then link the forms together using a modified action url.
The form is a membership application form and the user needs to choose a level of membership on the first form using a drop down menu. They don't pay until the 5th form which is where the credit card details and the amount field will be located. So my question is, if they're choosing the amount on the first form, how can I store that amount in order to populate the amount field on the 5th form?
Also, we're asking for Home Address, Work Address and PO Box Address. Each of these will be on a separate page. The problem is that on the last page will be the information for the credit card and because we're with Paypal they require a billing address to be submitted. So after asking the user for all those addresses, I don't really want to ask for a billing address on top so is there a way to store, say the Work address (on page 3), and then use that to populate the billing address on page 5? I know that I'm making an assumption that they want their work address to be the billing address but I'm not sure how to know the information any other way.
Also if each submit button on each of the pages is being submitted to the next form like this:
<form name="catwebformform23080" method="post" onsubmit="return checkWholeForm23080(this)" enctype="multipart/form-data" action="/FormProcessv2.aspx?WebFormID=70776&OID={module_oid}&OTYPE={module_otype}&EID={module_eid}&CID={module_cid}&PageID=/Home-address">
...then will that mean each of the forms will be logged into the Business Catalyst database as a separate case? Can I also assume that the payment won't go through until the 5th form where the billing and credit card details will be located?
Thanks in advance.
You can persist small amounts of data using the methods Business Catalyst automatically provides in
/CatalystScripts/Java_Cookies.js
:createCookie()
,readCookie()
, anderaseCookie()
.You may have an easier time by keeping all the fields together on one form on one page, and using something like jQueryUI Tabs to group the form elements.
No, BC will apply each of them to the same customer and case. From the KB article you linked:
You have the ability to create a Web Form that can be split across multiple web pages but will be added to the same customer and case
Correct. Do note that as soon as the first form is completed, the only workflow notification will be triggered - you will not receive further notification if the customer completes any of the next forms.