Jump to content

[SOLVED] Disable a drop down, yet still have it post?


MichaelMackey

Recommended Posts

In my code occasionally a drop down will be preset for the user. What I've been doing is just selecting the desired choice and then disabling it, but this doesn't seem to work with the post option.

 

Is there a way to make a drop down read only?  Or something similar that can achieve what I want?

 

Thanks

A read only field will not send post data. Have a hidden field with the data you want to send.

 

Actually after trying this again, it IS letting me send readonly data as post.  Either way however it seems there isn't an option to set a drop down to readonly.

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.