Form Validation Pasting problem

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

    Form Validation Pasting problem

    Hi,

    I will code a form valiation in javascript on one page and it will
    work great, but when i paste it into another document even though ALL
    the fields are correct it won't even work. unless i type it all over
    again. I am using the VI editor, does anyone know of a good way to
    transfer your scripts from one page to the other or something that
    will parse my javascript to see if it is all right.


    thanks,


    Paul
  • swp

    #2
    Re: Form Validation Pasting problem

    pyuergens@hotma il.com (pdy1013) wrote in message news:<616345b3. 0306301747.7d86 119f@posting.go ogle.com>...[color=blue]
    > Hi,
    >
    > I will code a form valiation in javascript on one page and it will
    > work great, but when i paste it into another document even though ALL
    > the fields are correct it won't even work. unless i type it all over
    > again. I am using the VI editor, does anyone know of a good way to
    > transfer your scripts from one page to the other or something that
    > will parse my javascript to see if it is all right.
    >
    > thanks,
    >
    > Paul[/color]

    is there a particular reason you are not putting the script into an
    include file and using that same include file when needed?

    <script language="JavaS cript"
    src="MyJavaScri ptCodeIsInHere. js"></script>

    swp

    Comment

    Working...