Get only the final/last value of the dynamic dropdown widget

  • snaplash
    Asked on December 15, 2015 at 5:07 PM

    Hi Jotform,

    Firstly let me thank you for the most amazing customer support I have ever experienced in an online service. It truly is spectacular and the customer loyalty you have instilled in me is beyond question. I would reccommend Jotform to anybody

     

    I created a test:

    http://www.jotform.com//?formID=53486367574974

     

    When the information is passed to submissions is shows all the dropdown options that lead to the final choice.

    ie. CeilingCeiling Height9 feet

    is there a way to get just 9 feet passed as data?

     

    If not could you suggest another way to separate multiple inputs and lots of options by sections?

     

    Thank you! 

  • Chriistian Jotform Support
    Replied on December 15, 2015 at 8:10 PM

    Hi,

     

    Thanks for your positive feedback. We appreciate it. Regarding on your concern, as per checking, there is no current way to only get the value selected for the last select option in the Dynamic Drop down widget. As a workaround, you can achieve it by manually adding a drop down fields and setting up conditions. Here is a sample form that you can check: https://form.jotformpro.com/53487270840964. You can try to clone the form to have a closer look on the setup.

     

    Do let us know if you need further assistance.
    Regards.

  • snaplash
    Replied on December 15, 2015 at 8:37 PM

    Thank you, its appreciated! This issue is now resolved, however it would be nice to have a widget like that in the future.

     

    Once again many thanks!

  • Ashwin JotForm Support
    Replied on December 16, 2015 at 2:31 AM

    Hello snaplash,

    On behalf of my colleague, you are welcome. 

    I believe with a little workaround and by taking advantage of "Substring" widget, we should be able to achieve this. 

    Let me test this and get back to you a little latter.

    Thank you!

  • snaplash
    Replied on December 16, 2015 at 9:17 AM

    I did have a look at the Substring widget, but i could not figure out the best way to success.

     

    Thanks for your input and I look forward to your suggestions

  • Ashwin JotForm Support
    Replied on December 16, 2015 at 11:05 AM

    Hello snaplash,

    You are right. Using Substring widget for your requirement looks challenging. How about just using conditions for now? You can check the selected value of Dynamic Dropdown and then based on the selection, you can insert the desired value in the output textbox.

    Please take a look at the following cloned form and see if the output looks acceptable:  https://form.jotform.com/53490912013953? 

    Feel free to clone this form for a closer look. The following guide should help you in form cloning:  http://www.jotform.com/help/42-How-to-Clone-an-Existing-Form-from-a-URL 

    Hope this helps for now.

    Do get back to us if you have any questions.

    Thank you!

  • snaplash
    Replied on December 16, 2015 at 7:06 PM

    Unfortunately this is not going to work for me.

    I have a possible 25 Scenes of a Video that users upload their content to, and also at least 5 voice over options for each scene chosen from about 10 categories with at least 8 options on each.

     

    that would mean I would have to recreate the multiple (way over 20) conditional logic parameters over 125 times because the conditional logic will not follow on duplication

     

    Are you sure there is no other way?

  • snaplash
    Replied on December 16, 2015 at 10:08 PM

    OK after a few days, I now have a solution that you should pass on to others with the same issue.

    by adding a number of spaces to the hierarchy and then adding a hyphen to the last one.

    ie, make every input 10 characters long.

    plant    -

    animal   -

    then use the substring copywidget  to omit the same amount of characters from the begining

     

    this system can then work on all the dropdowns. it doesnt look too bad at all

  • Elton Support Team Lead
    Replied on December 17, 2015 at 1:03 AM

    Glad to hear you've found a solution. That is indeed an excellent workaround. Nice one! :)

    I actually have a solution too, but this is a bit tricky since this involves taking your form source code then injecting custom script that parses the data and get the last value after a delimiter.

    Example:

    https://shots.jotform.com/elton/getLastValue.html

    Anyway, glad to hear you've got a much easier solution without using source codes.

    Cheers!