Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to disable form element while still allowing it to work?

Status
Not open for further replies.

JGKWORK

IS-IT--Management
Apr 1, 2003
342
GB
Hi,

Can someone show me how to disable form elements so that a user cannot change e.g. text or dropdown options BUT while still allowing the form element data to be submitted?

I have tried simply adding "disabled" to the form element but this stops the element from submitting its data.

Many thanks.
 

Sorry just spotted the read only solution a few posts below!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top