2
<h3>$i18n.getString( "create_new_indicator_type" )</h3>
4
<form id="addIndicatorTypeForm" action="addIndicatorType.action" method="post" onsubmit="return validateAddIndicatorType()">
8
<th colspan="2">$i18n.getString( "details" )</th>
11
<td><label for="name">$i18n.getString( "name" ) <em title="$i18n.getString( "required" )" class="required">*</em></label></td>
12
<td><input type="text" id="name" name="name" style="width:20em"></td>
15
<td><label for="factor">$i18n.getString( "factor" ) <em title="$i18n.getString( "required" )" class="required">*</em></label></td>
16
<td><input type="text" id="factor" name="factor" style="width:20em"></td>
20
<td><input type="submit" value="$i18n.getString( "add" )" style="width:10em"><input type="button" value="$i18n.getString( "cancel" )" onclick="window.location.href='indicatorType.action'" style="width:10em"></td>
26
<span id="message"></span>
28
<script type="text/javascript">
30
var nameField = document.getElementById( 'name' );