On Thu, Aug 01, 2002 at 08:27:38AM +0100, Sebastian Rahtz wrote:
> On Wed, Jul 31, 2002 at 09:47:31PM -0500, Ed wrote:
> > 
> > I tried a quick test of multi-select.  I think your problem is that $selected 
> > needs to be an arrayref. See my example below. (appears to work as expected)
> 
> that looks a bit like mine. and I think it worked. but what
> I am cannot get right is the code in the _submit function which looks
> at $ctxt->{Form}{juice}. do you have an example of that

does this work?

my @values = $ctxt->{Form}->get('juice');


> 
> > (On an unrelated note) ... I use PerForm a bunch and made several 'additions'. 
> > A noteworthy addition is the use of Data::FormValidator.  Right now its 
> > 'rigged' for my needs but can be cleaned up for generic use.  
> 
> can you outline what it does?
> 

In short a Data::FormValidator \%profile 'can' be used to validate the input.
That way you don't have to write validate_* or load_* callbacks.

(its 3:30 am here, sorry for being short, i'll try to get a useable module
w/ docs and an example up after i sleep a bit)

Ed


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to