On Sat, Feb 7, 2009 at 7:10 PM, Deepak Shrestha <d88...@gmail.com> wrote:
> Hi,
>
> One quick question. How to set the option for 'Alnum' validator to
> accept white space?
>
> Thanks
>

Hi found the solution after digging inside "Alnum.php" itself:

including the third parameter like this solved the problem
=====================
$qsearch->addValidator('Alnum', true, array('options' =>
array('allowWhiteSpace' => true)));
=====================

In case it will be helpful to someone

Thanks anyway

-- 
=======================
Registered Linux User #460714
Currently Using Fedora 8, 10
=======================

Reply via email to