2 Replies Latest reply on May 8, 2006 10:32 AM by Newsgroup_User

    from validation

    pellio Level 1
      i have created a form in dreamweaver and have used javascript behaviours to detect whether feilds are filled out correctly,e.g name filled out,valid email address.iv got this working but is there any way of customising the message in the window thta pops up?

      right now it would say:

      the following error(s) occured:
      -name is required
      -email is required

      id like to say:

      the following fields have not been completed correctly:
      name-this field must be completed

      etc
        • 1. Re: from validation
          Level 7
          Go here - http://www.yaromat.com
          Get - Validate Form Extension....

          Just be aware that this validation is CLIENT-SIDE only, and will fail on any
          non-javascript enabled browser.

          --
          Murray --- ICQ 71997575
          Adobe Community Expert
          (If you *MUST* email me, don't LAUGH when you do so!)
          ==================
          http://www.dreamweavermx-templates.com - Template Triage!
          http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
          http://www.dwfaq.com - DW FAQs, Tutorials & Resources
          http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
          ==================


          "pellio" <webforumsuser@macromedia.com> wrote in message
          news:e3nk53$kfb$1@forums.macromedia.com...
          >i have created a form in dreamweaver and have used javascript behaviours to
          > detect whether feilds are filled out correctly,e.g name filled out,valid
          > email
          > address.iv got this working but is there any way of customising the
          > message in
          > the window thta pops up?
          >
          > right now it would say:
          >
          > the following error(s) occured:
          > -name is required
          > -email is required
          >
          > id like to say:
          >
          > the following fields have not been completed correctly:
          > name-this field must be completed
          >
          > etc
          >
          >


          • 2. Re: from validation
            Level 7
            pellio wrote:

            > i have created a form in dreamweaver and have used javascript behaviours to
            > detect whether feilds are filled out correctly,e.g name filled out,valid email
            > address.iv got this working but is there any way of customising the message in
            > the window thta pops up?
            >
            > right now it would say:
            >
            > the following error(s) occured:
            > -name is required
            > -email is required
            >
            > id like to say:
            >
            > the following fields have not been completed correctly:
            > name-this field must be completed
            >

            Look for the string(s) you want to replace in mm_validate() function
            definition, and replace it(them) with yours.
            Mick