- This topic has 5 replies, 3 voices, and was last updated 2 years, 10 months ago by Barb.
January 10, 2018 at 12:39 pm #17593PRESTON BUCKNERParticipant
I have a job application that I tie multiple pdfs too. Right now when user a submits the application the all pdf are filled and this slows down the submission process. Ex.. if a user applies for a sales job.. the sales job pdf along with the other job type pdfs are filled.
What I would like to do is use conditional logic to only fill the pdf that’s needed based on user input. Is this possible? ex.. if Ex.. if a user applies for a sales job.. the sales job pdf is filled and the others ignored.January 11, 2018 at 10:55 pm #17603
There is no way to use conditional logic on PDf attachments, however, you may disable attachments for all Field Map Layouts, then you can use conditional logic in the body of email notification(s) to determine which link is displayed.
We remain at your service.January 11, 2018 at 10:58 pm #17604
Optionally, you may keep the attachment option by setting up different email notifications for each type of application, then use the email notification’s conditional logic to control which email to send. However, the first option would be faster.
We remain at your service.January 28, 2018 at 12:09 am #17749PRESTON BUCKNERParticipant
can you further explain your last post?January 28, 2018 at 8:47 am #17752
We apologize, however, after re-reading this post, the conditional logic in the email actions will not limit which PDF’s are sent as attachments. You’ll need to use the [if] conditional statements in the email body to limit which PRO2PDF shortcode link is made visible in the email.
We remain at your service.January 30, 2018 at 2:40 pm #17796BarbGuest
Hi Preston, I think I can assist if you still need more help on this. Hopefully I understand what you’re after. You’ll need a separate field map layout and email action for each type, for example:
• Have a single PDF document that includes only the pages applicable to the sales application
• Create an email action that is set conditionally only to send for application type = Sales
• Create a field map that uses the Sales Application PDF doc, and check the box for the Sales Application email action
Do the same as above for your other application types – So Service applications have their own field map, email action and PDF doc too.
Then, when the email actions are run, it will only send the corresponding PDF in the email action that matches your conditional logic.
Your download link (If you use these) will also need to be dynamic so the correct PDF gets generated. You should be able to find some info on this on the forums here, or under support tickets I’ve created in the past.
Hope this helps.