Page 1 of 1

Ajax Multiple forms

Posted: Wed Nov 19, 2008 1:03 pm
by BrazilianMan
Hi there I'm a complete noob on PHP and what I'm trying to accomplish is to have a dropdown and when you pick an item on the dropdown the content below changes.

lets say that we have [webmaster - info - customer services - feedback] in the dropdown
depending on the option the form below should change. It's a email form and we are not storing any info in the DB

Thanks in advance

Re: Ajax Multiple forms

Posted: Wed Nov 19, 2008 3:34 pm
by andyhoneycutt
It doesn't necessarily sound as though what you're trying to accomplish should be done using AJAX. I would just write a simple javascript to toggle the visibility of say a div containing the form you wish the user to submit. Also, please, for future reference, post your questions in the proper forum as it helps people find answers to questions and questions to answer much more easily if they are neatly arranged.