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

    If then condition and autogenerate specific value

    Asked by awelling on August 21, 2013 at 03:18 PM


    Can I do an "If Statement"

    I need this to happen:

    If a person chooses "ABC Carrier", I need the "DOT#" to autogenerate to the specified carrier.


    Is there a way to do this?

  • Profile Image
    JotForm Support

    Answered by jonathan on August 21, 2013 at 06:04 PM


    " If a person chooses "ABC Carrier", I need the "DOT#" to autogenerate to the specified carrier."

    Yes, there is an "If statement" RULES in the condition wizard.
    BUT what it cannot do in the ACTION  statement is autogenerate,calculate or create new value.

    The action statement can only Show/Hide, redirect, or change page. You can review more here Smart-Forms-Using-Conditional-Logic


    In your statement, the specified carrier should already be existing in the form for you to apply an action  to it.

    To be able to autogenerate, you will need to use the form's source code and add you own javascript or PHP code that will do it. Then, you can use this in the form's ACTION statement.

    Hope this help. Please inform us if you need further assistance.