cancel
Showing results for 
Search instead for 
Did you mean: 

Accessing a context field in Javascript in Interactive Adobe form

0 Kudos

Hi,

I want to hide some elements in the Adobe form with respect to the value of a Form context field.

If this field is mapped to an element in the Form layout then we can access it using data.<field>.rawValue, but this field is not mapped to any element on the layout.

Please help me if anyone knows it.

Regards,

Jashua

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

It doesen't matter, whether the field is mapped or not. Important is, that it is not deactivated. You can use xfa.record.(path) to access it.

Best regards.

Tao

0 Kudos

Hi Tao, thank you very much for your reply.

But I have tables in my structure. so dynamically I need to check the values of the fields inside tables.

Would you please help me in accessing the fields in table in the script.

Regads,

Jashua

Answers (1)

Answers (1)

rakesh_m2
Contributor
0 Kudos

I guess, without mapping to any field you cannot access elements in context.  Map the element to any field on to the form and then hide it if you dont want to display it. 

Thanks,

Rakesh.