Multipage form - Email

g.pierini 10 Dec, 2018
Dearest all,

I searched in the forums, I look up into the manual I can't solve the problem.

I've got a 2 page form: Page 1 --> yes --> submit --> page 2 --> fill in the details --> submit --> blank page instead of the confirmation message

I'd like to get:
- an email with the details of page 2 --> recipients list: my email
- a confirmation message to the user of the sending
- an email to the sender with the details of page 2 --> in the action "email_sender" in data I put in Recipients list= {data:email} which is the field in which the user puts his email address in page 2.
healyhatman 10 Dec, 2018
Going to need a screenshot and maybe a debug, I suspect you've put the wrong event name in the submit to field of your Display Section action though. What does the URL on the blank page say
g.pierini 10 Dec, 2018
Hi! this is the link of the blank page and attached the screen of setup!

https://www.agenziastrappaghetti.com/pretesting-form-new?chronoform=pretesting-form&event=submit

Multipage form - Email image 1
g.pierini 10 Dec, 2018
here is the final part
healyhatman 10 Dec, 2018
If it's completely blank, nothing on the screen at all, there's probably a PHP error somewhere and you should turn on error reporting on your site,
g.pierini 10 Dec, 2018
Done, I don't get anything, the event in the url says submit, the action which should check for captcha etc.. is called submit_final, could be a hint to solve the problem?
g.pierini 10 Dec, 2018
I set another action for email and confirmation message which is separated and I can't upload here...
healyhatman 10 Dec, 2018
Put a debug action in after that event switcher. You'll probably find a mismatch between the values you've put in the event and the actual values set for the radio.
g.pierini 10 Dec, 2018
Here it is:

Array
(
    [chronoform] => pretesting-form
    [event] => submit
    [hai_adottato_un_libro_distribuito_dalla_nostra_agenzia] => S
    [button33] => 
    [073e2e89d4788cfcf8a00747a77b0ce6] => 69b720adecc9a52ed987e385debce98f
    [joomla_user_state] => logged_in
    [CookieConsent] => {stamp:'F8nRz2GJvIqljqscO5SNMGCFFEfMvXRNP/Avo/Wn154 5o LfYSFtA==',necessary:true,preferences:true,statistics:true,marketing:true,ver:1}
    [Itemid] => 763
    [option] => com_chronoforms6
    [view] => form
)
Array
(
)
healyhatman 11 Dec, 2018
[event] => submit

Like I said you haven't chan ged the submit event in your Display Section action.
healyhatman 11 Dec, 2018
Also pretty sure you can't have spaces in your event names.
g.pierini 11 Dec, 2018
Hi I didn' notice the event to change in the display action!

the form works perfectly now, do you know why I mustn't put as required the item in page 1? I put it as "requested" and at the submission I got the field on page 1, having deactivated it it works as expected, emails actions etc..
GreyHead 11 Dec, 2018
Hi g.pierini ,

Please check the demo multi-page form and make sure that you are calling the correct event in the Setup > Display Section > Event box.

Bob
This topic is locked and no more replies can be posted.