Hello,
When using Dolibarr hooks is it possible to place your generated button (for example the “Get Identifier”) next to the field “Identifier” we created? If so, how would I do it since right now I am using the formObjectOptions hook and it executes before the other field generation.
Identifier is added by complimentary attributes.
public function formObjectOptions(&$parameters, &$object, &$action,$hookmanager){
echo '<input type=button value="Get Identifier" onclick="Hello()">';
return 0;
}
Please suggest most common way to add button to expected place from module source code, without modifying main source files. I have dumb idea use Jquery and move object on page load but I believe there are more common way.
Thank you