Forums

Confirmation and Redirect

omidhz 21 Feb, 2010
Hi,
I desined my form that redirects data to PayPal using redirect plugin for processing payment. Everything works perfect (i.e: submit button on the form redirects user to PayPal).

Now, I like to enable the confirmation page. I enabled it in the plug-in tab and moved it to position#1 (redirect is in position #2). And then I created the confirmation page using the confirmation plugin. When I test my form, the Submit button on the form page does not do anything. What am I doing wrong?
GreyHead 21 Feb, 2010
Hi omidhz,

No idea, sorry. Can you post a link to the form?

Bob
platipalapi 28 Mar, 2010
i have the same problem...
when activating both plugins at the same time, i do land on the confirmation page when submitting my form, but when clicking on the confirm button, it doesn't redirect me to paypal.
i just land on my site but with empty content...
platipalapi 28 Mar, 2010
i've tried to disable just the confirm page plugin : the redirect plugin works fine.
so it seems these two plugins are incompatible...
GreyHead 29 Mar, 2010
Hi platipalapi,

The Conformation page plugin has some problems but I would expect it to work here :-(

You may need to check that the ReDirect Plugin is set to run after the Confirmation Page plugin.

Bob
platipalapi 29 Mar, 2010
how do i do that ? if it's about the order which they are listed in, the redirect plugin is way below the confirmation plugin! (confirm page is in position #4, redirect in #13)
GreyHead 30 Mar, 2010
Hi platipalapi,

Then you may well be correct that the two plugins are not compatible.

Bob
platipalapi 30 Mar, 2010
that's too bad 🙄

anwyways, i've found a way around this. I'll share how i did it if it can help anyone else.
I just used the multipage plugin, and so creating 2 forms : the first form is the actual form i want users to fill, and the second form, that is indeed the confirmation page.

i've found something interesting : you can't recall the fields in the second form (if you put {field1}, {field2}, these are just displayed as plain text, not replaced by the actual value of the feild).
But you can still show the information that the user submittend on this page : just place your code in the Onsubmit code boxes of the first form : it'll actually display the information above the second form.

Then on the mother form you set the redirect plugin -> it works.
GreyHead 30 Mar, 2010
Hi platipalapi,

That's a neat solution. Very nice.

ChronoForms carries the information forward in the $posted array it my memory is correct so you can use <?php echo $posted['name']; ?>

Bob
platipalapi 30 Mar, 2010
that's another solution indeed.
though right now my form is working and i like how it is currently. if i'd choose your solution i'd have to replace all the fields and since there is quite a lot of them, i'm just too lazy😛

i also found something else, if anyone happend to rack they brain on it, it's a strange bug :
while i was messing with my forms, testing it by fillin hundreds of forms, i've found easier to deactivate the antispam check (makes the tests a lot easier o_o);
but originally i was using a simple form with a confirmation page. Then i changed to a multipage form, and continued my tests. When i was satisfied, i wanted to reactivate the anti-spam validation but it just wouldn't work. I had anti-spam activated in the antispam tab of the form, the image was displayed correctly, but you could just leave the field blank, you could go through and submit the form.

the issue was that, the redirect plugin has a field for you to indicate the "submit button" name.
So, in the last child form (the confirmation page for me), you'd feel inclined to name your final submit button according to that value.
Don't ! Actually, that was what messed up the anti-spam check.
I think this is due to the fact that if the button name matches what's in "submit button" field of the redirect plugin, the redirect is made right before the form can perform the anti-spam check.
This topic is locked and no more replies can be posted.