Jump to content

form query


kadamsurekha

Recommended Posts

hello friends!

i have a web page with options as

from:

to:

sub:

message Type:

 

next to from, to, sub  there r textboxes to enter the relevant data.

 

message type is a drop down list with 2 options "plainmessages" and "offers"

 

when i select the message type i want based on that the next form elements to open not before that.

i mean when i select  offers from the message type drop down list i want :

 

itemname:

price:

location:

description:

 

with textboxes to enter the data for them.

 

if i select "plainmessage" only one textarea should open to type my message.

 

how can i do it? can i do it using php code or i need ajax javascript to use??

 

thx n regards

Link to comment
https://forums.phpfreaks.com/topic/43137-form-query/
Share on other sites

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.