Prevent .Net Core Remote Validation on form Submit event

188 views Asked by At

I have put a remote validation in Model Class, And it triggered automatically on Sub event and it makes submit button to click twice! to actually work (submit).

in a nut shell on Submit button

  1. It calls remote validation method. 2 It calls actual submit event.

This is similar questions, if anyone find answer please post here.

this question has an answer which shows the exact same reserach.

1

There are 1 answers

0
Dave On BEST ANSWER

I found one solution it is because I gave submit button an id as id='submit', and after I changed it to something else., not it is working.