Skip to content

Commit

Permalink
Disable submit button Register form
Browse files Browse the repository at this point in the history
  • Loading branch information
bensonpaul committed Oct 31, 2023
1 parent 6bde7d3 commit bfb9f25
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions static/js/main-new.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,8 @@ $('#contact-submit-live').click(function (e) {
} else {
var patientdetailsvalue = '';
}
$('#contact-submit-live').prop('disabled', 'disabled');
$('#contact-submit-live').addClass('is-disabled');
$('.loader-form').show();
var concatenatedValues = first_name + "|" + email + "|" + patientdetailsvalue;

Expand Down

0 comments on commit bfb9f25

Please sign in to comment.