title: generating html via using helpers
body: <pre><code>public class User {
      @Id
      @GeneratedValue(strategy = GenerationType.AUTO) 
      public int id;
  
      @Constraints.Required
      @Constraints.MinLength(1)
      @Constraints.MaxLength(30)
      public String firstName;
  }
  </code></pre>
  
  <p>Using this class I tried to use helper:</p>
  
  <pre><code>@helper.inputText(userForm("firstName"),'placeholder-&gt;"First Name",'class-&gt;"textbox1",'required-&gt;"required")
  </code></pre>
  
  <p>but it generates it:</p>
  
  <pre><code>&lt;dl id="firstName_field" class=" "&gt;
  
      &lt;dt&gt;&lt;label for="firstName"&gt;firstName&lt;/label&gt;&lt;/dt&gt;
  
      &lt;dd&gt;
      &lt;input type="text" required="required" class="textbox1" placeholder="First Name" value="" name="firstName" id="firstName"&gt;
  &lt;/dd&gt;
  
  
          &lt;dd class="info"&gt;Minimum length: 1&lt;/dd&gt;
  
          &lt;dd class="info"&gt;Required&lt;/dd&gt;
  
          &lt;dd class="info"&gt;Maximum length: 30&lt;/dd&gt;
  
  &lt;/dl&gt;
  </code></pre>
  
  <p>My question is how to remove these:</p>
  
  <pre><code>    &lt;dd class="info"&gt;Minimum length: 1&lt;/dd&gt;
  
      &lt;dd class="info"&gt;Required&lt;/dd&gt;
  
      &lt;dd class="info"&gt;Maximum length: 30&lt;/dd&gt;
  </code></pre>
  
  <p>I don't want these extras. </p>
  
  <p>I was just expecting the:</p>
  
  <pre><code>&lt;input type="text" required="required" class="textbox1" placeholder="First Name" value="" name="firstName" id="firstName"&gt;
  </code></pre>
  
  <p>I am having curiosity how other developers used helpers.</p>