hi,
I am trying to redirect my form to another chronoform using redirect plugin
the url I used in Target url is index.php?option=com_chronocontact&chronoformname=direct?amount=700
It Gives me the error like
I tried by changing the url ? to & manually it works
like
index.php?option=com_chronocontact&chronoformname=direct&amount=700
Is there any option to pass the value in redirect plugin using the & symbol not by ?.
Regards,
Shoaib🙂
I am trying to redirect my form to another chronoform using redirect plugin
the url I used in Target url is index.php?option=com_chronocontact&chronoformname=direct?amount=700
It Gives me the error like
$_POST: Array ( [shoaib] => 800 [button_1] => Submit [79d5286ca2bb009c5c0d2793f1f068f9] => 1 [1cf1] => c50ebb0a50365bf2a75b944c8b659020 [chronoformname] => paypal1 )
There is no form with this name or may be the form is unpublished, Please check the form and the url and the form management
I tried by changing the url ? to & manually it works
like
index.php?option=com_chronocontact&chronoformname=direct&amount=700
Is there any option to pass the value in redirect plugin using the & symbol not by ?.
Regards,
Shoaib🙂
Hi shaoib,
Make the Target URL index.php - without any part of the query string. Then put the query string parameters with fixed values in the "Extra Fields data" box:
Bob
Make the Target URL index.php - without any part of the query string. Then put the query string parameters with fixed values in the "Extra Fields data" box:
option=com_chronocontact
chronoformname=direct
amount=700Bob
Hi Bob,
I am trying to redirect myform to paypal
using the the
I am trying to pass the value of amount from myform field text_11.
Is this right method or can u pl explain how to redirect to paypal using redirect plugin.
Regards,
Osmodels.
I am trying to redirect myform to paypal
using the the
<?php
$amount = JRequest::getVar('text_11', '', 'post');
$return = 'http://mysite.org';
header('Location: https://www.paypal.com/cgi-bin/webscr?cmd=_xclick&business=sample@sample.org&item_name=Donation¤cy_code=USD&amount='.$amount.'&return='.$return);
exit();
?>I am trying to pass the value of amount from myform field text_11.
Is this right method or can u pl explain how to redirect to paypal using redirect plugin.
Regards,
Osmodels.
Hi shoaib,
This will probably work when you have the code debugged. Personally I'd use the ReDirect plugin.
Bob
PS This is explained in more detail in Chapter 11 of The ChronoForms Book
This will probably work when you have the code debugged. Personally I'd use the ReDirect plugin.
Bob
PS This is explained in more detail in Chapter 11 of The ChronoForms Book
This topic is locked and no more replies can be posted.
