Jump to content
  • 0

How To Count In A Submission Form



8 answers to this question

Recommended Posts

  • 0

Hi wvantongeren,


How are you doing?


I think, you can use the following script:

function calculate()
var v_Werkuren = parseFloat(document.getElementById("InsertRecordWerkuren").value);
var v_DWM_uren = parseFloat(document.getElementById("InsertRecorddwmuren").value);
var v_55_uren = parseFloat(document.getElementById("InsertRecorduren55").value);
var v_Ziekte_uren = parseFloat(document.getElementById("InsertRecordziekteuren").value);
var v_Scholingsuren = parseFloat(document.getElementById("InsertRecordschooluren").value);
var v_Onbetaalde_uren = parseFloat(document.getElementById("InsertRecordonbeturen").value);
var v_totaaluren = v_Werkuren + v_DWM_uren + v_55_uren + v_Ziekte_uren + v_Scholingsuren - v_Onbetaalde_uren;
document.getElementById("InsertRecordtotaaluren").value = v_totaaluren;

Could you please let me know, if the script works?



Have a nice day!

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...