Results 1 to 3 of 3

Thread: form

  1. #1
    Join Date
    Dec 1969

    Default form

    can a form has multiple submit buttons...<BR>I have a form with two buttons that need to do 2 differnet js validation and then submit the page to two differnet asp pages <BR><BR>any how can I do it

  2. #2
    Join Date
    Dec 1969
    Los Angeles, CA

    Default RE: form

    Why nto just call diff functions in the onclick event for each of them<BR><BR><BR><BR>

  3. #3
    dinas Guest

    Default RE: form

    yes u can have two submit buttons but in ur sutiation <BR>u want 2 differnt JS validations u cant have have two submit buttons becuse the when the button is clicked the form is submitten<BR><BR>so what u do is have two odinary buttons <BR>and call the resective functions form the onClick event of the button and in the last line of the js function <BR>chage the action of the form tag <BR>ex<BR>document.frmname.action = " "<BR>document.frmname.submit

Posting Permissions

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