Creating "Unedit-able" Text Boxes in Forms

Results 1 to 3 of 3

Thread: Creating "Unedit-able" Text Boxes in Forms

  1. #1
    J Scott Guest

    Default Creating "Unedit-able" Text Boxes in Forms

    Is there a way to fill a text box (in a form) with text, and set a parameter so that users could not edit the text box&#039s contents? <BR>Something along the lines of <BR><BR>&#060;input type=text value="Hi There!" user_access=forbidden&#062; <BR><BR>would do nicely. However, "user_access" is not any parameter that I&#039ve ever heard of.<BR><BR>Thanks in advance,<BR><BR>J Scott

  2. #2
    Ed Guest

    Default RE: Creating

    I believe you can do this with IE 4.0 and up by using the tag: READONLY<BR><BR>&#060;INPUT TYPE="TEXT" NAME="txtName" VALUE="Ed" READONLY&#062;

  3. #3
    Olivier Guest

    Default RE: Creating

    &#060;input type="text" name="txtname" value="ed" onFocus="this.blur()"&#062;<BR>This little Javascript will do.

Posting Permissions

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