Hi, i would like to add some input fields to an ul/li using JS.
<code> <script type="text/javascript"> function add_fields() { var d = document.getElementById("items"); var i = d.childElementCount; d.innerHTML += "<li><input name=\"item:" + i + ":value\" /></li>"; } </script> <form id="form" wicket:id="form"> <input type="button" id="more_fields" onclick="add_fields();" value="Add More" /> <ul id="items"> <li wicket:id="item"> <input wicket:id="value" /> </li> </ul> <input type="submit" value="Go" /> </form> </code> Currently in Form.onSubmit values are empty. Is this possible? Is there an example for this? Thanks for your support Per --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org