Perhaps I am misunderstanding something in your requirements, but with the
validation plugin (link below), it is as simple as adding class="required"
to the input tag.

http://docs.jquery.com/Plugins/Validation

HTH

Reply via email to