Forums

Confirmation page doesn't show anything

Markgoessens 24 Aug, 2011
Hi,

I'm using ChronoForms v4 at joomla 1.6
My form works perfect with these simple settings in the event tab.



But actually I want to build in a conformation page before sending an e-mail/save in db/show thanks message.
But when I'm doing this (like the picture below)
No information shows up at the confirmation page (only submit and cancel)
When I press submit a blank form shows up in my e-mail and database. When I press cancel, nothing is filled in anymore

To do this I followed the thread of greyhead here: http://www.chronoengine.com/forums/index.php?option=com_chronoforums&cont=posts&f=2&t=22962
But this isn't working.
Am I doing something wrong? Do I have to set-up the session to data etc. events?

Max_admin 24 Aug, 2011
Hi,

After the "Session to data" in the "on confirm" please add a "debugger" action and show us what you get.

Regards,
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
Markgoessens 24 Aug, 2011
Hi Max,

Thanks for you quick reply. I don't know if the debug information gives you the right information, but here it is.
You see that the curl tags aren't filled in, but he do sends an e-mail. But without the information.

Greets, Mark


Debug Data
An email has been SENT successfully from () to *covered*
Email template:


Onderstaande persoon heeft het deelnameformulier ingevuld:
{achternaam}
Voorletters:
{voorletters}
Postcode:
{postcode}
E-mailadres:
{email}
Telefoonnummer:
{telefoon}
Geslacht:
{geslacht}
Leeftijd:
{leeftijd}
Hoogst genoten opleiding:
{opleiding}
Voorkeurshand:
{hand}
Bereid om naar Amsterdam te komen?:
{reizen}
Voorkeursproject:
{voorkeur}
Bedankt voor het invullen van het deelnameformulier. Wij nemen zo spoedig mogelijk contact met u op.
Max_admin 24 Aug, 2011
Hi Mark,

Please edit your post and edit/remove your email address from there so you don't get spammed!🙂

I see, the debugger in RC1.9 didn't have the form->data array output, instead of the debugger please use this code in a custom code action after the "Session to data" and show me the output:


<?php print_r2($form->data); ?>


Regards,
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
Markgoessens 25 Aug, 2011
Hello Max,

Now it looks like the code is a bit more specific...but short🙂

Here it is:

Array
(
    [confirmation_page] => _confirm
    [event] => submit
    [Itemid] => 151
    [option] => com_chronoforms
    [view] => form
)
Bedankt voor het invullen van het deelnameformulier. Wij nemen zo spoedig mogelijk contact met u op.


This code was in the custom code mode: view.
The next code is in the custum code mode: controller:

Array
(
    [confirmation_page] => _confirm
    [event] => submit
    [Itemid] => 151
    [option] => com_chronoforms
    [view] => form
    [chronoform_data] => Array
        (
            [cf_uid] => e764f2a90fc88273db5c9cd8361103bf
            [cf_created] => 2011-08-25 09:32:47
            [cf_ipaddress] => 92.66.135.82
            [cf_user_id] => 0
            [confirmation_page] => _confirm
            [event] => submit
            [Itemid] => 151
            [option] => com_chronoforms
            [view] => form
            [cf_id] => 6
        )

    [chronoform_data_cf_id] => 6
)
Bedankt voor het invullen van het deelnameformulier. Wij nemen zo spoedig mogelijk contact met u op.


Greets Mark
Max_admin 25 Aug, 2011
Hi Mark,

The "Data to Session" should be inside the "On Show" event of the "Confirmation page" plugin🙂

Because as you have it now, the session data is overwritten by empty one when you submit the confirmation page and before you reach the "on confirm" event processing.

Regards,
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
Markgoessens 29 Aug, 2011
Hi Max,

Thanks for your reply. I've moved the 'data to session' and now the mail is filled at the right way.
But chronoforms still doesn't shows the information on the confirmation page.

This is the last debugger code:

Array
(
    [cf_uid] => d7541a2dde121faecf24c4e69ef6bd03
    [cf_created] => 2011-08-29 13:15:03
    [cf_ipaddress] => 92.66.135.82
    [cf_user_id] => 0
    [confirmation_page] => _confirm
    [event] => submit
    [Itemid] => 151
    [option] => com_chronoforms
    [view] => form
    [achternaam] => Goessens
    [voorletters] => MPTO
    [postcode] => 43214
    [email] => Mark@mail.com
    [telefoonnummer] => 063452435
    [geslacht] => Man
    [leeftijd] => 26
    [opleiding] => fdgsdfdg
    [hand] => dfsgh
    [reizen] => No
    [voorkeur] => Project Z 
    [input_submit_15] => Versturen
    [a246648232bbec1e0833aaf65f6221c0] => 1
    [chronoform_data] => Array
        (
            [cf_uid] => d7541a2dde121faecf24c4e69ef6bd03
            [cf_created] => 2011-08-29 13:15:03
            [cf_ipaddress] => 92.66.135.82
            [cf_user_id] => 0
            [confirmation_page] => _confirm
            [event] => submit
            [Itemid] => 151
            [option] => com_chronoforms
            [view] => form
            [achternaam] => Goessens
            [voorletters] => MPTO
            [postcode] => 43214
            [email] => Mark@mail.com
            [telefoonnummer] => 063452435
            [geslacht] => Man
            [leeftijd] => 26
            [opleiding] => fdgsdfdg
            [hand] => dfsgh
            [reizen] => No
            [voorkeur] => Project Z 
            [input_submit_15] => Versturen
            [a246648232bbec1e0833aaf65f6221c0] => 1
            [cf_id] => 7
        )

    [chronoform_data_cf_id] => 7
)
Max_admin 30 Aug, 2011
Hi Mark,

Please show me your confirmation page code then, because this works fine here without any changes.

Regards,
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
Markgoessens 30 Aug, 2011

Hi Mark,

Please show me your confirmation page code then, because this works fine here without any changes.

Regards,
Max

Markgoessens 30 Aug, 2011
Hi Max,

Oh stupid me. By reading your reply I directly knew what the problem was.
I made this a lot times to solve my problem (trying to). The last time I made this form, I forgot the make the confirmation page code.
And that was the problem.

Now I filled in the confirmation code and the forms works perfect!
So Max, thanks for your help. The problem is solved for me, so this topic can be closed now.
This topic is locked and no more replies can be posted.