Add 1 to the value of drop down field selection and display in HTML field

Home Forums Quform WordPress Add 1 to the value of drop down field selection and display in HTML field

This topic is: resolved
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #34460
    MOVOX
    Participant

    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?

    #34465
    Ally
    Support Staff

    You don't have permission to view this content. Please log in or register and then verify your purchases to gain access.

    #34469
    MOVOX
    Participant

    Ally, your code provided above works perfectly. Thank you.

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.
Be inspired. © 2024 ThemeCatcher Ltd. 20-22 Wenlock Road, London, England, N1 7GU | Company No. 08120384 | Built with React | Privacy Policy