Updating fields depending on selected answer

  • rossifrancesco
    Asked on October 27, 2016 at 12:37 PM

    Updating fields depending on selected answer Image 1 Screenshot 20

    Hi, 

    If I insert a date I want that in a cell is showed the month before. For example if i put current date i want have September. 

    It' s possibile do this with a form calculation?

    Thank you

  • Jan
    Replied on October 27, 2016 at 2:24 PM

    It is possible to update a field depending on the selected answer. However, this might not working in the Date field. You need to create a form fields manually.

    Please check this demo form: https://form.jotform.com/63005544451953. You can clone it if you like.

    1. Create 3 drop down fields for the month, day, and year. Insert a regular Text Box for the month's name.

    Updating fields depending on selected answer Image 1 Screenshot 50

    2. Go to Conditions and select the "Update/Calculate Field" condition.

    Updating fields depending on selected answer Image 2 Screenshot 61

    3. Create a condition wherein if the Month drop down field is equal to 1, the value "January" will appear in the "Show Month" text box.

    Updating fields depending on selected answer Image 3 Screenshot 72

    4. Save the condition and create an additional conditions for the other months.

    Here's the result:

    Updating fields depending on selected answer Image 4 Screenshot 83

    Related guide: https://www.jotform.com/help/286-How-to-Pass-Field-Value-to-Another-Field

    Hope that helps. Thank you.

  • rossifrancesco
    Replied on October 28, 2016 at 12:34 AM

    Thank you very much Jan