Ask a Question related to ASP, Design and Development.

  1. #1

    Default Re: form action

    What does "doesn't seem to work" mean?

    (asp.general removed from x-post list)




    "rOadhOg" <roadhog@nospam.phreaker.net> wrote in message
    news:e2tnz#xRDHA.2008@TK2MSFTNGP11.phx.gbl...
    > That doesn't seem to work in my environment?

    Aaron Bertrand - MVP Guest

  2. Similar Questions and Discussions

    1. Multi-action form
      Hi, I have a form on my website which has two buttons - edit and delete. I want the edit button to take the user to edit_record.php where they can...
    2. CF submit form action
      hi. I have a site that uses a form for visitors to request information. when the SUBMIT button is clicked, the page returns to the home page... I...
    3. Form action problem
      Trying to fix a web site I inherited. Problem is with the *help* page. User fills out form and hits send. The browser comes back with Error...
    4. Form action not recognized
      Hello I am running Windows XP Pro with IIS 5.1 intalled. When I submit a page to itself, it works. When I call another page in the form action,...
    5. Double action from an ASP form
      Thank you for your patience and courtesy. I have some text and the "Submit" button, pressing which I do something useful. When the form is finished...
  3. #2

    Default Re: form action


    <form action="topl.asp" method="get" onsubmit="return checkForm()">
    <input type="hidden" name="UID" value="User127" />
    <input type="hidden" name="Password" value="123xyz" />
    <input type="submit" value="Submit" />
    </form>
    <script>
    function checkForm()
    {

    if (everything ok)
    {return true;}
    else
    {return false;}
    }
    </script>

    "rOadhOg" <roadhog@nospam.phreaker.net> wrote in message
    news:umDvaxxRDHA.2144@TK2MSFTNGP11.phx.gbl...
    > I have the following simple form:
    >
    > <form action="topl.asp" method="get">
    > <input type="hidden" name="UID" value="User127" />
    > <input type="hidden" name="Password" value="123xyz" />
    > <input type="submit" value="Submit" />
    > </form>
    >
    > Is there a way when Submit button is clicked, I can have a predefined
    > function run before passing values to topl.asp page?
    >
    > I am stumped.....
    >
    > rh
    >
    >

    Dhananjay Modak Guest

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139