❔ Show error text message under update text box through server validation without refreshing
So basically I want to show an error text message if the user updates and submits an invalid value, but in my code when the user submits a wrong value the page will refresh, the update textbox will be hid again (it's hidden unless the user presses an update button) and the error message will be displayed in two textboxes.
Is my only solution implementing client-side validation for my update textbox?
My code:
Index.cshtml: https://pastebin.com/EhWcWBxC
HomeController: https://pastebin.com/rB9q3Uiv
TodoModel: https://pastebin.com/SjW0Mben
Is my only solution implementing client-side validation for my update textbox?
My code:
Index.cshtml: https://pastebin.com/EhWcWBxC
HomeController: https://pastebin.com/rB9q3Uiv
TodoModel: https://pastebin.com/SjW0Mben
Pastebin
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.
Pastebin
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.
Pastebin
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.