We use Infopath 2007 + Sharepoint 2007 and need to inject some javascript to infopath form. I know that infopath form can be hosted on the aspx page using XmlFormControl. But this solution doesn't suit us =(. Is there any workaround?
In SharePoint on-premise, InfoPath Services will remain supported until 2026.
In the Data source task pane, right-click the field to which you want to add a field, and then click Add on the shortcut menu. In the Name box in the Add Field or Group dialog box, type a name for the new field.
Synopsis InfoPath Forms Services is a server technology that makes it possible for people to fill out forms in a Web browser. By managing forms in a central location, you can streamline business processes and improve relations with customers, partners, and suppliers.
KWizCom Forms is one InfoPath alternative that consumers should consider. It is a SharePoint tool that converts your old SharePoint forms into rich, dynamic web forms.
InfoPath Form Services won't let you publish an InfoPath form with JavaScript. If you really need to use JavaScript for a rich client experience, you may have luck loading your form in a XmlFormControl as you mentioned, then loading your js library on the page along side it, and binding to dom elements. You won't get any design time support this way but it may work.
Generally speaking, you need to stick to rules and managed code with IPFS.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With