In an Advanced PDF Template for a custom form, the...
# general
d
In an Advanced PDF Template for a custom form, the "record.customform" value should be available. It even shows the value in a preview but when I try to create an if statement, it's not triggering. Anyone know why this won't work? <#if record.customform = 'Custom Form Name'>some address#else${subsidiary.mainaddress_text}</#if>
j
Should be == in your condition?
d
Sorry, Yes I do have ==. I also tried == 172 (the custom form Id) but neither works
It's strange that ${record.customform} returns nothing. It's just blank.
j
I think it only has a value in edit mode 😞
j
A bit roundabout, but use a script or wf to set a custom text field = your custom form name on create/edit