What is JotForm?
JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.

At JotForm, we want to make sure that you’re getting the online form builder help that you need. Our friendly customer support team is available 24/7.

We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.


  • Profile Image

    How to Add Comma Between Prepopulated Values?

    Asked by jaguarli 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?

    Page URL:
    https://form.jotform.me/52919067061457?title=A,C

    drop create a form JotForm create selected
  • Profile Image
    JotForm Support

    Answered by mert on October 20, 2015 at 04: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.