How to Add Comma Between Prepopulated Values?

  • jaguarli
    Asked on October 19, 2015 at 11:36 PM

    Hi,

    I've create a form with a multiple option of drop menu, naming title.

    I then added a html text with {title}.  And I could get the AC in the below link.
    https://form.jotform.me/52919067061457?title=A,C

    Is it possible that I could add a 'separator' between the selected options.  I mean when I select A and C, the html text will show A,C instead of AC.  Is it possible?

  • mert JotForm UI Developer
    Replied on October 20, 2015 at 4:54 AM

    Hi,

    I tried to do what you want with the "{title[0]}, {title[1]}, {title[2]}, {title[3]}, {title[4]}, {title[5]}", but it doesn't work. Because, in "Dropdown" field all options collected under the one name.

     

    To add a comma between prepopulated values, you can try it with "Checkbox" field. Do the same thing with the previous one and add a "{edit}" word into your "Text" field.

     

    Below you can find the demo:

    https://form.jotform.com/52921873029964?edit=Option 1,Option 2,Option 3,Option 4

     

    I hope this solution will work for you.

    Thanks.