Form Field

Results 1 to 3 of 3

Thread: Form Field

  1. #1
    Nathan Masek Guest

    Default Form Field

    How can I make a form field that has text in it but cannot be changed?<BR><BR>- Thank You<BR>- Nathan Masek

  2. #2
    Join Date
    Dec 1969

    Default READ ME

    &#060;input type="text" value="&#060;% = rsWhatever %&#062;" readonly&#062;<BR><BR><BR>mj

  3. #3
    Mike Shaffer Guest

    Default CAREFUL!

    That only works in IE, not Netscape/Opera/etc.<BR><BR>You can use the OnFocus event to remove focus, e.g.<BR><BR>&lt;input type="text" name="whatever" value="blahblah" onfocus="this.blur();"&gt;<BR><BR>Also, instead of showing an actual textbox, you could display a small table with a border value of "1". This kinda-sorta&#039; simulates a textbox but obviously could never be anything but read-only to the end-user. ;-)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts