AnsweredAssumed Answered

Show message and download file on form submit

Question asked by Charles Sanderson on Jan 22, 2018
Latest reply on Jan 22, 2018 by Sanford Whiteman

I've gotten caught in the middle of two opposing requests.


I have a form on a landing page. By request, I built it so that the end-user fills out the form and a pdf resource downloads immediately. (we also have an auto-reply email send to that person) This is done by setting "after form fill" to "external URL"


Separately: The landing page template has built into it a way to have the user stay on the page, and I can display a basic HTML message, including a link to whatever file.


My dillema is that I've got two sensible requests that I can't seem to easily do at the same time.

1 - QA wants me to display the "thank you message" because without it, it's a little disorienting. I could do this with a link to the pdf, but original requester doesn't want user to have to click a second time.

2 - The original requester wants the file to download immediately when they press submit, but then you're disoriented because there's no 'thank you' message displayed


I'm hoping I'm overlooking a way to do this without having to do a bunch of rebuilding on the landing page template. I know there's probably a way to do this with javascript, but I'm trying to avoid creating extra work or doing something disruptive to the template.