Require values in e-mail and text fields
Require values in e-mail and text fields
Is there a possibility to make the e-mail and message fields required? Our users seem to be pretty lazy when they submit an error.
Re: Require values in e-mail and text fields
Not through the API I'm afraid. But you can get to the button iframe element and reach for the name field and add the 'required' attribute to it.
Code: Select all
logger.feedbackButton.el.querySelector('[name=name]').setAttribute('required', true);
Tired of debugging javascript errors in web applications? Try our new error logging service RootCause, or read more on the Sencha blog
@bryntum
Facebook
API documentation
@bryntum
API documentation