Conditions > Widgets : cannot get to sub-fields to affect form's logic / flow

  • Profile Image
    CscProvidence
    Asked on October 03, 2017 at 01:29 PM

    It seems some, if not all, widgets cannot be properly used within "Conditions".

    For example, the Configurable List widget can have multiple rows of multiple columns, each column being one of many type of 'element' (checkbox, ...)  It becomes difficult to do any sort of conditions with contents w/out loosing the relationship of elements within rows.

    Can one even tally values within given columns ?


    I love Jotform.  However, it still has some quirks especially with data from a widget.

  • Profile Image
    John_Benson
    Answered on October 03, 2017 at 01:53 PM

    It is not possible to apply any conditions to the Configurable List widget. The widget fields are usually limited in terms of conditional support compared to the standard fields.

    I hope this information helps. If you have any questions, please let us know. Thank you.

  • Profile Image
    CscProvidence
    Answered on October 03, 2017 at 05:25 PM

    I don't want to apply a condition TO a Configurable Field, much less to one of its column / cell...  Yet, it could come in handy to remove a column or two under certain conditions without having to resort to two versions of the Configurable Field and only display one... With two fields, only one visible at a time, the data collects in... two fields, not one. This makes analysis more complex as well.


    I want to use one or more values within a Configurable Field, for example, to create one (or more) condition on some other fields(s) within the same form.

    For examples :

    1) if there are 2+ rows with values, the form would display or hide other fields, calculate something, send a different email, ... whatever  (There might be a way to count rows in a Configurable Field ?)

    2) if a column contains certain values, the form would do something else  (Say the table collects names and ages and if anyone was less than 18 year old the form would display particular text warning of something, or whatever ...)

    3) ...


    The issue exists with other widgets.  I use Find a Country widget to add a visual twist to some forms.  Problem is that I can't use the collected value in conditions or to calculate, even if the value is saved and reported with the correct format :

    Pays de naissance
    France
    Pays de citoyenneté
    Canada

    I just tested, to make sure my notes where in order.  It saved the above shown values. Which seems perfect, just text, when typing the values (clicking on suggested values).


    However, the condition which uses "Pays de naissance" with a value of "France" to hide the next field or copy the value to it, nothing changed (on screen) and no errors either.


    Of course, the condition could not handle the volume of possible values.  Yet, I have the forms which require to behave a certain way for certain values.  Using Find a Country  is nice visual and allows use of Google to get a uniform spelling.  Yes, I could have a drop-down with those countries of interest, an Other option for any other possible answer and then maybe feed that into an other widget to map it out to keep the visual aspect going. Hoping that other widget could be set by a 'calculation'. But the visual of Find a Country  also has advantage of auto-complete / show list of likely choices thanks to Google.


    Anyways, the point is the value(s) of some widgets, maybe all widgets (?), are not able to trigger conditions or be used in (some) calculations.  Data collection is ONE aspect of forms ... and the power of JotForm.


    Just looking to leverage as many features as possible.  It just seems so inconsistent that values of widgets can't be used for much more than collect the data for later processing.

  • Profile Image
    BDAVID
    Answered on October 03, 2017 at 06:48 PM

    1) Unfortunately, we do not have a feature to count the rows added in the configurable list widget. But if you want to, we can send that as a feature request to our back-end team.

    2) It is not possible to work with conditions and the Configurable List widget.

    3) Please note that most of the widgets are not supported by the conditional logic feature, that is the reason why what you are trying to accomplish is not working.

  • Profile Image
    CscProvidence
    Answered on October 11, 2017 at 11:45 AM

    The problem became worse.  The 'validation' done by Google on those address and country widgets do not seem to work anymore. 

    In the case of the address widget, it prevents people from entering an address, even manually within the individual fields.  Which they can edit if the widget does the search properly.

    In the case of the country selector, people can still enter text, hopefully a valid country with the correct spelling.  The field returns the text.


    However, not being able to do conditions on these fields (and there sub-fields) is a major draw back which limits the possibilities of manipulating data and form within JotForm.


    I have not tried, but can we assign their value to a hidden field which could be used and acted upon by conditions and other features of JotForm ?

  • Profile Image
    John_Benson
    Answered on October 11, 2017 at 12:56 PM

    To better assist you, could you please provide the form link so we can check it further?

    We'll wait for your reply. Thank you.

  • Profile Image
    CscProvidence
    Answered on October 12, 2017 at 12:56 PM

    Unfortunately, I had to remove the use of the widget in question, replacing it with a plain old address field, since the form was in service and otherwise not working.

    But you should be able to create a simple form with the address validation widget and the country picker widget (both use Google to suggest and validate the user entry). From this, add a few other ordinary fields and create a couple of conditions.  Ex:

         1) if the address' city is "Detroit" show an other field.

         2) if the country picked in the other widget matches the one of the address do ...

         3) Calculate (fill) an other field with the street number and name from the address

    These should be enough to see that conditions can't react to values from at least those 2 widgets and that values from these widgets can't be used for anything but data collection for later processing outside of JotForm.

    -----

    I will check as I think I just made the widgets hidden, just in case they could be made to work again.  But confidence level is low on the stability of widgets at this point.  I have to go into a meeting, so give me a couple of hours to confirm if I can clone and reactivate to test from your end.

  • Profile Image
    Nik_C
    Answered on October 12, 2017 at 02:27 PM

    Please let us know, but with widgets is hard to achieve conditional logic like with regular plain text fields, since widgets are in separate frames, so data is not handled in the same way when it comes to widgets and conditional logic.

    Anyhow, please let us know if the form is ready so we can check and see what can be done about it.

    Thank you!