The subform is called (Logo), and I have setup an image field that contains my embedded graphic file. The graphic field is called LOGO (I know matching names is not the best idea).
I do not receive any syntax errors when checking.
Basically I am tryin gto check the HideField to see is it equals XA, and if it does I hide the subform, but more importantly the graphic.
I have added another text field into this subform and referenced the field I want fromthe context tab to make sure it is populating correctly there as well, and it is. I have since changed that presence to hidden incase it will be helpful to use.
I have tried looking around, but I am mostly finding examples linking to user entered, or selected fields. This field get automatically generated at the time of creation. The user does not drive this answer, and it does not get changed, so it does not need to be updated.
Thank you in advance for any pointers you may have.
the problem may be that you have to reference the object not just by name. It would need to be referenced by its name in association to the object where the script is placed. Livecycle designer has a handy tool(I hope for your version as well). if you(while writing script) ctrl+click the object you want to point to, it will automatically populate its correct name needed for referencing from the object being scripted. I hope this can help.