Re: [html-formfu] Validation callback

2009-01-23 Thread Dermot
2009/1/23 Ronald J Kimball : > Dermot wrote: > >> I am trying to validate an item in a Select field. The field is >> populated with the first entry as a [0, 'Select a User'] option. I >> want to ensure that the user has not forgotten to make a selection >> from this Select field and that the Select

Re: [html-formfu] Validation callback

2009-01-23 Thread Ronald J Kimball
Dermot wrote: I am trying to validate an item in a Select field. The field is populated with the first entry as a [0, 'Select a User'] option. I want to ensure that the user has not forgotten to make a selection from this Select field and that the Selection is valid. However I am struggling to g

Re: [html-formfu] Validation

2007-06-13 Thread Zbigniew Lukasiak
On 6/13/07, Carl Franks <[EMAIL PROTECTED]> wrote: You'd have to look at breaking the validation out, so it could be used without a form object. That is exactly my question. Here is how I would imagine it. To do the validation all I need is a hash with the params: { param1 => value1, par

Re: [html-formfu] Validation

2007-06-13 Thread Carl Franks
On 13/06/07, Zbigniew Lukasiak <[EMAIL PROTECTED]> wrote: This might be a holy grail of the MVC frameworks - but there are good arguments for having the validation in the Model (one of them is the End to End argument - only in Model you have all the info needed for full validation). Will FormFu