Add validation pattern on wp:jetpack/field-url
-
I am using the “Website Field” block on a feedback form. The block type is
wp:jetpack/field-url
I want to restrict what users can enter by using the
pattern
attribute https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/patternE.g.
https:\/\/example.com\/.*
Is it possible to add further attributes to these blocks? If so, how?
- You must be logged in to reply to this topic.