Re: Select Box validation in 1.2

2007-06-21 Thread francky06l
You could use the last parameter of select $showempty. if you set it to "Select Genre", this will appear first and in your validation you could use "VALID_NOTEMPTY" On Jun 21, 2:12 am, mastorna <[EMAIL PROTECTED]> wrote: > I have a select box using 1.2's formHelper and I cannot get it to pass > v

Select Box validation in 1.2

2007-06-20 Thread mastorna
I have a select box using 1.2's formHelper and I cannot get it to pass validation. The view looks like this: echo $form->select('Mixtape.genre', array( "0" =>"Select Genre", "Classical"=>"Classical", "Country / Folk"=>"Country / Folk", "Latin"=>"