How to exclude a field when export to pdf?

This public forum is for user-to-user discussions of PHPMaker. Note that this is not support forum.
Post Reply
Cat
User
Posts: 78

How to exclude a field when export to pdf?

Post by Cat »

Hello everyone

When exporting to PDF and there is a .pdf file in some field, the exported file appears with a box with an x ​​in the center "Image not found or unknown type"
How could I hide that field when exporting but I need to see it in the viewpage or how to export the file location url

// PageRender event
function Page_Render()
{
    //Log("Page Render");
if (IsExport("pdf")) {
$this->CERTIFICATION->Visible = FALSE; // adjust FieldName to your current field name
}
}

this code does not work


arbei
User
Posts: 9384

Post by arbei »


Post Reply