Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 5 of 5

Thread: how

  1. #1
    New Coder
    Join Date
    Jul 2003
    Posts
    90
    Thanks
    0
    Thanked 0 Times in 0 Posts

    form buttons

    how can I put this buttons to direct to other links, in this case form1.php?

    Code:
    <form>
      <a href="form1.php"><input name="B3" type="submit" value="Logar-se"></a><p>
      <a href="form1.php"><input name="B3" type="submit" value="Registar-se"></a>
        </p>
    </form>
    Thanks
    Last edited by devil_online; 02-24-2004 at 02:00 PM.

  • #2
    Senior Coder
    Join Date
    Jun 2002
    Location
    ColoRockyz
    Posts
    1,646
    Thanks
    1
    Thanked 0 Times in 0 Posts
    <input name="B3" type="button" value="Logar-se" onclick="window.location='form1.php';">
    Guess that's what you want...
    Last edited by zoobie; 02-24-2004 at 02:22 AM.
    Zoobie or not Zoobie...That is the problem.
    <body onUnload="flush( ! )">

  • #3
    New Coder
    Join Date
    Jul 2003
    Posts
    90
    Thanks
    0
    Thanked 0 Times in 0 Posts
    yes..thanks...

  • #4
    Senior Coder
    Join Date
    Jun 2002
    Location
    ColoRockyz
    Posts
    1,646
    Thanks
    1
    Thanked 0 Times in 0 Posts
    You could also use a link that looks like a button:
    <a href="form1.php" style="border:1px solid #ff0000;text-decoration:none;font: bold 12px verdana;color:#0000ff">Login</a>
    Zoobie or not Zoobie...That is the problem.
    <body onUnload="flush( ! )">

  • #5
    Senior Coder Mhtml's Avatar
    Join Date
    Jun 2002
    Location
    Sydney, Australia
    Posts
    3,531
    Thanks
    0
    Thanked 1 Time in 1 Post
    I use outset for that, can be convincing -ish.

    You ( Devil-online ) have violated our terms and conditions by not following our posting rules and guidlines!!

    Posting Guidelines

    There is also a sticky thread you might want to read ( I want you to read it ) at the top of this forum regarding this!
    Omnis mico antequam dominus Spookster!


  •  

    Posting Permissions

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