Link to home
Start Free TrialLog in
Avatar of mshaji
mshajiFlag for India

asked on

Write or Call JavaScript function in SharePoint InfoPath 2010 form

Dears,

I have a SharePoint 2010 Custom list and I used InfoPath 2010 to edit the form. Now I need to do some JavaScript in the form like when the user click Submit button then its need to check the validation by Using JavaScript code.

Is it possible to do it in InfoPath 2010?
Avatar of Ingeborg Hawighorst (Microsoft MVP / EE MVE)
Ingeborg Hawighorst (Microsoft MVP / EE MVE)
Flag of New Zealand image

Hello,

why do you want to do this in JavaScript? Can you not use the InfoPath validation for the fields?

Please explain what you are trying to achieve.

cheers, teylyn
Avatar of mshaji

ASKER

Dear,

My real goal is not to validate a InfoPath form by using JavaScript instead I need to do some calculation through JavaScript.

Please see my attached image that will tell you what I need to achieve.

Thank you
js.jpg
ASKER CERTIFIED SOLUTION
Avatar of Ingeborg Hawighorst (Microsoft MVP / EE MVE)
Ingeborg Hawighorst (Microsoft MVP / EE MVE)
Flag of New Zealand image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial