Poll
Has Hilco abandoned this site?
Yes?
50%
No?
17%
I can't tell!
33%
Total votes: 6
- Login to post comments
- Older polls
User login
Recent comments
- php to update prices
1 year 4 weeks ago - I suggest you create a php
1 year 4 weeks ago - If you don't know much about
1 year 10 weeks ago - Hi Hilco
1 year 11 weeks ago - Hi Kha,
1 year 11 weeks ago - this should
1 year 16 weeks ago - Hi!
Well, there's not much
1 year 18 weeks ago - Have a look at the $_POST
1 year 19 weeks ago - Thanks Tony
1 year 19 weeks ago - 1) No, never use the same ID
1 year 20 weeks ago
New forum topics
Active forum topics
Who's new
Ajax contac form
- Login to post comments
Tue, 11/25/2008 - 10:28
Hello Hilco,
as a training request I would suggest an e-mail contactform (simple: name, phonenumber, e-mailadres) with mootools. That's the javascript library that is used in Joomla, so that's also why I ask it.
Thanks.
Greetings,
Ton van der Helm

Hi Ton,
Take a look here:
http://www.artviper.eu/mootoolssecureform/
and here:
http://www.roscripts.com/AJAX_contact_form-144.html
Personally, I'm not too much of a fan of Ajax when it's not needed.
There's a contact form available in SCMS that uses solely PHP. You can copy/paste the form from the file frontend.php in the contact module folder.
User interaction is the subject here, people are used to press submit after they completed the form. So for a contact form I think it's not really necessary to use Ajax. And just because you can, it doesn't mean you should use a particular technique
Is there any specific reason you need Ajax? If the goal is to let people contact the website owner, you are fine using the built-in contact module from Joomla.
On the other hand, for example when you make a registration page and the user has to pick a username, I think it really helps the user to tell them if the username is available or not before pressing submit. It depends on the situation and what you want to do with it.