Skip to content

Multiple Submit button

I just wrote an engine and got stuck as the url on which the engine post the data have multiple submit button inside a single form.
How exactly can we point out the exact submit button say publish which we wish to click?
All 3 buttons are <input type="submit" kind of button.
Please help

Comments

  • SvenSven www.GSA-Online.de

    form name=*Publish*

  • The one form with name="post" have 3 submit buttons

    <input type="submit" name="save" id="save" value="Enregistrer" />
    <input type="submit" name="save" id="save-post" value="Enregistrer brouillon" />

    AND

    <input type="submit" name="publish" id="publish" value="Publier" />

    Using the above syntax form name=*Publish* , the Engine clicks on the first button ie Enregistrer, whereas in actuality i want to click on the button Publier
  • any update on this Sven?
  • SvenSven www.GSA-Online.de

    of course you need to use ...

    form name=*Publier*

    always use the caption/value of the button you want to press.

Sign In or Register to comment.