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

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

    Asked by mariusz.kaluska 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
     
     
     
    name email last name check create conditions conditional email
  • Profile Image
    JotForm Support

    Answered by Welvin 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

    Answered by mariusz.kaluska on March 03, 2015 at 03:43 PM

    Great.

    Now it works fine.

    Thank You

     
     
  • Profile Image

    Answered by Ben 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

    Answered by mariusz.kaluska on March 03, 2015 at 04:15 PM

    Maybe You can help with this one

    How to update field value ...:-)

     
  • Profile Image

    Answered by Ben on March 03, 2015 at 04:18 PM

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