Hi,
I created a form in which I want to send 1 data field to another Chronoform, and send the rest of the field by email and also save in DB table all the same time.
it appears if Redirect URL is used, the 1 field is is not passed to the second form.
And if Submit URL: is used, no emails are sent and no data is saved to a DB table.
It looks like the answer is no. Is there a work-around.
advice appreciated,
Mark
I created a form in which I want to send 1 data field to another Chronoform, and send the rest of the field by email and also save in DB table all the same time.
it appears if Redirect URL is used, the 1 field is is not passed to the second form.
And if Submit URL: is used, no emails are sent and no data is saved to a DB table.
It looks like the answer is no. Is there a work-around.
advice appreciated,
Mark
Hi Mark,
The 'static' ReDirect URL is fixed and so your variable is not included. You can though add a snippet into one of the OnSubmit Code boxes:
Bob
The 'static' ReDirect URL is fixed and so your variable is not included. You can though add a snippet into one of the OnSubmit Code boxes:
<?php
$some_value = JRequest::getString('some_value', 'default_value', 'post');
$myForm->formrow->redirecturl .= '&var_name='.$some_value;
?>
Bob
Thank you for the reply.
Redirect worked very nicely - except when using SSL, IE throws a security warning because it's a redirect. Is there a way to enter an OnSubmit URL in the General Settings and still collect the form data through Chronoforms?
Otherwise it looks like the alternative is make the data collection form an intermediate step. Have that submit to a confirmation page, which then can be submitted directly to the hosted payment gateway. (neglected to mention this is a payment process).
Mark
Redirect worked very nicely - except when using SSL, IE throws a security warning because it's a redirect. Is there a way to enter an OnSubmit URL in the General Settings and still collect the form data through Chronoforms?
Otherwise it looks like the alternative is make the data collection form an intermediate step. Have that submit to a confirmation page, which then can be submitted directly to the hosted payment gateway. (neglected to mention this is a payment process).
Mark
Hi Mark,
What info are you trying to pass here? You can set the ReDirect URL to have https://
Bob
Is there a way to enter an OnSubmit URL in the General Settings and still collect the form data through Chronoforms?
No, I'm afraid not. If you use the OnSubmit URL ChronoForms never sees the results and can do nothing with themWhat info are you trying to pass here? You can set the ReDirect URL to have https://
Bob
Bob,
I did set HTTPS: Think the issue is that the action is mysite.com, while the redirect points to payment-gateway.com. So IE (at least 8.0) sees it as a sneaky redirect.
thanks,
Mark
I did set HTTPS: Think the issue is that the action is mysite.com, while the redirect points to payment-gateway.com. So IE (at least 8.0) sees it as a sneaky redirect.
thanks,
Mark
This topic is locked and no more replies can be posted.