action button after the second click
<p>I have a button in my form. I need my form to be processed after the first click (or pressing Enter) on the button, and after that, if some conditions would be true, I do something like submitting the form by the second click or pressing Enter key on the button.</p>

<p>What do you think I have to do?</p>
