Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New Coder
    Join Date
    Dec 2004
    Posts
    26
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Checking the field and adding the values in the difefrent page

    Hi need help checking the validation and then submitting the values?
    to different field on the different page of the portal? please help.

  • #2
    New to the CF scene
    Join Date
    Dec 2004
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts
    you can do something like that

    <script language="JavaScript">

    function Validate(theForm) {
    //validate if txt has values
    if(theForm.txt.value=="" )){
    alert("Is empty");
    theForm.txt.focus();
    return (false);
    }
    return (true);
    }

    </script>
    <body>
    <form action="page" method="POST" onsubmit="return Validate(this)" name="Validator">
    Insert Value:<Input Type="text" Name="txt">
    <INPUT TYPE="submit" NAME="test" VALUE="Test">
    </form>
    </body>

  • #3
    New Coder
    Join Date
    Dec 2004
    Posts
    26
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Hi thx for replying .
    What I am looking for is when a item which is a checked box is checked rest of the field values entered should be added to a different pop window which has all those fields and saved in a different name.
    Last edited by tinku; 12-17-2004 at 06:34 PM.


  •  

    Posting Permissions

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