How do I write a calculation in the properties of a field. I want to divide field 231 (that is the name of the field) by 100.
Thanks!
How do I write a calculation in the properties of a field. I want to divide field 231 (that is the name of the field) by 100.
Thanks!
this.getField("PLACE_FIELDNAME_HERE").value = event.value / 100 ;
var a = this.getField("Total Funding RequestedRow1").value;var b = this.getField("Number of Clients to be ServedRow1").value;var c = this.getField("Unit of Service to be ProvidedRow1").value;// compute the valueevent.value = '';if( (b * c) != 0) {// perform only is b * c is not zeroevent.value = a / (b * c)}
Here you can enter a custom calculation using javascript.
If I'm correct in understanding that you want field "231" to display the entered value divided by 100, enter the following into the custom calculation:
event.value = event.value / 100 ;
If you wanted to display the result of the calculation in another field enter the following in field "231":
this.getField("PLACE_FIELDNAME_HERE").value = event.value / 100 ;
Appligent Document Solutions
www.appligent.com
Appligent Document Solutions
http://www.appligent.com