Alternative if Field is Empty

  • robbiebpw
    Asked on August 6, 2018 at 2:49 AM

    Hi Team,

    I am completing a feedback form and I am giving people the option to leave feedback anonymously.

    On the auto-respond email I would like to mention the customer's name (ie {name} ) but if the customer wants to be anonymous this field will be blank.

    If the field is blank I would like the email to say Hi Anonymous instead of Hi Fred. 

    Is there a code to say if blank use this text?


    Thanks


    Robbie McEwin


  • daisy JotForm UI Developer
    Replied on August 6, 2018 at 9:32 AM

    You should create two autoresponders for each condition:

    1533562250Screen Shot 2018 08 06 at 16 Screenshot 10


    Then you can follow these steps in order to send email based on condition:

    https://www.jotform.com/help/167-How-to-Send-Email-Based-on-User-s-Answer