This field is required | Community
Skip to main content
Joseph_Long
New Participant
January 6, 2017
Solved

This field is required

  • January 6, 2017
  • 3 replies
  • 4121 views

Hello everyone,

Having trouble with a field in a form. Specifically, the select type field.

All of the options are entered, however, when viewing the form live a "This field is required " error keeps being displayed.


Here is the link to the form: Events | Looker

Any insight as to why this is occurring?

Screenshot of field setup below:

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Dan_Stevens_

I'm assuming you want the field to be required - but the issue is when someone selects the first option and you still get the pop-up, right?  If so, don't place one of the values as the first choice since this first value cannot contain a stored value.  Instead, include a null "Select a date" option as the first value - similar to how we do it for country name:

3 replies

Dan_Stevens_
Dan_Stevens_Accepted solution
New Participant
January 6, 2017

I'm assuming you want the field to be required - but the issue is when someone selects the first option and you still get the pop-up, right?  If so, don't place one of the values as the first choice since this first value cannot contain a stored value.  Instead, include a null "Select a date" option as the first value - similar to how we do it for country name:

Joseph_Long
New Participant
January 6, 2017

That makes sense. Thanks Dan!

Grégoire_Miche2
New Participant
January 6, 2017

uncheck the option here:

-Greg

Joseph_Long
New Participant
January 6, 2017

I should have been clearer.


I do want the field to be required. The problem is when selecting submit the "This field is required" message keeps on popping up.

Grégoire_Miche2
New Participant
January 6, 2017

Then Dan's suggestion is the right one

Sara_Greaves
New Participant
January 6, 2017

You can uncheck the is required box (under behavior) if you don't want the fields to be required.