How do I make it impossible for the person to submit the form several times in Laravel?

Asked

Viewed 46 times

-2

I programmed a website in the Standard, but I can’t increase a function that makes it impossible for the user to send the form several times by clicking the button.

  • Hello Rick, it is important that you add your code to the question to enable viewing your error.

1 answer

1

Good afternoon, you can put a javascript code to block the next click.

Here’s an example of how to do this:

<button type="submit" onclick="this.disabled = true">Enviar Formulario</button>

Note: Always put the code (if possible) so it is easier to solve your problem.

Big hug, hope I helped!

Browser other questions tagged

You are not signed in. Login or sign up in order to post.