title: How to create a form with dynamic parameters using javascript?
body: <p>I am trying to create a form using java script, the form is created but the dynamic param values to the  form are not replaced. The following is my form....</p>
  
  <pre><code>var formVar='&lt;form:form name="service_form" commandName="command1" action="/serviceProcess" method="post"&gt;';
  
  formVar+='&lt;label for="'+ paramsdata[2] + '"&gt;'+paramsdata[3]+'&lt;/label&gt;&lt;br/&gt;';
  formVar+='&lt;form:input type='+paramsdata[2]+' path="webParamMap['+paramsdata[2]+'].webValue"  value='+ paramsdata[5] +'  class="input"&gt;&lt;/form:input&gt;&lt;br&gt;' ;
  
   formVar+='&lt;label for=" '+paramsdata[2]+' "&gt;'+paramsdata[3]+'&lt;/label&gt;&lt;br/&gt;';
  formVar+='&lt;div id="select"&gt;';
  formVar+='&lt;form:select path="webParamMap[' +paramsdata[2] + '].webValue"&gt;';
  formVar+='&lt;form:option value='+paramdata[8]+'&gt;'+paramdata[9]+'&lt;/form:option&gt;';
   formVar+='&lt;/form:select&gt;&lt;/div&gt;';
  formVar+='&lt;/form:form&gt;';
  </code></pre>
  
  <p>In the above form the label tag values(dynamic param values) are updated but the form:input and select tag values(dynamic param values) are not updated in the output.</p>
  
  <p>please help me how to create these tags with dynamic parameters ?</p>