Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new

Learn more

View all

Sign in to view all badges

in HTML5, script object fragment, cannot reference a subform object

Level 8
Level 8

I have a fragment subform "sfPopup" which is used in the main form. See images below.

When you click on the button to show the Popup, it works fine under PDF. However, in HTML5 preview, it doesn't work.

I did debug when I preview the form using LC Form Manager. I found out that if you reference the subform object "sfNameCapture" in the fragment "spPopup" in script object "opr", the reference will fail and you will get "undefined".

See debug using Chrome javascript console in the last image below.

Mind you that this reference is working 100% correctly in PDF preview.

Appreciate your help to solve this problem.




0 Replies