Configurable List: Conditinal logic based on value input

  • Profile Image
    moses5407
    Asked on November 08, 2021 at 11:24 AM

    My goal would be to have certain secondary fields show up based on the choice from a dropdown list, for example.

  • Profile Image
    moses5407
    Answered on November 08, 2021 at 12:12 PM

    or possibly to have dependent dropdown lists..?

  • Profile Image
    Hanne_L
    Answered on November 08, 2021 at 01:24 PM

    @moses5407

    Thank you for reaching out. 

    You may wish to look into the widgets for dynamic dropdowns. We have two that might suit your needs. The first is called Dynamic Dropdowns, and the second is called Grouped Values Dropdown.

    1636395802_61896b1a2681b_drop.gif

    Please have a look and let me know if they will work for you. If not, I will be happy to try and find a different solution.

  • Profile Image
    moses5407
    Answered on November 08, 2021 at 02:11 PM

    The dynamic dropdown is good ... but I'm wanting to have that embedded in the configurable list in order to allow for multiple rows to be added by the user OR to have some other way for the user to add multiple instances of groups of predefined fields.

  • Profile Image
    moses5407
    Answered on November 08, 2021 at 02:19 PM

    To be a little more clear, this is not intended to be hiding or showing multiple fields but rather ADDING a repeatable group of multiple predefined fields among which would be dynamic dropdowns or even hidden fields to be revealed based on user selection in another field.

    It doesn't seem possible to target fields WITHIN a configurable list in the conditional logic section.

  • Profile Image
    Hanne_L
    Answered on November 08, 2021 at 03:42 PM

    @moses5407

    Thank you for following up.

    You are correct. Certain conditions will not work on the Configurable List. However, you can use the Show/Hide condition with the list by going for a Value input rather than one specific field. So if they input the selected value, a different field could show up.

    1636404042_61898b4ae9192_config.gif

    I hope this can be useful in what you want to achieve.

  • Profile Image
    moses5407
    Answered on November 09, 2021 at 10:57 AM

    First, thanks very much for your persistence in this question series!

    Even if you hadn't provided a workable solution that would still be much appreciated.

    And it looks like you DID find the solution for me!

    I need to do some testing but it seems the "value" approach will let me do what I wanted.

    Thanks!

  • Profile Image
    Hanne_L
    Answered on November 09, 2021 at 12:03 PM

    @moses5407

    An absolute pleasure! I hope the testing goes well and you can achieve the desired results.

    If you need assistance in the future, please do not hesitate to reach out. We will be happy to help!

  • Profile Image
    moses5407
    Answered on November 10, 2021 at 04:27 AM

    Well, on testing it seems that this was CLOSE ... but not the solution I was looking for.

    The hide/show is fine and the dynamic dropdown would be very useful ... but I need the hide/show section to be within the given configurable list row since the variable data would be related to a given row date.

    I couldn't tell from the video screen capture that the dynamic filed was outside the list.

    Since conditional logic doesn't seem to be available in a configurable list, is there a guide to creating my own custom widget?

    Thanks!

  • Profile Image
    moses5407
    Answered on November 10, 2021 at 04:29 AM

    and is code available for the existing elements/widgets?

    It would be easier to extend/modify than to create de novo...

    and I'm lazy. :-)

  • Profile Image
    moses5407
    Answered on November 10, 2021 at 04:46 AM

    ON this theme, is it possible to sort row results from a configurable list?

    In this case, I want to sort the rows by the date selected even if the dates selected for the rows are not in ascending or descending order when entered.

    The sort could happen before form submission or after.

    Thanks!

  • Profile Image
    moses5407
    Answered on November 10, 2021 at 04:53 AM

    It seems most of what I need to do would be accomplished by being able to save a collection of widgets into a repeatable section on the form, hopefully allowing any of the widgets in the section to be controllable via conditional logic.

    I'm looking to see if that possibility exists but so far I don't see it.

  • Profile Image
    moses5407
    Answered on November 10, 2021 at 04:57 AM

    That "group widget" would need a + function like the customizable list so groups could be added dynamically as needed.

  • Profile Image
    Jovanne_A
    Answered on November 10, 2021 at 07:19 AM

    Hi,

    The hide/show is fine and the dynamic dropdown would be very useful ... but I need the hide/show section to be within the given configurable list row since the variable data would be related to a given row date.

    Based on my understanding, you want your configurable to be dynamic based on the selection and value entered on the configurable list. Unfortunately, the conditions feature has its limitations. We cannot show/hide value based on a row date in the configurable date affecting the field itself.

    Since conditional logic doesn't seem to be available in a configurable list, is there a guide to creating my own custom widget?

    As of this time, we do not have a way to customize your own widget. You can make use of the existing ones and tweak them based on your preferences.

    ON this theme, is it possible to sort row results from a configurable list?

    Configurable lists have no capability to sort row results. You may view this guide below to know more:

    GUIDE: how-to-set-up-the-configurable-list-widget

    I hope this helps.

    Thank you.



  • Profile Image
    moses5407
    Answered on November 10, 2021 at 11:35 AM

    Yes, I had seen the guide but was hoping for different answers.

    However, regarding this answer:


    "As of this time, we do not have a way to customize your own widget. You can make use of the existing ones and tweak them based on your preferences."

    Is the Jotform Custom Widget API deprecated?

  • Profile Image
    Hanne_L
    Answered on November 10, 2021 at 01:09 PM

    @moses5407

    I apologize that the answers provided were not satisfactory. You may be able to find helpful information by visiting these two links, directly about the API.

    Alternatively, you may also download the source code and make any needed changes or additions. For how to do so, please see this guide: How to Get the Full Source Code of Your Form.

    Please, do let me know if you have additional questions.


  • Profile Image
    moses5407
    Answered on November 11, 2021 at 05:30 AM

    I slowly realized that maybe the best way to accomplish what I'm looking for is with a linked set of forms/tables.

    Along that line, are prefills dynamic once set up ... that is, if I have one form (A) dependent on data from another form (B) (or that form's associated table) .. is a new form B created automatically from Form A's submission?

    Thanks!

  • Profile Image
    Tommaso_F
    Answered on November 11, 2021 at 06:22 AM

    Hey Moses,

    Could you please give us more details about your concern so we can assist you properly?

    Unfortunately, your description doesn't let us provide the best support. Could you please rephrase?

    We look forward to your response.

  • Profile Image
    moses5407
    Answered on November 11, 2021 at 06:46 AM
  • Profile Image
    moses5407
    Answered on November 11, 2021 at 07:14 AM

    I would like to have a second form,say, a class request form, be created AND populated with client registration data from a client registration form.

    At the moment, it seems I can set up and run a prefill but this prefill does not add new items to the prefill list when I add the next client via the registration form.

    And no created forms show up in the second "class request" form data table.

    So, it looks like I'd have to set up a run a prefill each time a new client registers via the first form.

    I hope I'm missing something. Dynamic form creation from established prefills is what I need.

    I hope that's more clear.

    Thanks!

  • Profile Image
    Billy_G
    Answered on November 11, 2021 at 07:28 AM

    Hi there!

    To confirm, you want a new form to be created automatically when a previous form is submitted. The newly created form would then have its fields filled out automatically based on the previous form's submission, correct?

    If that's the case, unfortunately, that's not possible. There's no function to automatically create a new form. You may want to create a new form first and have its values filled out using URL parameters. Click here to learn more.

    I'd like to address one of your inquiries earlier regarding creating your own widget.

    Since conditional logic doesn't seem to be available in a configurable list, is there a guide to creating my own custom widget?

    I found this link that allows you to register your widget via iframe: https://www.jotform.com/developers/widgets/new/

    1636633552_618d0bd07ad62_

    I have not tried creating one myself so I hope that you'd be able to use your custom widget already without going through any approval.

    Let us know if you need further assistance.

    Best regards,

  • Profile Image
    moses5407
    Answered on November 11, 2021 at 07:46 AM

    Thanks very much!