Jörn,

>Thats is almost what I proposed in the blog comments:
>
>|var messages = {
>  phone: "Please select a phonenumber."
>}
>$("#myform").validate({
>  messages: messages;
>});
>$("#phoneType").change(function() {
>  messages.phone = "Please fill in an appropriate " + this.value + "
>number”;
>});
>|

We could potentially look at using a function callback to return a string
for the message as well. That certainly would be easier for development...

-Dan

Reply via email to