Product attribute text input validation

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
9 years ago
hi.

i want to validate the text input fields. i need them to be in a certain range for certain products. if possible i don't want to hard code my values in Nop.Web.Views._ProductAttributes.cshtml and validate them via ajax. is there a more elegant solution to this? could i use an actionfilter for that or is it even simpler than that?
9 years ago
you can use javascript. or if you want to validate from server side you can also use json.
9 years ago
thank you for your answer. sadly i don't know how to apply it to my problem. WHERE should i validate the field via js/json? in a plugin? directly in the nopcommerce code?
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.