FIELD UPDATE WHILE FILLING FORM

FIELD UPDATE WHILE FILLING FORM

Dear Sir / Madam
 
In my form, There a some checkbox, I want when applicant start cliking the check boxs, one another fild start counting number of checks. based on the number of checks I would apply a formula in another field.
Please help