Dual Listbox widget: Character limit per option?

  • jeff.jacobs.bcba
    Asked on October 6, 2015 at 8:40 AM

    The script works nicely. PROBLEM (nothing to do with the script) that the number of characters available per line in the "select values" box is limited=after a certain number of characters the characters or words are not visible. That means the boxes containing the "values" should be expandable and probably need to be placed vertically above each other vs side-by side. This could be an option within the widget for longer text.

     

    Jeff

  • Charlie
    Replied on October 6, 2015 at 9:05 AM

    Hi,

    To confirm, the problem is that there's a character limit in the Dual Listbox widget, is that correct? Have you tried using "|" as a separation for each option?

    Dual Listbox widget: Character limit per option? Image 1 Screenshot 30

     

    When I use the option, the options selected from left to right are complete and not cut off in the submission.

    If you are referring to the long options to be shown fully in the form, then you can try adding this custom CSS code in the widget:

    option {

      word-wrap: break-word;      /* IE*/

      white-space: -moz-pre-wrap; /* Firefox */

      white-space: pre-wrap;      /* other browsers */

      display: block;

    }

    However, I believe this only works in Google Chrome view, here's where you can add it:

    Dual Listbox widget: Character limit per option? Image 2 Screenshot 41

    You can check this test form that I made and view it in Chrome: http://form.jotformpro.com/form/52784021965965? 

    Let us know if that's what you meant.

  • jeff.jacobs.bcba
    Replied on October 6, 2015 at 9:47 AM
    Thanks Charlie,
    I cloned your form, but what keystroke is the vertical line on a Mac?
    Jeff
    ...
  • Charlie
    Replied on October 6, 2015 at 10:58 AM

    Hi Jeff,

    I don't have a Mac computer right now, but I see that the Apple support discussed it here: https://discussions.apple.com/thread/1875126. See if that thread helps.

    Let us know if that works.

  • jeff.jacobs.bcba
    Replied on October 6, 2015 at 11:47 AM
    Yes -that’s the right keystroke. I will work on testing everything tonight and email you the outcome.
    ...
  • Charlie
    Replied on October 6, 2015 at 1:12 PM

    Great. Please do update us if you need more information on this :)

    Thank you.