Nested Forms

Discussion in 'HTML' started by Harlin, Jul 19, 2007.

  1. Harlin

    Harlin Guest

    I have nested forms:

    <html> <head><title>Veldsma Admin Console: Add Product</title></head>
    <body> <table cellpadding=10 cellspacing=10> <tr>
    <p>Enter Your Product Information</p>
    <form action="publishProduct.pih" method="POST">
    <table cellpadding=5 cellspacing=5>
    <tr><td>Item# </td><td><input type=text width=30></td></tr>
    <tr><td>Product Name</td><td><input type=text width=30 ></td></tr>
    <tr><td>Short Description</td><td><textarea rows=6 cols=40
    wrap="HARD"></textarea></td></tr>
    <tr><td>Description</td><td><textarea rows=9 cols=40 wrap="HARD"></
    textarea><td></tr>
    <tr><td>Sale Status</td><td><input type=text width=15></td></tr>
    <FORM ENCTYPE="multipart/form-data" ACTION="fileUpload.py"
    METHOD=POST><tr><td>Upload Thumbnail </td><td><INPUT NAME="my
    file" TYPE="file"> <INPUT TYPE="submit" VALUE="Send File"></FORM></
    td></tr>
    <tr><td>Upload Picture 1 </td><td><input type=submit value="Upload
    Picture1"></td></tr>
    <tr><td>Upload Picture 2 </td><td><input type=submit value="Upload
    Picture2"></td></tr>
    <tr><td>Categories:</td><td>
    </td></tr>
    </form>
    </table>
    </td>
    </tr>
    </table>

    I've been told this will not work but no one can tell me how to get
    around it. Does anyone have any suggestions on how to do this?

    Thanks!
     
    Harlin, Jul 19, 2007
    #1
    1. Advertising

  2. Harlin wrote:
    > I have nested forms:
    >
    > <html> <head><title>Veldsma Admin Console: Add Product</title></head>
    > <body> <table cellpadding=10 cellspacing=10> <tr>
    > <p>Enter Your Product Information</p>
    > <form action="publishProduct.pih" method="POST">
    > <table cellpadding=5 cellspacing=5>
    > <tr><td>Item# </td><td><input type=text width=30></td></tr>
    > <tr><td>Product Name</td><td><input type=text width=30 ></td></tr>
    > <tr><td>Short Description</td><td><textarea rows=6 cols=40
    > wrap="HARD"></textarea></td></tr>
    > <tr><td>Description</td><td><textarea rows=9 cols=40 wrap="HARD"></
    > textarea><td></tr>
    > <tr><td>Sale Status</td><td><input type=text width=15></td></tr>
    > <FORM ENCTYPE="multipart/form-data" ACTION="fileUpload.py"
    > METHOD=POST><tr><td>Upload Thumbnail </td><td><INPUT NAME="my
    > file" TYPE="file"> <INPUT TYPE="submit" VALUE="Send File"></FORM></
    > td></tr>
    > <tr><td>Upload Picture 1 </td><td><input type=submit value="Upload
    > Picture1"></td></tr>
    > <tr><td>Upload Picture 2 </td><td><input type=submit value="Upload
    > Picture2"></td></tr>
    > <tr><td>Categories:</td><td>
    > </td></tr>
    > </form>
    > </table>
    > </td>
    > </tr>
    > </table>
    >
    > I've been told this will not work


    That's correct.

    > but no one can tell me how to get
    > around it.


    To accomplish what? You haven't said.
     
    Harlan Messinger, Jul 19, 2007
    #2
    1. Advertising

  3. Harlin

    Bergamot Guest

    Harlin wrote:
    > I have nested forms:


    Nested forms are invalid. What are you really trying to accomplish?

    And don't post code, post a URL.

    --
    Berg
     
    Bergamot, Jul 19, 2007
    #3
    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. Russ Perry Jr
    Replies:
    2
    Views:
    4,292
    Russ Perry Jr
    Aug 20, 2004
  2. Chad E. Dollins
    Replies:
    3
    Views:
    683
    Kai-Uwe Bux
    Nov 8, 2005
  3. request@no_spam.com
    Replies:
    5
    Views:
    458
  4. Ultrus
    Replies:
    3
    Views:
    413
    Stefan Behnel
    Jul 9, 2007
  5. Eric
    Replies:
    2
    Views:
    648
Loading...

Share This Page