Changes

Line 49: Line 49:  
== Before call $object->create() or $object->update() ==
 
== Before call $object->create() or $object->update() ==
   −
Values of extrafields sent by form need to be retrieve. For do that, use this method :
+
Values of extrafields sent by form need to be retrieve. For doing that, use this method :
 
<source lang="php">
 
<source lang="php">
 
$ret = $extrafields->setOptionalsFromPost($extralabels,$object);
 
$ret = $extrafields->setOptionalsFromPost($extralabels,$object);
 
</source>
 
</source>
      
== Inside edit page to display extrafields ==
 
== Inside edit page to display extrafields ==