PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

Required Multiple Choice Error

  1. Jackson Murphy
    Member

    Hello-
    I'm having an error on my form. I have a Multiple Choice Field that is Required. There are conditional fields that show up when each one is selected. But when I hit submit, it's saying the Multiple Choice field needs to be selected?
    I have tried to use the Product Multiple Choice field, and the regular Multiple Choice field without any luck?

    http://www.consultspringboard.com/registration-course-sb1001-new/

    Please help :)
    Thanks!

    Posted 13 years ago on Friday July 8, 2011 | Permalink
  2. Jackson Murphy
    Member

    Thanks Carl!

    Carl emailed me the solution:
    The problem is you are using a Product Field for the "Select Single or Group Unit" but you have left the Price for both options completely blank. A blank price won't validate as a selection and is not the same thing as a price of $0.00. See this screenshot: http://i.imgur.com/8lC4r.png

    When you enter a blank price this won't pass validation. A blank price is for creating a placeholder option in things like a Drop Down field that say "Select a Product" for instance, because the price is blank it makes it so the user can't leave "Select a ..." as the selected value and forces them to make a selection.

    If a field is required the price can't be blank/empty. It has to have a value, even if that value is $0.00.

    I went ahead and made the price $0.00 for each of these options. See this screenshot: http://i.imgur.com/S6Lhp.png

    The form now works as intended and the price is being calculated correctly because the Member/Non-Member option field increases the price to what it should be based on what they select.

    Posted 13 years ago on Friday July 8, 2011 | Permalink
  3. Reposting this response which was sent via Priority Support so other users can benefit from the solution.

    The problem is you are using a Product Field for the "Select Single or Group Unit" but you have left the Price for both options completely blank. A blank price won't validate as a selection and is not the same thing as a price of $0.00. See this screenshot: http://i.imgur.com/8lC4r.png

    When you enter a blank price this won't pass validation. A blank price is for creating a placeholder option in things like a Drop Down field that say "Select a Product" for instance, because the price is blank it makes it so the user can't leave "Select a ..." as the selected value and forces them to make a selection.

    If a field is required the price can't be blank/empty. It has to have a value, even if that value is $0.00.

    I went ahead and made the price $0.00 for each of these options. See this screenshot: http://i.imgur.com/S6Lhp.png

    The form now works as intended and the price is being calculated correctly because the Member/Non-Member option field increases the price to what it should be based on what they select.

    Posted 13 years ago on Friday July 8, 2011 | Permalink

This topic has been resolved and has been closed to new replies.