Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Re: Zem_Contact_Reborn submitting with AJAX
- I am Squared Eye and I
am launchinghave launched Pattern Tap
Offline
Re: Zem_Contact_Reborn submitting with AJAX
Thanks Matthew and Patrick for this but I still can’t seem to get it to work; I have followed your tute from the link above but cannot quite figure it all out.
Here’s where I’m at:
- I have my usual page with the contact form in it (content from a presentations form)
- I have made a new section named ajax and created a page that calls the contact presentation form.
- I have included the relevant javascript in my headers – I am using the latest jQuery from Google’s CDN.
- I do see the loading animation but it just goes on forever
What else is there? Please help.
Alternatively, is there another, better way to make an ajax form in TXP
Many Thanks
Admin Themes Prometheus | Stung | <txp:coder/
My Portfolio | ɹǝpuɐz.com | @MrMartineau
<txp:coder /> – Convert your designs into Textpattern-based websites
jQuery Style | @jquerystyle
Offline
Re: Zem_Contact_Reborn submitting with AJAX
bump..
Admin Themes Prometheus | Stung | <txp:coder/
My Portfolio | ɹǝpuɐz.com | @MrMartineau
<txp:coder /> – Convert your designs into Textpattern-based websites
jQuery Style | @jquerystyle
Offline
Re: Zem_Contact_Reborn submitting with AJAX
Zander, do you have firebug?
If so you can see what comes back from the ajax call in the console. Make sure that the request is not generating an error for some reason (404, or 500). The script only updates on a Succesful response, so if the /ajax/ errors the progress indicator will just be there forever.
It should really do something on failure (like submit the form normally or something), but we didn’t need that at the time.
Shoving is the answer – pusher robot
Offline
Re: Zem_Contact_Reborn submitting with AJAX
I do have Firebug and I think it was an issue with an incorrect path and the fact that I’m still on a local MAMP test server, because I do not get any form content sent to me. I can only assume that this is the reason. I will post back if it’s not.
Admin Themes Prometheus | Stung | <txp:coder/
My Portfolio | ɹǝpuɐz.com | @MrMartineau
<txp:coder /> – Convert your designs into Textpattern-based websites
jQuery Style | @jquerystyle
Offline