Why isn't these new widget compatible with conditional logic?

  • NeuroSupporter
    Asked on April 23, 2016 at 1:55 PM

    Hey Jot form family,

    I created a form for a client. When I saw all of the new apps that came out this month, I immediately got excited and attempted to use a few. Well that excitement was short lived because they are not compatible with the conditional logic rules.

    For example, I used the User Contributed Dropdown and the Multiple Field widgets. They both work well and look good on the form but are not functional with conditional logic. Can you please look into this for me? Thank you.

  • Charlie
    Replied on April 23, 2016 at 3:24 PM

    May we know how and what you would like to do with those widgets using conditions?

    Some of the widgets cannot be used in the conditional logic's "IF" statements. If you just want to show/hide widgets, that is possible in the conditions. However, if you want to get a value on the widget and use it on the "IF" statement, then not all widgets are designed to work like that. 

    Example:

    User Contributed Dropdown widget can returns the value of an option selected in the dropdown.

    Here's an example form: https://form.jotform.com/61135507930956. This is how my widget is setup:

    Why isnt these new widget compatible with conditional logic? Image 1 Screenshot 50

     

    Here's a simple conditional logic for that:

    Why isnt these new widget compatible with conditional logic? Image 2 Screenshot 61

     

    My condition is simple, I'm checking what is the option selected in the User Contributed Dropdown widget, if it is equal to "Option 1", then "SHOW" the "Submit" button.

    That condition works because we know what the actual output the widget has.

     

    Now I'm not sure what you meant by "Multiple Fields" widget? I'm checking your form by I'm seeing the "Configurable List" widget, is this what you are referring to?

    Why isnt these new widget compatible with conditional logic? Image 3 Screenshot 72

    I've asked because we actually have a Multiple Text Fields widget, which is different from the Configurable List widget.

     

    If you want to tie the "Configurable List" widget on a "IF" statement in the conditions, then I believe it is not possible, that widget holds multiple values and multiple input types (radio button, textarea, etc...), we won't be able to compare it on each row. Here's an example of it, noticed in my configurable list widget in the screenshot shows up in my "Textarea" field. I'm using conditional logic to output the value of the rows in a textarea field. Here's a test form on it: https://form.jotform.com/61135472242953 

    Why isnt these new widget compatible with conditional logic? Image 4 Screenshot 83

    This one is much more harder because we cannot filter or choose what part of the column we want to use in a conditional logic if you want to use it in an "IF" statement.

     

    Perhaps I'm missing something here, could you please let us know how you would like to tie the widgets in your conditions?

  • WeavexPert
    Replied on April 24, 2016 at 7:03 PM

    I want to use the User Contributed Dropdown widget in this example when sending email notifications. 

    For example, If Booking Agent is equal to Tomeka James (Option 1), send Notification #2. For some reason, the option doesn't show in the conditional logic. How can I fix that?

     

    I wanted to use the Multiple Field form in the School Info section. However, I was unable to customize my form so I had to separate them. 

     

    I already know how to use the Configurable List. I don't have any issues with that. 

  • WeavexPert
    Replied on April 24, 2016 at 7:09 PM

    Hey Charlie,

    I want to use the User Contributed Dropdown widget in this example when sending email notifications. 

    For example, If Booking Agent is equal to Tomeka James (Option 1), send Notification #2. For some reason, the option doesn't show in the conditional logic. How can I fix that?

    I wanted to use the Multiple Field form in the School Info section. However, I was unable to customize my form so I had to separate them. 

    I already know how to use the Configurable List. I don't have any issues with that. 

  • WeavexPert
    Replied on April 24, 2016 at 7:12 PM

    Hey Charlie, Sorry abut the other 2 responses. I was in my client's account and didn't realize it.

    I want to use the User Contributed Dropdown widget in this example when sending email notifications. 

    For example, If Booking Agent is equal to Tomeka James (Option 1), send Notification #2. For some reason, the option doesn't show in the conditional logic. How can I fix that?

     

    I wanted to use the Multiple Field form in the School Info section. However, I was unable to customize my form so I had to separate them. 

     

    I already know how to use the Configurable List. I don't have any issues with that. 

  • WeavexPert
    Replied on April 24, 2016 at 7:16 PM

    Hopefully, this is my account now. Lastly, you can disregard that configurable list example. Looks way too complicated. I dont even understand what you were attempting to show me.

    Those are my responses above. Just from my client's account. Sorry about that.

  • Ashwin JotForm Support
    Replied on April 24, 2016 at 11:28 PM

    Hello,

    Please be noted that though the "User Contributed Dropdown" option cannot be displayed in the condition but you can definitely add it in conditions by manually adding it. Please check the screenshot below:

    Why isnt these new widget compatible with conditional logic? Image 1 Screenshot 30

     

    Condition will trigger normally for user contributed widget as well. I also added a show/hide condition as well just to give you more clarity. Please check the screenshot below:

    Why isnt these new widget compatible with conditional logic? Image 2 Screenshot 41

     

    Hope this helps.

    Do get back to us if you have any questions.

    Thank you!

  • NeuroSupporter
    Replied on April 25, 2016 at 6:15 AM

    Hey ashwin_d,

    Thank you so much. This is exactly what I was looking for. What will happen if a name was added on a fly? How would the condition be set then?

     

    Also, will this work with the multiple field widget as well?

  • Ashwin JotForm Support
    Replied on April 25, 2016 at 7:39 AM

    Hello,

    Unfortunately the conditions cannot be used to compare a dynamic text which is added in the "User Contributed Dropdown" widget by users. As you can see in the screenshot shared, the condition requires text to compare with dropdown value and you will have to edit your form's to manually add the text in the condition. 

    Also, will this work with the multiple field widget as well?

    I would suggest you to please give me the exact name of the widget which you want to add in condition and we will take a look. There are multiple widgets with name "multiple"

    We will wait for your response.

    Thank you!

  • NeuroSupporter
    Replied on April 25, 2016 at 8:42 AM

    Hey ashwin_d,

    Ok that's understandable. So I guess I can just go back to using the regular drop down field since it works better than the new. I liked the new because it allowed me to add a contributor on the spot but then it all stops there.

    The multiple field widget that I was referring to is now in the form. I wanted to use this widget instead of creating multiple fields in order to change up the look of the form. However, I am unable to customize my auto responder with it. Is there a way to do that. Look at Auto responder #2 for what I would like to accomplish.

  • Charlie
    Replied on April 25, 2016 at 9:53 AM

    Unfortunately, the "Multiple Text Field" widget holds multiple text boxes but presents them as one value, if you want to map a specific text box of it in your autoresponder's recipient address, unfortunately, that is not possible using conditions.

    Is this the field you are referring to:

    Why isnt these new widget compatible with conditional logic? Image 1 Screenshot 20

     

    You need to break those to separate text boxes if you want to use each of them in your autoresponder and in the conditional logic.

  • NeuroSupporter
    Replied on April 25, 2016 at 11:45 AM

    Ok Charlie, thanks anyway. I guess I will find another way to use that widget.

    So, I understood what ashwin_d was describing to me and know how to accomplish it. However, it cannot be accomplished on the old version. I had the new version but switched back to the old version in order to lock my data tables. (That feature is not available on the new version)

    So how do I get back to the new version? Will I will need to go back and forth until this is rectified? Because I like to lock my data tables in my notifications.

  • Charlie
    Replied on April 25, 2016 at 12:56 PM

    If you have set the data tables to be locked and you want the empty fields to hide in the email notification, then it will remain as it is if you changed it in the old preferences. You can then access the new conditions wizard by adding &test on your URL. Example: Login to www.jotform.com/?&test. That should give you the new wizards for the conditional logic.  However, if you open the notification wizard and edit the email template, then the "Hide Empty Fields in Emails" feature will no longer work again.

    I hope that helps.