Good thing Lynne caught that, I don't think I would have thought of it.
Well, I think maybe it can be done with javascript. You could make your bbcode add a text field and a button that calls a javascript function when pressed. This would add those fields to the inline moderation form but I don't think that should matter as long as the names are unique. I think the easiest thing to do might be to put your form in the html somewhere else (like in a header), make the text field a hidden field and don't include the button, then make your JS function set the field for the text and submit the form.
I did a qucik search for "HTML nested forms" and it looks like others have taken a similar approach.
|