Posts Tagged ‘ASP.NET’

Adding HTML Form Submission to the Text/HTML module in DNN

June 25th, 2009

Question: How can I add an HTML <form></form> element to the Text/HTML module in DNN?

Problem: When editors add a <form></form> tag to the Source of the Text/HTML module, the <form></form> tags are removed after they click the Update link on the “Edit Text/HTML” form.

Cause: ASP.NET only allows one form per page and by default creates its own form just inside the <body></body> tags.

Solution: Here’s an example form we will add to our Text/HTML module.

Read more…