Streaming live at 10am (PST)

Custom Required Form Field Text and Style

#1

Hi

I’m trying to set custom required field text and change form style on validation.

I found a suggestion to use form field attribute “oninvalid”.

But it doesn’t work as expected (it wont fire inline js, and even using custom code it wont fire function).

Quick test links:

Published: https://coolemurs-stupendous-project.webflow.io/contact
Shared: https://preview.webflow.com/preview/coolemurs-stupendous-project?utm_source=coolemurs-stupendous-project&preview=41226942bd8de7da2121bc01e0b9e1a7

( contact page, email field, on invalid should alert “1”, but it doesn’t )

Any help is appreciated