In 5.4 there is an event for this.
define(["jquery","t5/core/events"], *function*($,events) {
*return* *function*(parameters) {
$('#'+parameters.id + ' :submit').removeAttr('disabled');
$('#'+parameters.id).bind(events.form.prepareForSubmit,
*function*() {
Hello Gurus,
I have a ajax form component with a submit button. My requirement is to
change the label of the button to "submitting.." and disable the button on
the form submit. This form component has a select input field.
The script to disable the button.
define([ "jquery" ], function($) {