block input submit consulting a bbdd

0

I have a question as to how I can make an input that is making me submit to be blocked until a check is made on a previous page that I have?

In simple words I am saving a form that is going to be saved directly to the DB and if the origin is manual this is stored in the DB with a char called 'S' the point is that if this is 'N' the button is blocked and if it is in 'S' the button is unlocked

How can I do this?

Any ideas?

is in MVC C #

    
asked by Joel Baez 30.05.2018 в 21:04
source

0 answers