Paste javascript into the infopath form

We are using Infopath 2007 + Sharepoint 2007 and you need to insert some javascript into the infopath form. I know that an infopath form can be hosted on an aspx page using XmlFormControl. But this solution does not suit us = (. Is there a workaround?

+6
infopath sharepoint sharepoint-2007 infopath-2007
source share
2 answers

InfoPath Form Services will not allow you to publish an InfoPath form with JavaScript. If you really need to use JavaScript to work with a rich client, you may be lucky to upload your form to XmlFormControl, as you mentioned, and then load your js library on the page next to it and bind to dom elements. You won’t get that kind of development-time support, but it might work.

In general, you need to adhere to the rules and managed code using IPFS.

+1
source share

Perhaps you can write an InfoPath add-in to enter javascript codes.

InfoJet Service - InfoPath Web Forms Engine http://www.infojetsoft.com

0
source share

All Articles