still getting the error in my test project (just rebuilt) using 2.5 Sandbox
Project: New Project
Table: New Table
View: New Table Item
date input field looks like this:
<input type="text" id="jform_my_date" name="jform[my_date]" class="input-small validate[custom[time_5616]]" value="" size="32"/>
js for validator looks like this:
jQuery.validationEngineLanguage.allRules.time_5616 = {
"regex" : new RegExp("^[0-9]{2}-[0-9]{2}-[1-9][0-9]{3}$", 'i'),
"alertText" : '<span class="msg-prefix">• </span>Incorrect format. Expected : m-d-Y'
}
have no clue why it can't find it?
Thanks!
Dave