Not really much to it, but I thought it was something that might be useful for others.
This is an entirely client side solution. IMHO it should not replace solid validation on the server side as well.
On a side note, I've been all over the place with various projects and exploring the new features of Yii 1.1.7. I'm particularly looking forward to the business applications available with the new RESTful URL Manager options.