hi guys good day can anyone help me with my MVC web app regarding simple validation on modal bootstr
I am trying to create my simple mvc that add a customer using bootstrap modal with different model request. and my main concern is i want to trigger the validation in the modal only it wont go to other page.






4 Replies
Well, your form does a POST request to somewhere
So the page will reload one way or another
Not 100% sure how that unobtrusive validation script works, especially when invoked later tbh
No errors in the console?
Hi thank you for the response yes there is. i think its not working maybe i will remove that code. i dont know why my modal is gone
it targets to my same controller as the index list.

Check the generated HTML and see if it really is the case
It's a partial, so technically it doesn't have any actions it could refer to