[jQuery] Re: Validation plugin: combine functions with strings on remote error

2009-03-24 Thread Andy Matthews
Subject: [jQuery] Re: Validation plugin: combine functions with strings on remote error Passing a function as a message happens all the time when using $.format(... {0}) as messages. The function is expected to return the formated message, so you can just return the string value you want to display

[jQuery] Re: Validation plugin: combine functions with strings on remote error

2009-03-24 Thread Andy Matthews
...@googlegroups.com] On Behalf Of Jörn Zaefferer Sent: Monday, March 23, 2009 5:34 PM To: jquery-en@googlegroups.com Subject: [jQuery] Re: Validation plugin: combine functions with strings on remote error Passing a function as a message happens all the time when using $.format(... {0

[jQuery] Re: Validation plugin: combine functions with strings on remote error

2009-03-24 Thread Jörn Zaefferer
: Monday, March 23, 2009 5:34 PM To: jquery-en@googlegroups.com Subject: [jQuery] Re: Validation plugin: combine functions with strings on remote error Passing a function as a message happens all the time when using $.format(... {0}) as messages. The function is expected to return the formated

[jQuery] Re: Validation plugin: combine functions with strings on remote error

2009-03-24 Thread Andy Matthews
] On Behalf Of Jörn Zaefferer Sent: Monday, March 23, 2009 5:34 PM To: jquery-en@googlegroups.com Subject: [jQuery] Re: Validation plugin: combine functions with strings on remote error Passing a function as a message happens all the time when using $.format(... {0}) as messages

[jQuery] Re: Validation plugin: combine functions with strings on remote error

2009-03-23 Thread Jörn Zaefferer
Passing a function as a message happens all the time when using $.format(... {0}) as messages. The function is expected to return the formated message, so you can just return the string value you want to display at the end of your function. Jörn On Mon, Mar 23, 2009 at 10:39 PM, Andy Matthews