/    Sign up×
Community /Pin to ProfileBookmark

the tag form is not allowed in table

while validating the code in homesite i am getting this error.

the tag form is not allowed in table

if i use the form tag in td that is out side of table it shows the break (space at bottom)

to post a comment
HTML

3 Comments(s)

Copy linkTweet thisAlerts:
@bathurst_guyJun 06.2006 — Sorry you don't make sense. What is your problem, provide a link if available.
Copy linkTweet thisAlerts:
@kiwibritJun 06.2006 — while validating the code in homesite i am getting this error.

the tag form is not allowed in table

if i use the form tag in td that is out side of table it shows the break (space at bottom)[/QUOTE]


I am not clear what your problem is. The form tags do have to be outside a table (not that I like them for form layout).

Something like this: [CODE]
<form action="myhandler.php" method="post" name="myform">
<table summary="example of table with radio buttons" >
<tr>
<th>Emotional state</th>
<th>Select button</th>
</tr>
<tr>
<td>happy</td>
<td><input name="radiobutton" type="radio" value="radiobutton"></td>
</tr>
<tr>
<td>unhappy</td>
<td><input name="radiobutton" type="radio" value="radiobutton"></td>
</tr>
</table>
<p><input type="submit" name="Submit" value="Submit"></p>
</form>
[/CODE]


Hope that helps.
Copy linkTweet thisAlerts:
@felgallJun 06.2006 — If you put form tags inside of a table then it needs to be

<td><form></form></td>

No other placement of anything inside a table is allowed unless it is contained entirely within the one <td>.
×

Success!

Help @netparsh spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 6.17,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @nearjob,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,
)...