If then condition and autogenerate specific value

  • Profile Image
    awelling
    Asked on August 21, 2013 at 03:18 PM

    Question:

    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?

    Screenshot
  • Profile Image
    jonathan
    Answered on August 21, 2013 at 06:04 PM

    Hi,

    " 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.

    Thanks.