Forums

Problem using form in joomla content

mibike 29 Feb, 2008
Hello.

I am having a problem getting my chronoforms to work through a joomla content page. Any help would be appreciated. I am working now on a simple Paypal donation integration for our non-profit.

The form works by itself. You can give it a try here: (just click the donate button)

But when I put it into a joomla static content page, using the chronoforms mambot, I get an error. You can try it out here: (again click the red donate button)

Within the conent page, I get an error from paypal:

The link you have used to enter the PayPal system is invalid. Please review the link and try again.

Again, any help would be appreciated.

What am I doing wrong?<br><br>Post edited by: GreyHead, at: 2008/03/01 11:49
Max_admin 01 Mar, 2008
Hi, Do you specify at PayPal which URL will be used to access the payment page ?
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
mibike 01 Mar, 2008

Hi, Do you specify at PayPal which URL will be used to access the payment page ?



No, I don't see where I would specify that at paypal. Like I say, the form works until I use it within some content. If I click on the direct link to the form, which I provided above, it works great. It's only after I try to stick that form into a page that it seems to have the error. It seems to be happening with other forms as well. Is there something in joomla that could be interferring with the form submit? I use a simple cgi script for form-mail that is coming up with an error also.
GreyHead 01 Mar, 2008
Hi mibike,

You have the Joomla Email cloaking mambot on, it only comes into effect on the content page and it turns the email address in the PayPal form into

<input type="hidden" value=" <script language='JavaScript' type='text/javascript'> <!-- var prefix = 'ma' + 'il' + 'to'; var path = 'hr' + 'ef' + '='; var addy41954 = 'info' + '@'; addy41954 = addy41954 + 'mibike' + '.' + 'org'; document.write( '<a ' + path + '\'' + prefix + ':' + addy41954 + '\'>' ); document.write( addy41954 ); document.write( '<\/a>' ); //-->\n </script><script language='JavaScript' type='text/javascript'> <!-- document.write( '<span style=\'display: none;\'>' ); //--> </script>This e-mail address is being protected from spam bots, you need JavaScript enabled to view it <script language='JavaScript' type='text/javascript'> <!-- document.write( '</' ); document.write( 'span>' ); //--> </script>" name="business"/>

instead of this

<input type="hidden" value="info@mibike.org" name="business"/>

Turn the mambot off and all will be well.

Bob<br><br>Post edited by: GreyHead, at: 2008/03/02 09:14
mibike 02 Mar, 2008
Isn't it embar[list]ass[/list]ing when it's the simplest of things, but such a relief that it's a simple fix. Thanks to you Bob for taking the time to figure out my little blunder. You are awesome.
GreyHead 02 Mar, 2008
Hi mibike,

No problem - it's easier to recogise once you've seen it a few times.

Bob
This topic is locked and no more replies can be posted.