The Midnighter Posted February 10, 2010 Share Posted February 10, 2010 Hi all, I've written a PHP script that allows my customers to contact me, this works great. I'd like to take this a step further, I'm trying to find a way to have a drop down menu select whom you'd like to contact, and in certain cases some fields would be added / removed. For example, I have a drop down menu with the following selections: Sales, Technical Support, Billing My Sales form would have different values (IE; What product are you inquiring about?) Where the Technical Support would have something more like "What is the specific problem?" I have been playing with JavaScript, and while I can place text in already created objects, I can't seem to figure out how to actually create objects on the fly. Please let me know Regards, TM What is the best way I can do this? Link to comment https://forums.phpfreaks.com/topic/191669-selecting-the-proper-form/ Share on other sites More sharing options...
sader Posted February 10, 2010 Share Posted February 10, 2010 search for baginners tutorial how to post simple form values with php Link to comment https://forums.phpfreaks.com/topic/191669-selecting-the-proper-form/#findComment-1010332 Share on other sites More sharing options...
sunburned Posted February 10, 2010 Share Posted February 10, 2010 You are done with this I am sure. You might just need to approach this from a diffrent perspective. Look at your design and the way you are app customer. Use a menu feature, instead of trying to bridge from one topic to another. Who would you like to speak with.... Sales---/product one/ product two/ Tech Support-----/product one/ product two Customer Service -----email/telephone You can try Dynamicdrive.com for the diffrent menu's, there is a ton there that will do what you need. Once the customer decides what level of support an product they are looking for, you link them to that form. Then that form feeds into your database. Link to comment https://forums.phpfreaks.com/topic/191669-selecting-the-proper-form/#findComment-1010336 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.