Forum

Thread tagged as: Problem, Forms

Forms required="false" ignored by Chrome

Hello there.

I have a basic form template on which I need the the email field to be optional. On the template I have set it to required="false".

This works fine in Safari, but Chrome insists that the field is entered.

Has anyone else experienced this?

Thanks.

Tim Rex

Tim Rex 0 points

  • 5 years ago

required="anything" is true

So to remove the required field option remove the entire required="" tag

The lack of tag is false, and the tag with any value is true

Tim Rex

Tim Rex 0 points

Excellent! That's done it. Thanks very much.

You're quite welcome.

Tim Rex said:

Excellent! That's done it. Thanks very much.