Hello,
i have a edit inline form in ajax where I can validate each field separately.
When i submit a field i want to validate his format with his sfValidator in the form independently of other fields.
Actually i do :
$product = $product = Doctrine_Core::getTable('Product')->getProduct($request->getParameter('id'))->getFirst();
$product->set('name', 'test')
if ($product->isValid()) {
$product->save();
}
and my request is : product/edit/12?product[name]=test
My field "name" must be a string but i can write anything. I would like to validate the field (with only his sfValidator) before save.
Thx for your help and sorry for my bad english !
