Using HTML Form tags

Question

Can you add HTML form tags to a page within DNN? 

Answer

DNN does not process the HTML correctly, as the form will not be displayed. 

Root Cause

HTML doesn't allow nested forms and every DNN page has already a <form> by default, causing any child <form> not to be displayed.

Note: DNN is built on top of a .NET Framework that uses web forms provoking the behavior mentioned above.

Workaround 

If you need to gather information in a form we would suggest using the DNN forms or javascript/AJAX to send the information from the page with an onclick event.  

 

Comments

1 comment

  • Avatar
    WebMarkets Digital Marketing - SEO

    How can I edit the header logo to add altext?

    1
    Comment actions Permalink

Please sign in to leave a comment.