Expand my Community achievements bar.

How do I implement Digital Signatures and Scribble in a dual-use form?

Avatar

Level 1

I would like to have one xfa form that can be rendered as both PDF and html5. The form requires a signature. What code do I use to detect the rendering environment and display the correct signature type?

Thanks,

Carl Young

1 Reply

Avatar

Level 8

xfa.host.appType will return HTML 5 if rendered as HTML, you can test that value and enable the appropriate signature type