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

    Calculation value for Radio/dropdown field to be stored as submission data

    Asked by senpon on March 29, 2017 at 05:50 PM

    For Gender field, would like to show the option as Male and Female for client but I want the value to be downloaded as m for Male and f for Female in the excel sheet. How to do this?

     

    Thanks,

    Sen

  • Profile Image

    Answered by Ian on March 29, 2017 at 09:33 PM

    Calculation value will not be shown in submission, the label will be shown instead, you could however use the following workaround.

    Set the desired values "m" and "f" as label

    and  then set the label with custom CSS code as male and female.

    Here is the custom CSS code :

    label#label_input_36_0, label#label_input_36_1 {

        font-size: 0px;

    }

    #id_36 .form-radio-item:nth-child(1)::after {

        font-size: 20px;

        content: "Male";

        position: absolute;

        left: 30px;

        top:-5px;

    }

    #id_36 .form-radio-item:nth-child(2)::after {

        font-size: 20px;

        content: "Female";

        position: absolute;

        left: 30px;

        top:-5px;

    }

    Hope this helps