Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.
SOLVED

Make form read only

Avatar

Level 3

When I use transform PDF, fields that were hidden in my form are now visible. How can I get an exact copy of the form submitted and make it read only?

1 Accepted Solution

Avatar

Correct answer by
Level 3

If I can save someone the time I spent struggling with this problem, I will be happy. My scripting was being called on a change event of a drop down list. I added the script to the initialize event of the drop down as well and now it works perfectly. I was trying to solve this problem in the orchestration but the solution was in Designer.

View solution in original post

3 Replies

Avatar

Level 8

I did a transform of a PDF and the hidden fields remained hidden.  Are you setting this attribute through script? 

Avatar

Level 3

Yes, I am hiding and showing fields using Java scripting based on a drop down selection.

Avatar

Correct answer by
Level 3

If I can save someone the time I spent struggling with this problem, I will be happy. My scripting was being called on a change event of a drop down list. I added the script to the initialize event of the drop down as well and now it works perfectly. I was trying to solve this problem in the orchestration but the solution was in Designer.