I have a submit button then when pressed it saves data and this can take a few seconds. In this time people are pressing the button more than once. How can I ensure 1 click only?
echo $this->Form->submit(‘Book Now’, array(‘label’ => ‘Submit’, ‘class’ => ‘btn btn-info’, ‘div’ => FALSE));
You can disable the button after submit by JavaScript
How is it possible sir? Thank you.
Search on Goolge "disable button after submit by JavaScript" You will find tons of different solutions