Hi,
I have attached the complete html codeing, i'm not quite sure on how to get this to work within Chronoform, this html coding already works with Paypal, just need to implement into Chronoforms.
Thanks in advance,
Deon [file name=uk_paypal.txt size=5647]http://www.chronoengine.com/components/com_fireboard/uploaded/files/uk_paypal.txt[/file]
I have attached the complete html codeing, i'm not quite sure on how to get this to work within Chronoform, this html coding already works with Paypal, just need to implement into Chronoforms.
Thanks in advance,
Deon [file name=uk_paypal.txt size=5647]http://www.chronoengine.com/components/com_fireboard/uploaded/files/uk_paypal.txt[/file]
Hi Deon,
I think that this should be possible to drop into ChronoForms. I did notice though that the Form action includes onsubmit="this.target='paypal' . . ." and this doesn't seem to be referenced anywhere? Perhaps it's unimportatn but I thought I'd ask?
Bob
I think that this should be possible to drop into ChronoForms. I did notice though that the Form action includes onsubmit="this.target='paypal' . . ." and this doesn't seem to be referenced anywhere? Perhaps it's unimportatn but I thought I'd ask?
Bob
Dear Bob
Im not too sure about the onsubmit="this.target='paypal' as this is how i received the form.
I have changed the form slightly & inserted into the Chronoform, however when i click on "order now" a window pops up & says "The webpage you are viewing is trying to close the tab" if you select Yes is should take you to the paypal processing page, but it just closes the website.
If you load the html order form outside of the CMS is redirects to Paypal 7 works.
The page in CMS: http://www.staminafit.eu/index.php?option=com_chronocontact&chronoformname=uk-paypal
The page outside CMS: http://www.staminafit.eu/test/uk-paypal.html
Please advise on how to get this to redirect to Paypal from Chronoforms.
Kind Regards,
Deon
Im not too sure about the onsubmit="this.target='paypal' as this is how i received the form.
I have changed the form slightly & inserted into the Chronoform, however when i click on "order now" a window pops up & says "The webpage you are viewing is trying to close the tab" if you select Yes is should take you to the paypal processing page, but it just closes the website.
If you load the html order form outside of the CMS is redirects to Paypal 7 works.
The page in CMS: http://www.staminafit.eu/index.php?option=com_chronocontact&chronoformname=uk-paypal
The page outside CMS: http://www.staminafit.eu/test/uk-paypal.html
Please advise on how to get this to redirect to Paypal from Chronoforms.
Kind Regards,
Deon
Hi Deon,
I use Firefox 2, both pages get closed once I click the order now button, the CMS page has an error, the onload tag at the body tag has a function called get_random which is not defined.
Max
I use Firefox 2, both pages get closed once I click the order now button, the CMS page has an error, the onload tag at the body tag has a function called get_random which is not defined.
Max
Dear Max
The Code:
<body onload="get_random()">
This generates a random order number in the order form, it was added to the template main file index.php, in the body tag.
It seems to work. - Do you have any advice on how to fix this error?
I have tried The page in CMS: http://www.staminafit.eu/index.php?option=com_chronocontact&chronoformname=uk-paypal
But it does not redirect to Paypal, am i doing something wrong?
Kind Regards,
Deon
The Code:
<body onload="get_random()">
This generates a random order number in the order form, it was added to the template main file index.php, in the body tag.
It seems to work. - Do you have any advice on how to fix this error?
I have tried The page in CMS: http://www.staminafit.eu/index.php?option=com_chronocontact&chronoformname=uk-paypal
But it does not redirect to Paypal, am i doing something wrong?
Kind Regards,
Deon
Hi Deon,
I spent some time looking at this form yesterday and again today but there's so much going on that it's hard to pin down the errors.
As Max said, you have a get_random call in the <body> tag that isn't defined. (You also have two <body> tags which probably isn't helping.)
You have the calculation JavaScript running on the Radio buttons, but there is no visible output to see if they are working. I think the code is just there to copy the amount into th hidden field but I'm not sure about that.
The biggest problem seems to be to identify the form to the JavaScript so that Read Form actually runs from ChronoForms. My JavaScript is very basic but I think you may need to add a form ID to do this.
I'd suggest that you make a much simpler version of the form code to use for development - take out all the cruft, bells and whistles. Get it working in basic form then add stuff back in step by step.
Sorry not to be more help.
Bob
I spent some time looking at this form yesterday and again today but there's so much going on that it's hard to pin down the errors.
As Max said, you have a get_random call in the <body> tag that isn't defined. (You also have two <body> tags which probably isn't helping.)
You have the calculation JavaScript running on the Radio buttons, but there is no visible output to see if they are working. I think the code is just there to copy the amount into th hidden field but I'm not sure about that.
The biggest problem seems to be to identify the form to the JavaScript so that Read Form actually runs from ChronoForms. My JavaScript is very basic but I think you may need to add a form ID to do this.
I'd suggest that you make a much simpler version of the form code to use for development - take out all the cruft, bells and whistles. Get it working in basic form then add stuff back in step by step.
Sorry not to be more help.
Bob
Hi Deon,
Regardless of any other issues, when I click the buy now button, your page gets closed!!! why ?
Max
Regardless of any other issues, when I click the buy now button, your page gets closed!!! why ?
Max
Hi Max
This form was taken from the clients previous website, it seems there are just too many problems, i think it will be a better idea to just create a new form.
Regards,
Deon
This form was taken from the clients previous website, it seems there are just too many problems, i think it will be a better idea to just create a new form.
Regards,
Deon
Ok Deon, just make sure it doesn't get closed on click at the normal HTML and it wont do this at ChronoForms too, when I tested it before it was closing anywhere!!
Cheers
Max
Cheers
Max
This topic is locked and no more replies can be posted.