Boolean query - Extrafields - Checkboxes - PDF

Can someone please help me to query a Boolean (checkbox) using if () in an FPDF?

with if ($ object-> arry_options [‚gsv‘] == TRUE) or
if (bool_is ($ object-> arry_options [‚gsv‘] == TRUE))
etc. I don’t get any further.
How do I query true or false?

Hi,

This is not OK :

And also, options are not automatically loaded in the object, need to do it.

Have a look : https://wiki.dolibarr.org/index.php?title=Add_Extrafields_on_PDF_Models

Thanks for the answer. That wasn’t much of a help.
I read the manual again.
All other extra fields work in the PDF.
I’ve now done what you do when you can’t find help. I solved the problem differently.
Thanks for the excellent help. I am always happy about know-it-alls.