How to separate the input to multiple selection to different fields to use in conditions?

  • noufm
    Asked on June 7, 2020 at 7:09 AM

    Hi, 

    I have a multiple selection widget (Page 3), I need a workaround to break down the input and use conditions based on the order of the selected items. 

    Is there a possible workaround to achieve this? 

    Thanks.

    Regards,

    Nouf

  • Welvin Support Team Lead
    Replied on June 7, 2020 at 12:07 PM

    Hello Nouf,

    You can do conditional logic in the widget directly. Select IF Contains:

    How to separate the input to multiple selection to different fields to use in conditions? Image 1 Screenshot 20

    Here's a demo form showing Paragraph (HTML Text) field: https://form.jotform.com/201584475962060

    You could adopt the same method if you really need to fetch the name of the option to another field. In this case, use the calculation condition.

    https://www.jotform.com/help/268-How-to-Insert-Text-or-Calculation-into-a-Field-Using-Conditional-Logic

  • noufm
    Replied on June 8, 2020 at 3:11 AM

    Thanks, Welvin. However, I need to know the order of the items selected not just if it's selected or not. Is there a possible way to do that? even if it means using a different widget I'm open to any solution! 



  • Ashwin JotForm Support
    Replied on June 8, 2020 at 7:03 AM

    If you just want to get the content of the selected item in the same order, it was selected, you can add "Form Calculation" widget to read the data of "Multiple Selection" widget. Please check the screenshot below:

    1591614118formCal Screenshot 10

    Hope this helps.

    Do get back to us if you have any questions. 

  • noufm
    Replied on June 8, 2020 at 7:07 AM

    Thanks. I don't just want to see it, I also want to create conditions based on the order. I'm assuming this is not possible now. 

  • Ashwin JotForm Support
    Replied on June 8, 2020 at 9:18 AM

    What kind of condition you want to add in form? You can always add condition in form to check if multiple selection widget contains any specific activity name and then perform your action accordingly. You may have to add one condition per option you add in the widget but you can add condition to check it. 

    Please explain your condition requirement a bit more in detail, and we will check if it is possible to achieve it.