Form inside a form

Discussion in 'HTML' started by Galsaba, Apr 18, 2004.

  1. Galsaba

    Galsaba Guest

    Is it possible to have two forms, one inside the other?
    Something like this:



    on my code I have the following:
    ......
    <form name=form1 target="me"
    action="https://www.site.com/cgi-bin/file1" method="post">
    <input type="text" name="lastName">
    <input type="image" src="gifs/addcart.gif" border="0" name="submit"


    form name=internalForm target="in"
    action="https://www.site.com/cgi-bin/file2" method="post">
    <input type="text" name="lastName" value="Joe">
    <input type="image" src="gifs/cart.gif" border="0" name="submit"

    </form> <!--and of the internal form-->
    </form>

    Thanks,
    Joanne
     
    Galsaba, Apr 18, 2004
    #1
    1. Advertising

  2. Galsaba wrote:

    > Is it possible to have two forms, one inside the other?


    No

    (Although you might be able to use absolute positioning to make it look like
    you can)

    --
    David Dorward <http://blog.dorward.me.uk/> <http://dorward.me.uk/>
     
    David Dorward, Apr 18, 2004
    #2
    1. Advertising

  3. Galsaba

    Galsaba Guest

    Ok, then, I found another solution.
    My question now is -
    If instead of the "submit" button, I want to click on a word (text), will this
    be possibe?
    If not, I will need to make a pic, and to write the word inside it.

    Thanks
     
    Galsaba, Apr 18, 2004
    #3
  4. Galsaba

    Hywel Guest

    Hywel, Apr 18, 2004
    #4
  5. Galsaba

    Jeff Thies Guest

    "Galsaba" <> wrote in message
    news:...
    > Ok, then, I found another solution.
    > My question now is -
    > If instead of the "submit" button, I want to click on a word (text), will

    this
    > be possibe?


    Javascript only, with the usual caveats.

    <a href="javascript: document.forms['form_name'].submit()">this submit works
    only if javascript is active</a>


    > If not, I will need to make a pic, and to write the word inside it.


    Do that then...

    Jeff

    >
    > Thanks
     
    Jeff Thies, Apr 19, 2004
    #5
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Andy Eshtry
    Replies:
    0
    Views:
    642
    Andy Eshtry
    Mar 1, 2004
  2. Dave
    Replies:
    0
    Views:
    830
  3. DC Gringo
    Replies:
    4
    Views:
    4,863
    mfreidge
    Dec 17, 2007
  4. nail
    Replies:
    0
    Views:
    1,569
  5. =?Utf-8?B?dmJNZW50YWw=?=

    CheckboxList inside a usercontrol inside of a datalist.

    =?Utf-8?B?dmJNZW50YWw=?=, Oct 30, 2004, in forum: ASP .Net
    Replies:
    0
    Views:
    592
    =?Utf-8?B?dmJNZW50YWw=?=
    Oct 30, 2004
Loading...

Share This Page