Anu
asked on
Javascript with Infopath form without custom code
Hi All,
I am trying to add Javascript or JQuery in my Infopath form. I am looking for a workaround without any custom code. How can we refer a javascript file to an Infopath form.
I want to extend the tool tip duration in my form and I tried doing with XML as a secondary data source but it doesn't read my script or css file.
Any suggestions would be appreciable. Hoping for a reply soon.
I am trying to add Javascript or JQuery in my Infopath form. I am looking for a workaround without any custom code. How can we refer a javascript file to an Infopath form.
I want to extend the tool tip duration in my form and I tried doing with XML as a secondary data source but it doesn't read my script or css file.
Any suggestions would be appreciable. Hoping for a reply soon.
ASKER
Hi Julian,
Thanks for sharing the steps and it is explained in detail.
But it seems that with this approach, the system files are modified so any scripts/functionality written in core.js file will be called in other forms/sites as well.
In my scenario, I actually wanted the functionality to be scoped to a single form. Using js and css, want to increase the tooltip duration so that end user get this leverage to read the full message in a single hover.
Thanks for sharing the steps and it is explained in detail.
But it seems that with this approach, the system files are modified so any scripts/functionality written in core.js file will be called in other forms/sites as well.
In my scenario, I actually wanted the functionality to be scoped to a single form. Using js and css, want to increase the tooltip duration so that end user get this leverage to read the full message in a single hover.
From what I have read I don't think that is possible. The process I posted was the only one I could find that in anyway addressed this.
This question needs an answer!
Become an EE member today
7 DAY FREE TRIALMembers can start a 7-Day Free trial then enjoy unlimited access to the platform.
View membership options
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Which refers to the following article
http://riteshudupak.blogspot.co.za/2010/09/add-jquery-to-browser-enabled-infopath.html
From the above