Option with X future dates

  • Profile Image
    lafhab2
    Asked on October 05, 2017 at 05:58 AM

    Hi, is it possible to offer an radio-button option which includes X number of future dates? I know that you can use calculation to add dates, but I am sure you can't use calculations to output to individual options?  To clarify, I am wanting to ask a question like:

    When will you next attend?
     - Fri 06/10
     - Sat 07/10
     - Tues 10/10
     - Weds 11/10
     - Thurs 12/10
     - not known

    So the dates will be automatically calculated as today+1, today+2 etc etc. I can't see a way of putting these as multiple options within one question/field.  I have searched the forum and can't find a solution.  Is this possible?

  • Profile Image
    Kevin_G
    Answered on October 05, 2017 at 08:54 AM

    Unfortunately, it's not possible to handle single or multiple options with conditions or calculations; however, I think you might do it like this example: https://form.jotform.com/72773872089976 

    Do note that you may change the field options, but the form will calculate the date based on the number of days the user has selected on the radio button field. 

    I used conditional logic for this and a date field  with the current date as default, here is a sample conditional calculation:

    Here is a guide that will also help you to conditionally calculate the value of a field: https://www.jotform.com/help/268-Conditional-Logic-Inserts-Text-Calculation-Into-A-Field 

    Also, feel free to clone my form and inspect what I have done there, this guide will help you with that: https://www.jotform.com/help/42-How-to-Clone-an-Existing-Form-from-a-URL 

    I hope this helps. 

  • Profile Image
    lafhab2
    Answered on October 08, 2017 at 07:36 PM

    Thanks, it's a very rudimentary solution but it's something to start with