I'm totally new to JavaScript. I'm attempting to do a calculation field with a custom calculation script. I've tried to piece together something with script I've scavenged from multiple forums, but have been completely unsuccessful. I have 4 form fields. 2 date fields, a number field (formatted for currency), and the calculation field. The calculation I'm attempting is ((365 - (days between the 2 date fields)) divided by 365) times (currency field). Any help would be greatly appreciated.
↧