Share » Forums » Setup & design » Nested forms

Nested forms

Nested forms

Friday 26 January 2007 3:10:20 pm - 1 reply

Author Message

Ville Mattila

Sunday 28 January 2007 9:33:49 am

HTML does not allow nested forms, so you have to close another form before defining a new one. You said that you must have nested forms to be able to remove comments. It's impossible, so you should move the comment removal functionality in the same script as editing comments. I do not see any reason why it wouldn't be possible.

Ville

---

<form action="blog/edit">
<!-- Blog Message -->
</form>

<form action="comment/edit">
<input type="hidden" value="commentid" value="1">
<!-- Comment 1 -->
</form>

<form action="comment/edit">
<input type="hidden" value="commentid" value="2">
<!-- Comment 2 -->
</form>

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu