Home › Forums › Quform WordPress › Add 1 to the value of drop down field selection and display in HTML field
I have a drop down field with selectable years e.g. 2020, 2021, 2022, 2023 etc. followed by 4 blank HTML fields.
When the year is selected in the drop down field I would like to populate the 4 HTML fields with the chronological years from the selected year.
For example; if 2020 is selected in the drop down field I would like to display 2021 in HTML field #1, 2022 in HTML field #2, 2023 in HTML field #3 and 2024 in HTML field #4.
I have looked at the forums regarding calculations but can’t find anything specific to adding to the value of a drop down field.
Hoping you can point me in the fight direction with this?
You don't have permission to view this content. Please log in or register and then verify your purchases to gain access.
Ally, your code provided above works perfectly. Thank you.