3 buttons on same form

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Yang

    #1

    3 buttons on same form

    Hi!
    I have 3 submit buttons on the same form.
    one is used for refresh datas on the actual form.
    2 others are to add and remove information with checkboxes.

    I would like those 2 to open in a new window and the refresh
    to stay in the same window.

    How can i do this?

    Thanx


  • Janwillem Borleffs

    #2
    Re: 3 buttons on same form

    Yang wrote:[color=blue]
    > I would like those 2 to open in a new window and the refresh
    > to stay in the same window.
    >
    > How can i do this?
    >[/color]

    The cleanest way would be to set the form target to "_blank" and turn the
    refresh button into a normal link, which looks like a submit button.


    JW



    Comment

    • Micha³ Wo¼niak

      #3
      Re: 3 buttons on same form

      One quick glance of an experienced eye allowed to understand the blurred
      and almost unreadable Janwillem Borleffs's handwriting:
      [color=blue]
      > Yang wrote:[color=green]
      >> I would like those 2 to open in a new window and the refresh
      >> to stay in the same window.
      >>
      >> How can i do this?
      >>[/color]
      >
      > The cleanest way would be to set the form target to "_blank" and turn
      > the refresh button into a normal link, which looks like a submit
      > button.[/color]

      Or you could use 3 forms, the two that will do refreshes with their
      target set to "_blank".

      Cheers
      Mike

      Comment

      Working...