Hello,
What would be the easiest way to have the color of a text field in an ASP .NET MVC form changed according to a value just entered BEFORE form submission.
The color to be used is returned by a DB query.
For example:
The query returns Red if the number enter in the field is lower then the Quantity registered for the item in the DB.
Thanks