Click to See Complete Forum and Search --> : Feedback form using Ajax


fai_hasan
05-01-2006, 01:05 AM
I need to make a feedback form using Ajax in my PHP website for the coursework.

I just want three options. Name, Email id and Comment.

i want to check the email id and name as well.

don't know how to do it with ajax.

Can anyone help please?

MarkR
05-01-2006, 05:57 AM
This is a pretty useless case of Ajax. Normally when you make an Ajax application it's because the client and server need to communicate without submitting the form. Examples:

- Google suggest
- Something where you have to select a username, it checks that it's not already taken - the client side cannot do this.
- A hierarchical drop-down list or "expanding tree" where loading the entire data set into the client side is impractical.

Go and look up some Ajax references - but I think you should point out to your teacher what a waste of time it is for a contact form. There is no validation of the form that can't be done easily on the client side.

Mark

Shrike
05-01-2006, 09:05 AM
Also asking someone else to do your coursework kinda defeats the purpose of you being on the course.

fai_hasan
05-01-2006, 09:07 AM
i was just asking for help :(

bogu
05-01-2006, 09:27 AM
i was just asking for help :(
But it didn't look like you have ever tried for your self, at least an example of your work and the problem u encounter, and about ajax u can find a lot of examples on the internet, u just need to take o few hours of your free time and search google or this forum, read 5 min. each article u find and u can find out how ajax is working and if u need it into your script...