Re: [Cppcms-users] Reporting validation failure reasons back to users
Brought to you by:
artyom-beilis
From: <ele...@ex...> - 2012-04-12 12:27:28
|
No, you must set it your self. So when you have range(5,10), you set your error_message to something like "Minimum 5, Maximum 10". If you want to automate it, you have to write it your self. That should be pretty easy though > Ah, brilliant, cheers! > So are those ever set automagically by constraints set on widgets (like > range()), or does the developer set those? > & thanks very much for your help. > > On 12 April 2012 12:32, <ele...@ex...> wrote: > |