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 Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Display fields

Status
Not open for further replies.

Gatorajc

MIS
Mar 1, 2002
423
US
One of the engineers that we are helping sent this comment back to me about one of the pages we submited to hime. I usually work with ASP and Input text fields work fine. So I am a little confused.

Can someone please explain to me what the difference is.

"Needs to have display fields and not input text fields." AJ
I would lose my head if it wasn't attached. [roll1]
 
I presume this means that they want the field read only so the user can't edit the field contents.

Add
Code:
readonly
or
Code:
disabled
to your input tags to achieve this.
 
you can also add some style to the text box's to take away from the input feel to them.
example
<input type=&quot;text&quot; style=&quot;border:none;background-color:#ffffff;&quot; readonly> A language that doesn't affect the way you think about programming is not worth knowing.
admin@onpntwebdesigns.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top