single condition to complete multiple actions

  • chrisgrouge
    Asked on June 17, 2016 at 1:13 PM

    Is it possible to have one IF conditional complete multiple actions?

    For instance if textbox1 = Client

    Calculate textbox2 & calculate textbox3

    I'm unable to find any answers through the support forum for this.

  • David JotForm Support Manager
    Replied on June 17, 2016 at 2:27 PM

    Yes, it is possible to work with calculations based on conditions. Example: https://www.jotform.com/help/268-How-to-Insert-Text-or-Mathematical-Calculation-into-a-Field-Using-Conditional-Logic 

    single condition to complete multiple actions Image 1 Screenshot 20

    Let us know if you need more help.

  • chrisgrouge
    Replied on June 17, 2016 at 2:35 PM

    But is there a way to create one rule that calculates multiple fields? I am looking for a form that allows me to type in one field then multiple fields auto populate using conditional rules.

  • KadeJM
    Replied on June 17, 2016 at 3:02 PM

    I apologize but I am not sure if I am understanding what you are saying above correctly or not.

    Do you mean you want to have a calculated condition which then populates into multiple fields? 

    Or do you mean something else?

    Can you provide us with a verbal example of what it is you are trying to do with calculated multiple fields and this way we can try to assist you more appropriately with a possible solution if any.

  • chrisgrouge
    Replied on June 20, 2016 at 3:42 PM

    Here's an example:

    I have three text fields: First Name, Last Name, Company

    Can I create one rule that says "If first name equals John, Then type in Green in the last name field and IT Consulting, LLC. in the company field"

    I hope this makes sense.

    Thank you in advance!

  • David JotForm Support Manager
    Replied on June 20, 2016 at 5:18 PM

    I believe you want the following to happen:

    single condition to complete multiple actions Image 1 Screenshot 30

    You need to create two conditions to accomplish it, example:

    single condition to complete multiple actions Image 2 Screenshot 41

    Let us know if you need more help.