You'll have to do that within your form. You can use a input message box or a hidden subform and show it on the initialize event.
Thanks for the reply.
Yes i have used the response method in the designer's initialize event part only,but it is working only when i preview it in the designer itself.
If i save the pdf to my desktop and try to open it, its is not asking for input value which should come from the response method which is used in the
initialize event of the designer.
Could you please tell me the solution for this?
Have you tried other event like FormReady or LayoutReady?
I'm sure there's an event that fires when you open the pdf.
Yes i have tried in other events of livecycle designer.
In Formready event -> if i do preview pdf,first it will display form and then it ll ask for password.But with this event only if i save the pdf to my local desktop and try to open it ll not ask for password anywhere.
In Layoutready event ->Pdf preview in designer is working fine,but when i save it my local desktop and try to open it ll not ask for passward.
Could anybody tell me how to do it.
Something is weird. I just did a test with Initialize event and it works just fine.
I created a new form, added some script on the Initialize event of the form and saved is as a dynamic PDF.
This is the script I used: