SOLVED

Re: This field is required

Go to solution
Joseph_Long
Level 2

This field is required

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

Accepted Solutions
Dan_Stevens_
Level 10 - Champion Alumni

Re: This field is required

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
Sara_Greaves
Level 5

Re: This field is required

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

Grégoire_Miche2
Level 10

Re: This field is required

uncheck the option here:

pastedImage_0.png

-Greg

Joseph_Long
Level 2

Re: This field is required

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

Re: This field is required

Then Dan's suggestion is the right one

Dan_Stevens_
Level 10 - Champion Alumni

Re: This field is required

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

Joseph_Long
Level 2

Re: This field is required

That makes sense. Thanks Dan!

Anonymous
Not applicable

Re: This field is required

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

Re: This field is required

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.