Forums / Setup & design / Nested forms / Comment23862

Author Topic

Ville Mattila

Sunday 28 January 2007 9:33:49 am

Comment23862

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>