Javascript For Totals Days x Length (Drop Down Menu Options)
HELP! I'm new to javascipting and need to create a form for work:
We need to charge boaters a fee depending on the number of days staying (docking) and the boats berthage (length).
I have a field that creates the total days from two drop down calendars currently. I also have have a field with a drop down selection of the boats length.
However, I have no idea how to combined the two though?
Here's what I need to calculate/charge from the two fields:
If boat is staying less then 30 days I need to charge $20/day
If boat is <18m AND is staying longer then 30 days they are charged $260/month
If boat is between 18-20m AND they are staying longer then 30 days charged $280/month
Please help :S
