Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
document.forms['[i]formname[/i]'].elements['field3'].value = document.forms['[i]formname[/i]'].elements['field3'].value + document.forms['[i]formname[/i]'].elements['field3'].value;
document.forms['formname'].elements['field3'].value = document.forms['formname'].elements['field1'].value + document.forms['formname'].elements['field2'].value;
<SCRIPT LANGUAGE="JavaScript">
function CF_add_holiday
{
document.forms['Staff_Time'].elements['tot_holiday'].value =
document.forms['Staff_Time'].elements['HSM1'].value + document.forms['Staff_Time'].elements['HSTU1'].value +
document.forms['Staff_Time'].elements['HSW1'].value + document.forms['Staff_Time'].elements['HSTH1'].value +
document.forms['Staff_Time'].elements['HSF1'].value ;
}
</script>
<SCRIPT LANGUAGE="JavaScript">
function CF_add_holiday()
document.Staff_Time.tot_holiday.value =
parseFloat(document.Staff_Time.HSM1.value) +
parseFloat(document.Staff_Time.HSTU1.value) +
parseFloat(document.Staff_Time.HSW1.value) +
parseFloat(document.Staff_Time.HSTH1.value) +
parseFloat(document.Staff_Time.HSF1.value) ;
</script>
<td width="1"> <CFInput name="HSM1" type = "text" size="1" value="0.00" onblur="CF_add_holiday()"></td>
<td> </td>
<td width="1"> <CFInput name="HSTU1" type = "text" size="1" value="0.00" onblur="CF_add_holiday()"></td>
<td> </td>
<td width="1"> <CFInput name="HSW1" type = "text" size="1" value="0.00" onblur="CF_add_holiday()"></td>
<td> </td>
<td width="1"> <CFInput name="HSTH1" type = "text" size="1" value="0.00" onblur="CF_add_holiday()"></td>
<td> </td>
<td width="1"> <CFInput name="HSF1" type = "text" size="1" value="0.00" onblur="CF_add_holiday()"></td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td width="1"> <CFInput name="tot_holiday" type = "text" size="1" value="0.00" ></td>
<SCRIPT LANGUAGE="JavaScript">
function CF_add_holiday(){
document.forms[0].tot_holiday.value =
parseFloat(document.forms[0].HSM1.value) +
parseFloat(document.forms[0].HSTU1.value) +
parseFloat(document.forms[0].HSW1.value) +
parseFloat(document.forms[0].HSTH1.value) +
parseFloat(document.forms[0].HSF1.value);
}
</script>