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

    Mandatory only if field selected

    Asked by smithce1 on January 03, 2012 at 12:53 PM


    Im creating a form with several fields, but I need to have mandatory fields only if some options are selected.


    For example, I have three options for products:

    Cars, Motorcycles and Boats.

    I also have a options field

    Incluide service, No service, Extended warranty.

    The three options above are optional for Cars and Motorcycles, but for Boats its mandatory.


    How can I do that? I already try using Conditions, but all I get is show or hidde.


    Thanks for your help.

    Cesar Smith

  • Profile Image
    JotForm Support

    Answered by NeilVicente on January 03, 2012 at 03:10 PM


    Try this solution:

    Insert two copies of the options field (include service, etc.) on your form then configure one copy to be required or mandatory.

    Then, use conditions to show the non-mandatory options field if the user chooses Cars or Motorcycles; and to show the mandatory one if the user chooses Boats.


    Click here to see this workaround in action.

  • Profile Image

    Answered by smithce1 on January 03, 2012 at 03:36 PM

    I think it may work, just let me check how the email report works.

  • Profile Image
    JotForm Support

    Answered by NeilVicente on January 03, 2012 at 03:50 PM

    If you are worried that there would be two separate lines in the email report for both fields, then you can just consolidate the fields on a single line.

    From this:

    To this:


    To remove a table row in the email template, click the delete row button in the Compose Email window: