Redirect to a PDF after submission

I want my user to be redirect to a PDF after he submits a form for the first time, how can I do this?

OnValidateSuccess event on the form ,check if it’s the first time for this user, and do a sc_redir(your_pdf_page)

Can a parameter be passed in this sc_redir?


sc_redir(‘page_name’, param_name=$param, ‘_parent’);