SOLVED

Re: This field is required

Go to solution
Joseph_Long
Level 2

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:

Screen Shot 2017-01-06 at 9.00.31 AM.png

1 ACCEPTED SOLUTION
Dan_Stevens_
Level 10 - Champion Alumni

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:

pastedImage_0.png

View solution in original post

8 REPLIES 8
Dan_Stevens_
Level 10 - Champion Alumni

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:

pastedImage_0.png

Anonymous
Not applicable

Hey Dan Stevens​,

Do you happen to have a solution for a field that isn't a selection type field? We have forms that are translated in different languages, so either having the "required message" removed or changed would be great. Here's an example of a form that needs a tuneup:

pastedImage_0.png

SanfordWhiteman
Level 10 - Community Moderator

It's the same for any text field: you have "Is Required" checked in the form setup.

If you want to localize the error messages, you can look back at some of my old posts for pointers and demos.

Joseph_Long
Level 2

That makes sense. Thanks Dan!

Grégoire_Miche2
Level 10

uncheck the option here:

pastedImage_0.png

-Greg

Joseph_Long
Level 2

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
Level 10

Then Dan's suggestion is the right one

Sara_Greaves
Level 5

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