Multiply

Multiply

I have two number fields;
cabHeight  //inches
cabWidth  //inches

another field on the same form called
sqInches

I want to multiply the first two fields and put the total in the third field.
What would this script look like and where would in go "on user input, update, success field level or form"?