On 18/02/2008, Zbigniew Lukasiak <[EMAIL PROTECTED]> wrote:
> Hi,
>
>  I need a filter to split a field by commas to create a list of values.
>   So that $form->param_array( 'my_field') would return the list of new
>  values.  I have not seen yet any example of such filter - is that
>  doable in FormFu?

This is a good idea.
I've added it in svn r972.

The filter has methods regex() and limit(), which default to the empty
string and zero, respectively.
See `perldoc -f split` for details.

Carl

_______________________________________________
HTML-FormFu mailing list
[email protected]
http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/html-formfu

Reply via email to