3 var parameterManager = new IndicoUtil.parameterManager();
4 var addParam = parameterManager.add;
6 function addValidator(validator) {
7 validators.push(validator);
10 function enableAll(f) {
11 for (i = 0; i < f.elements.length; i++) {
12 f.elements[i].disabled=false
16 function formSubmit(f) {
17 if (!parameterManager.check()) {
18 alert($T("The form contains some errors. Please, correct them and submit again."));
22 for (var i in validators) {
23 var validator = validators[i];
34 <form action=${ postURL } method="POST" onSubmit="return formSubmit(this);" enctype="multipart/form-data">
35 <table width="70%" align="center">
36 <tr><td> </td></tr>
38 <td nowrap class="title"><center>${ title }</center></td>
41 <td colspan="2" align="left">
42 <br><b>${ _("""Please, note that fields marked with <font color="red">*</font> are mandatory""")}</b><br>
53 <td align="center" class="regFormBottomLine"><input type="submit" class="btn" value="register" onClick="return confirm('${ _("Are you sure you want to submit this form?") }');"></td>