arnoson / kirby-forms

Form builder and handler for Kirby 4
MIT License
10 stars 3 forks source link

Documentation – Pattern for form-field-text #5

Open AlexanderBoenninger opened 1 year ago

AlexanderBoenninger commented 1 year ago

The Placeholder says [a-b]+

A use case would be nice, right?

arnoson commented 1 year ago

Yes maybe having a username usecase and change the placeholder to \w{3,16} like in the MDN example. But where to document such a usecase, in the readme or as an info next to the placeholder?

arnoson commented 1 year ago

In the end the pattern field ist directly added to the corresponding html input field, nothing special is added by this plugin. So maybe a link to the MDN documentation would already be enough