Hi jmontano,
Check this example. Now please take its reference and correct your code.
Using the ValidationEngine plugin from the below link i have created the example.
https://github.com/posabsolute/jQuery-Validation-Engine#readme
HTML
<form id="form1" runat="server">
<link href="ValidationEngine.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
<script type="text/javascript" src="jquery.validationEngine-en.js"></script>
<script type="text/javascript" src="jquery.validationEngine.js"></script>
<script type="text/javascript">
$(function () {
$("#form1").validationEngine('attach', { promptPosition: "bottomRight" });
});
function CustomFormat(field, rules, i, options) {
var regxWithThousandSeparator = /^(?!0+\.00)(?=.{1,9}(\.|$))(?!0(?!\.))\d{1,3}(,\d{3})*(\.\d{1,2})?$/;
var regxWithoutThousandSeparator = /^[0-9]+(\.[0-9]{1,2})?$/;
if (!regxWithThousandSeparator.test(field.val()) && !regxWithoutThousandSeparator.test(field.val())) {
return "Please enter valid decimal number."
}
}
</script>
<asp:TextBox ID="txtEmail" runat="server" CssClass="validate[required,funcCall[CustomFormat[]]" />
<asp:Button ID="btnSubmit" Text="Submit" runat="server" />
</form>
Screenshot