Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > HTML > Nested Forms

Reply
Thread Tools

Nested Forms

 
 
Harlin
Guest
Posts: n/a
 
      07-19-2007
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!

 
Reply With Quote
 
 
 
 
Harlan Messinger
Guest
Posts: n/a
 
      07-19-2007
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.
 
Reply With Quote
 
 
 
 
Bergamot
Guest
Posts: n/a
 
      07-19-2007
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
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
dealing with nested xml within nested xml within...... Ultrus Python 3 07-09-2007 09:00 PM
Is nested class automatically friend of class that it is nested in? request@no_spam.com C++ 5 09-25-2006 08:31 AM
forms authentication -- expired forms cookie vs. not provided forms cookie Eric ASP .Net Security 2 01-27-2006 10:09 PM
Nested Vector Nester Classes are Nested in my Brain Chad E. Dollins C++ 3 11-08-2005 04:46 AM
Nested iterators (well, not nested exactly...) Russ Perry Jr Java 2 08-20-2004 06:51 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57