Jump to content

Selecting the proper form


The Midnighter

Recommended Posts

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

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. 

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.