Disable Text Fields

Results 1 to 3 of 3

Thread: Disable Text Fields

  1. #1
    Join Date
    Dec 1969

    Default Disable Text Fields

    If I disable all the text fields in edit mode, and want to bring up the name of the person I want to delete using request.form("staffname"). I don&#039;t see thing unless I enabled that field. Can I do this without enabled that field?<BR><BR>TIA<BR>

  2. #2
    Join Date
    Dec 1969

    Default RE: Disable Text Fields

    i don&#039;t think form elements that are disabled are passed to the next page. if you need the value, use a hidden form field with the same value as the text field. alternatively, you can use the "readonly" flag on the text field instead of "disabled"

  3. #3
    Join Date
    Dec 1969

    Default Correct, but...

    ...be aware that some older browsers (NS 4.x in particular) do not support either READONLY or DISABLED. If you care about such browsers, you&#039;ll have to use some JS coding to keep people from mucking with them.<BR><BR>

Posting Permissions

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