Expand my Community achievements bar.

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

Avatar

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.

940533_pastedImage_4.png

940532_pastedImage_3.png

940528_pastedImage_2.png

0 Replies