Required fields in forms?

Hi there!

New question (feel free to move to another thread if it’s more relevant): any way for me to make a field required using the Forms feature? E.g., I want to make both Name and Email required fields.

Thanks!

Thanks for the go-ahead on moving this to a new thread - it seemed more appropriate over here :slight_smile:

There is no feature in our platform to require a form field. The best advice I have is client side (and thus the spam-robots can definitely work around it, but humans would rarely bother), to set a required attribute on the form field in your HTML.

Well-behaved browsers (basically any major one) will enforce that for you FOR SUBMISSIONS FROM THAT PAGE (compare to a submission directly to your endpoint created by a wily attacker of some stripe).

Thanks @fool – worked perfectly for our purposes!