Developer forum

Forum » Feature requests » "Clean" tags in forms and newsletters

"Clean" tags in forms and newsletters

Nikki Strømsnes
Reply
When, for example, you are creating a subscription form in NewsletterV3, you will have to settle for a few basic tags, and trust Dw to create part your markup. Observe:

@AccessUserName_ctrl will create something like this:
<input id="AccessUserEmail_6851" class="FrontendStd" type="text" maxlength="50" value="" name="AccessUserName">
This isn't always desirable. For instance, all the rage now is inside labels (or better yet: HTML5 placeholders), which is not currently possible without some JS hacking. I would basically like to have more control over my markup, so that I could write something along the lines of:
<input id="<!--@AccessUserEmail_id-->" class="myClass" type="email" placeholder="Enter your email" />
Ultimately, I feel this would lead to cleaner and less restrictive markup, less hacks and better performance.

Replies

 
Nikki Strømsnes
Reply
What is the view on this suggestion?