jquery-bootstrap-modal-steps icon indicating copy to clipboard operation
jquery-bootstrap-modal-steps copied to clipboard

How to disable the next button when the input field is empty

Open gopinath93 opened this issue 7 years ago • 1 comments

Hi,

How to disable the next button when the input field is empty and show the validation message

gopinath93 avatar Nov 30 '17 06:11 gopinath93

//onkeyup if(field is empty){ //show validation $('#goal-setting-modal').find('.js-btn-step[data-orientation=next]').attr('disabled', true); }else{ $('#goal-setting-modal').find('.js-btn-step[data-orientation=next]').attr('disabled', false); }

kevinpoy avatar Aug 04 '18 16:08 kevinpoy