Make Editor field required
Make Editor field required
marwi
Posts: 33Questions: 9Answers: 0
Is it possible to setup a text field to be required on client side, so it won't be possible to send data to the server when clicking [Save] or [Update], as long as this text field is kept empty? No server side validation required.
This discussion has been closed.
Answers
Hi @marwi ,
Yep, you can parse your data in the
preSubmit
and reject it if your criteria isn't met. There's an example of Editor doing what you're after here.Cheers,
Colin