Home › Forums › Quform WordPress › Calculating age & setting up conditions › Reply To: Calculating age & setting up conditions
September 23, 2020 at 1:38 pm #31971
CaribShipping
Participant
Hi Ally, I know it’s been a while,but I just tried to implement the code and it won’t work, if I’m not missing something.
Please have a look at the current form and image attached:
https://caribshipping.co.uk/vehicle-shipping-quote/
When I choose 2015 for example, I need the code to calculate (current year -2015) and give the years at the hidden field.
Then I’ll use with other variables to calculate if it’s too old and show a text note.
At this stage, that calculation is not happening.
Am I doing something wrong?
Thanks.