I have this extension up and running on a form with additional data + files.
So I'm submitting the form at the end after uploads (using 'autoUpload' => true).
I was wondering is there a way to disable the submit button and when (at least one of the) uploads are complete enable the submit button again? To prevent the user from submitting the form before the uploads are complete.
$this->widget('bootstrap.widgets.TbButton', array(
'buttonType' => 'submit',
'type' => 'primary',
'disabled' => false, //This is what i want to change from true->false when uploads are done
'label' => 'Submit',
));
I've tried to find a solution for some time now. If someone could point me to the right direction.
Thanks in advance!

Help













