mike38798 Posted March 15, 2011 Report Share Posted March 15, 2011 I need to find the difference between the value of two fields. I found the script here describing how to do this. But it relates to only one function. viewtopic.php?f=14&t=12155 I have a page that has multiple functions (i.e. f102 - f101 = v100; f201 - f201 = v200, etc). I can past the script into the page and it works after i modify for my field names. But pasting in the the second script then causes the first script to stop working. I did rename the fields and var to reflect to the correct field names. How would I paste multiple scripts from the link above into one html page? Thanks Quote Link to comment Share on other sites More sharing options...
Aariel Posted March 17, 2011 Report Share Posted March 17, 2011 HI, Why do you have f102 - f101 = v100; f201 - f201 = v200, .... should not it be v100=f102-f101 and so on???? :? Paste the whole javascript that you have in the footer (function for calculation etc)...lets have a look Quote Link to comment Share on other sites More sharing options...
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.