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

    Conditional Fields in Notification Email

    Asked by velassaru on August 15, 2011 at 08:06 AM

    I use the From Collapse function on my form as there are sections on the form which are optional. In my case (see submitted URL below) this form allows a guest complete the main form and has the option to click the "2nd Occupant" or "3rd Occupant" form collapse buttons to complete those sections if they wish to.

    Now, if a guest completes the main form but DOES NOT collapse/complete the 2nd Occupant/3rd Occupant sections and submits this, I recieve a notification email with all the guests details including the blank fields for the 2nd Occupant/3rd Occupant sections. Is there any way I can NOT receive the blank sections on the form collapse sections unless someone completes it?

    Page URL:
    http://www.velassaru.com/pre-register.html

  • Profile Image
    JotForm Support

    Answered by NeilVicente on August 15, 2011 at 08:39 AM

    Hi,

    There is no easy way to do this but there is a workaround which may take some effort to implement. Here's how it's going to work:

    Create three separate notifications for 1 guest, 2 guests, 3 guests submissions

    Modify these notifications to show only the sections that matter. For example, notification for single guest will only display filled out sections for a single occupant. Same goes for 2 guests and 3 guests.

    To delete sections, simple click on its row then click the Delete row button

    Implement a set of conditions that will choose a notification to send to you depending on the fields filled out by the customer.

     

     

    Let me know if you have questions regarding this workaround. Thanks!


    Neil

  • Profile Image

    Answered by velassaru on August 15, 2011 at 09:35 AM

    Hey Neil,

    You're right about it being no easy task, but you're a genius! Been playing around with the Conditions bit but got no where as I was just being daft! Will give this a go.

     

    Thanks v. much!!

    Kate

  • Profile Image
    JotForm Support

    Answered by NeilVicente on August 15, 2011 at 09:57 AM

    Please do test this workaround for your form. You may use a clone for testing purposes to prevent complications in your original form. Let us know how it works for you. I'll be looking forward to your updates. Thanks!

  • Profile Image

    Answered by kurumba on October 07, 2011 at 05:31 AM

    Had to use this format again for another form recently and you popped into my head! Just want to say thanks again for this! It has been really helpful!

  • Profile Image
    JotForm Support

    Answered by NeilVicente on October 21, 2011 at 07:49 AM

    @kurumba

    You are very much welcome to use this workaround. Should you have other questions or concerns, please do let us know. Thanks!


    Neil