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 can I link a code field to a dropdown list?

    Asked by JonPetersen on November 15, 2012 at 03:17 PM

    I have a form that uses several dropdowns to collect user information. When I export the form data, I'd like to see a code returned for each text choice, rather than the whole entry.

    eg. "Corporate/General Manager" = A

         "Traing/HR" = B

     

    I know I can stick the code letter at the head of each list item, then only look at the first character on export. I was wondering if there was a slicker solution.

     

    Thanks,

    Page URL:
    http://form.jotform.us/form/21096681665158

  • Profile Image
    JotForm Support

    Answered by Mike_T on November 15, 2012 at 04:01 PM

    Thank you for contacting us.

    Unfortunately, we do not have such an option.

    Alternatively, you may try the following:

    1. Change the Drop Down options to corresponding code letters.

    2. Get your form source code.

    3. Copy that code to some text editor, and change the text for options.

    4. Embed updated form source to your web page.

    In this way, you will get code letters (values) on your Submissions page.

    Please feel free to contact us if you need any further assistance.

  • Profile Image

    Answered by JonPetersen on November 15, 2012 at 05:35 PM

    Interesting workaround.

     

    And step 4 - if the form is hosted on jotform.com?

    Do I upload the edited HTML to a new jotform?

     

    Thanks,

  • Profile Image
    JotForm Support

    Answered by Mike_T on November 15, 2012 at 05:40 PM

    I am sorry, but this is not possible to upload changed code back to the JotForm form builder. You will need to add updated code to your web page.

    Note: Injected CSS code may be added via form builder, but this is not working like this for scripts and form html.

    If something is not clear, please let us know. We will be happy to help.

  • Profile Image
    JotForm Support

    Answered by Mike_T on November 15, 2012 at 05:42 PM

    And step 4 - if the form is hosted on jotform.com?

    This will be hosted by your site, but submitted to our servers.