I am going around in circles trying to create a booking form for a customer of mine. All I want to do is gather the following information from a user and then charge them a fee at the end. There are a few variables, as follows:
- Date of Arrival
- Number of nights stay
- Number of Adults at £9 each per night
- Number of Children at £7 each per night
- Number of Dogs at £2 each per night (maximum of 2 dogs)
- Is electric required at £5 per night?
- Other basic information such as Name, Address, Email and Telephone.
…That’s it.
What I can’t seem to fathom is how to create a calculation which adds up all the relevant quantities and prices and then multiplies the result by the number of nights’ stay.
Best answer by john.desborough
View original