change of form action

Results 1 to 2 of 2

Thread: change of form action

  1. #1
    Join Date
    Dec 1969

    Default change of form action

    How can i change the action of one form when clicking different buttons of that form ?<BR><BR>Thanks.

  2. #2
    Marcel Haidon Guest

    Default RE: change of form action

    function form1_onsubmit() {<BR>// enter fields validation<BR> if (isNaN(form1.text1.value))<BR> {<BR> alert(&#039Claim nr. is not numeric&#039);<BR> form1.text1.value = &#039&#039;<BR> return(false);<BR> }<BR> form1.action = &#039prtpreview.asp&#039<BR>}<BR>

Posting Permissions

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