title: should i use unobtrusive javascript in asp mvc instead of writing my own validation code?
body: <p>The javascript code for client validations is already written from scratch and is perfectly
  working. But to make our solution more scalable and minimize lines we are thinking of replacing our Javascript client validations with the built in asp MVC support for unobtrusive javascript.
  However there are scenarios where its particularly disadvantageous. E.g. I want to validate a field with regex. and the field isnt directly bound to the model. But to implement unobtrusive javascript I need to bind it to some field i am creating in the model just for the purpose of validation(and not using it in my form submit)
  is there any way to achieve validation without binding a field to the model?
  and what would be the considerable advantages if i replace the javascript code with unobtrusive validations even if not for all scenarios?</p>