How can I send an email if last name field is filled?

  • Profile Image
    mariusz.kaluska
    Asked on March 03, 2015 at 06:52 AM

    Hello
    I would like to create an form that will be send an email if someone will check "No" option in field "Question"

    I've created other hide field and I named it "control" Its value is a copy from "Last Name" field,

    I've created a condition to send an email when a value of "control" field is equal to "Last Name" from my list and it works

    I have added new rules and it works same fine.

    But list of my Last names have 50 entries so i would not like to add 50 rules

    I tried to create condition to send an email when a value of my "control" field contains one of values from my list, example:

    Nowak, Kowalski, Roman,

    but when I've filled "last name" with value Nowak then it's not working.

    Please help me.


    Maybe I made mistake and should some other way write condition? (In help it says Use commas but how?)

    Maybe there is better way to do what I want?

    Regards
    Mariusz K.

     Examples
     
     
     
  • Profile Image
    Welvin
    Answered on March 03, 2015 at 10:36 AM

    Hi Mariusz,

    You have a space after the comma, try to remove that and see what will happen. Also, try not to include all the list in a single conditional logic. If possible, break it to five conditional logic. 10 last name per condition.

    I've tried it here and it's working fine so I think the comma is causing it.

    Thank you!

  • Profile Image
    mariusz.kaluska
    Answered on March 03, 2015 at 03:43 PM

    Great.

    Now it works fine.

    Thank You

     
     
  • Profile Image
    Ben
    Answered on March 03, 2015 at 04:10 PM

    It is great to hear that and in my colleague's Welvin name you are welcome :)

    Do let us know if you have any further questions and we would be happy to assist.

  • Profile Image
    mariusz.kaluska
    Answered on March 03, 2015 at 04:15 PM

    Maybe You can help with this one

    How to update field value ...:-)

     
  • Profile Image
    Ben
    Answered on March 03, 2015 at 04:18 PM

    Yes, we will be on it shortly and help you set it all up :)