- Mark as New
- Follow
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report
Hi,
Can anyone point me in the direction of information or an example of JavaScript being used to show or hide fragments within a form?
I'm looking to add JavaScript to the XDP content of my fragments so that these fragments will be shown or hidden depending on the evaluation of certain conditions.
If I create a form, and reference a fragment within that, then I can hide the fragment using this JavasScipt embedded within the form:
xfa.form.MyForm.MyForm.MyFragment.presence="hidden"
However, I'm looking to add the JavaScript to my fragment. I've used similar JavaScript but when the form and fragment are assembled the fragment is always displayed.
Can anyone help here please?
Thanks,
Ray.
Views
Replies
0 Likes
Total Likes