wvantongeren Posted February 11, 2016 Report Share Posted February 11, 2016 How can I count the value's in this Submission Form. Quote Link to comment Share on other sites More sharing options...
0 wvantongeren Posted February 11, 2016 Author Report Share Posted February 11, 2016 Quote Link to comment Share on other sites More sharing options...
0 svitlanataran Posted February 11, 2016 Report Share Posted February 11, 2016 Hi, you can use Script from the following post: http://forums.caspio.com/index.php/topic/3149-js-perform-a-calculation-on-values-entered-in-a-webform/ Quote Link to comment Share on other sites More sharing options...
0 wvantongeren Posted February 11, 2016 Author Report Share Posted February 11, 2016 Do not understand javascriptcan you please help a little? Quote Link to comment Share on other sites More sharing options...
0 MayMusic Posted February 11, 2016 Report Share Posted February 11, 2016 Can you give us the URL to the page and also explain what exactly you want to perform on that page so we can assist you? Quote Link to comment Share on other sites More sharing options...
0 wvantongeren Posted February 12, 2016 Author Report Share Posted February 12, 2016 Thanks Caspio Evangelist, for your replay. Here is my URL: http://hemubo.weebly.com/test2.html and a litle bit more explanation. Quote Link to comment Share on other sites More sharing options...
0 Xiang Posted February 13, 2016 Report Share Posted February 13, 2016 Hi wvantongeren, How are you doing? I think, you can use the following script: <SCRIPT LANGUAGE="JavaScript"> 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; } document.getElementById("caspioform").onsubmit=calculate; </SCRIPT> Could you please let me know, if the script works? Have a nice day! Quote Link to comment Share on other sites More sharing options...
0 wvantongeren Posted February 13, 2016 Author Report Share Posted February 13, 2016 Xiang, huge thanks for your help !It works great .1000 x thanks.Greetings from the Netherlands Quote Link to comment Share on other sites More sharing options...
0 NailDyanC Posted August 7, 2021 Report Share Posted August 7, 2021 Just to update this post and add a comment from the previous comment above, you may also try using Calculated value in your submission form to calculate data entries. You may check this link for more details: https://howto.caspio.com/datapages/datapage-components/calculated-values/ Quote Link to comment Share on other sites More sharing options...
Question
wvantongeren
How can I count the value's in this Submission Form.
Link to comment
Share on other sites
8 answers to this question
Recommended Posts
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.