1) If I have a reset button it won't clear both pages.
2) If I test the submit button on page 2 without doing the ReCaptcha it takes me back to page 1 to show the ReCaptha and clears all the fields only on page 1.
3) On submit with all fields filled in my email sends but the email is only showing the fields names (input_text_0).
Any help would be greatful.
When you say 'multi-page' are these separate pages, or is it a tabbed form?
1) I would not expect the Reset button to clear more than one page of a multi-page form. You an add reset buttons on separate pages if you need them.
2) I don't understand
3) Sounds as though either the Email template is wrong or the data isn't being captured correctly.
Please drag a Debugger action into the On Submit event, then submit the form and post the debug - including the 'dummy emails' results here.
Note: if you are using the Easy Wizard you can turn on Debug on the Others tab.
Bob
I had a reset button both pages but they seemed to only work part of the time.
What I meant about the ReCaptcha: On testing the form, when I filled in the ReCaptcha and hit submit form it worked fine. When I tested it and left the ReCaptcha field blank, in order for it to give me the message that the field was not entered correctly it would jump back to page one of the two page form and the existing form fields on page one would be cleared.
The Debugger:
Data Array:
Array
(
[chronoform] => screening
[event] => submit
[cf_sid] => 75e0b3bcf9dda48ca1827165498e993a
[Itemid] => 149
[option] => com_content
[view] => article
[id] => 20
[input_radio_11] => No
[input_radio_12] => Swelling with skin changes
[input_text_13] => Todd K
[input_text_14] => 8904902222
[input_text_15] => [email]info@whoever.com[/email]
[input_text_20] => 06665
[recaptcha_challenge_field] => 03AHJ_Vuupo5CG_K1yfPBHsX2X1mfJ1CJBYuGKcSuKv5WLDlkLy9nf3Uszv5rMduOCCfyA6gwQ0KXG4MmJZCS7-sG-UuMn7ZlLTbCqfSGaV0XIk8sgrwzFIHQleSHltB08vjcLwPRrhYfsZa9Yt2LLG5mZI3gxq33MYoh0CbT4bPhWZxqCAdxtg3A
[recaptcha_response_field] => sons ersonic
[input_submit_4] => Submit
[fd32bf0d400b51755e7da538adab0066] => 1
)
The email:
Date of Birth {input_text_0}
Gender {input_radio_5}
What leg symptoms do you have? {input_checkbox_group_7}
When are the symptoms worse? {input_radio_8}
Do you have visible Varicose Veins {input_radio_9}
Have you had previous varicose vein treatments on you leg(s)? If so, what type of treatment have you had as best you can recall? {input_radio_10}
{}
Is your concern solely cosmetic (spider veins)? No
Using the images below as a reference, check the condition(s) below that best corresponds to the appearance of your leg(s). Swelling with skin changes
Name Todd K
Phone 8604902222
Email [email]info@whoever.com[/email]
Local Zip Code 06665
The Middletown Vein and Aesthetic Center respects the privacy of its clients and website visitors. The information that you provided is used solely by the Middletown Vein and Aesthetic Center physicians and is not shared, traded or sold to any third parties. Someone from our office will call you within 72 hours once one of our physicians has had a chance to review the information you provided on this virtual screening tool to discuss what treatment options might be best suited for your condition. If you would rather not leave your phone number, you can leave this blank and we will contact you by email instead.
my test location: http://174.120.97.94/~wwwctvei/index.php/virtual-screening
Thanks again. I owe you a beer!
You need to have a Multi-page action or a 'Session to Data' action at the beginning of the On Load event for the first page. That will re-load any previously saved data and ChronoForms will then show it in the form.
Bob
Thank you
Here is the form actions:
You may need one on the On Submit action too to add the data to the User Session.
The email looks as though it is missing the data from the first page.
Bob
I still have the issue of on submit the form jumps back to page one if the Recaptch is incorrect which is fine, but the 1st page of the form has no data and needs to be filled in again. My other question is how do I clear both pages of the form once all is submitted. This way another user does not see this info?
Thank you again
I'd use ReCapthca on the first page of any form. What wait until a later page. The purpose is to stop spammers and it's unlikely that they are going to complete a multi-page form.
The data will reload if it is available from the User session - for this there needs to be a Multi-page or Session to Data action at the beginning of the On Load action for page 1.
To delete the data you also need to clear the User session. There's a clear after option in the Data to Session action that will do this. You'll need to work out where is the best place to use it though.
Bob
