Greying Form Input Fields

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Rob Dixon

    Greying Form Input Fields

    Hi.

    Am I missing something, or is there no way of greying out
    irrelevant form fields on the basis of the contents of the
    rest of the form?

    Thanks,

    Rob



  • Ivan Marsh

    #2
    Re: Greying Form Input Fields

    On Thu, 03 Jul 2003 14:44:13 +0000, Rob Dixon wrote:
    [color=blue]
    > Hi.
    >
    > Am I missing something, or is there no way of greying out irrelevant form
    > fields on the basis of the contents of the rest of the form?
    >
    > Thanks,
    >
    > Rob[/color]

    I believe there is a DISABLED parameter in HTML for INPUT fields.

    --
    i.m.
    All views, opinions and alleged facts expressed by this tactless moron are
    protected by the constitution of the United States of America and should be
    taken as good natured and friendly unless specifically stated otherwise.

    Comment

    • Richard Cornford

      #3
      Re: Greying Form Input Fields

      "Ivan Marsh" <[email protected] w> wrote in message
      news:pan.2003.0 7.03.15.01.24.8 [email protected].. .[color=blue][color=green]
      >>Am I missing something, or is there no way of greying out
      >>irrelevant form fields on the basis of the contents of the
      >>rest of the form?[/color]
      >
      >I believe there is a DISABLED parameter in HTML for INPUT fields.[/color]

      And a corresponding boolean - disabled - property on each of the form
      elements in the DOM (except for Netscape 4 which does not understand
      disabled).

      Richard.
      --

      Example JavaScript DOM listings for: Opera 7.11,
      Mozilla 1.2 and ICEbrowser 5.4
      <URL: http://www.litotes.demon.co.uk/dom_root.html >


      Comment

      • Rob Dixon

        #4
        Re: Greying Form Input Fields

        Rob Dixon wrote:[color=blue]
        > Hi.
        >
        > Am I missing something, or is there no way of greying out
        > irrelevant form fields on the basis of the contents of the
        > rest of the form?
        >[/color]

        Ivan, Richard, thank you both. I thought it made sense that such
        a thing should exist.

        Cheers,

        Rob



        Comment

        Working...