Feb 2nd, 2010, 2:07 PM
Oh dear - it was a silly syntax error.
I'd left the $ symbol in front of the validation rules ($rules.push) when I'd copied and pasted them from the php validation.
So for anyone suffering a similar problem - check that first!
I'd left the $ symbol in front of the validation rules ($rules.push) when I'd copied and pasted them from the php validation.
So for anyone suffering a similar problem - check that first!