Mandatory only if field selected

  • Profile Image
    smithce1
    Asked on January 03, 2012 at 12:53 PM

    Hi,

    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
    NeilVicente
    Answered on January 03, 2012 at 03:10 PM

    Cesar,

    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
    smithce1
    Answered on January 03, 2012 at 03:36 PM

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

  • Profile Image
    NeilVicente
    Answered 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: