Feature Request / Bug: PDF Password field does not parse SmartCodes
-
Thanks for the great plugin and suite of tools!
I am trying to use a SmartCode (e.g.,
{inputs.passwordField}) to dynamically lock a generated PDF with the user’s submitted password.Currently, the PDF add-on locks the document with the literal string
"{inputs.lesseeidnumber}"instead of parsing it. Looking at the codebase,security_passis pulled straight from the$appearancearray inTemplateManager.phpwithout running throughShortCodeParser::parse(). Furthermore, there are noapply_filtershooks inFluentFormsIntegration.php(around the$settingsvariable ingetPdformaybePushToEmail) that would allow me to intercept it with a custom snippet.Could you please update the PDF add-on to run the
security_passsetting through the SmartCode parser before passing it to mPDF’sSetProtection()?
You must be logged in to reply to this topic.