quote:
Originally posted by syoshida
I would like to know how the "average" formula works in the from. Is it coded? Any clues I would like to make a similar form for rating performance. Thank you in advance.
Yes, it is in code. The sample is in Jscript.
You can find it by going into the Design phase, then click Tools/Programming/Microsoft Script Editor. That will take you to the Jscript page. Look for something that starts with "function averageGroup(xmlNode)".
Now, since you are just starting, the big question is what programming language do you prefer to work with? InfoPath has two available: Jscript and VBscript. Since I use VBA in Excel and Access, I started out trying to write script in VBscript. I found that very confusing, and in looking for script samples on the Internet, I found many more examples in Jscript.
I abandoned both and hooked my InfoPath up to Visual Studio, where I have the much more powerful VB.net language to work with. I prefer VB.net and have been very happy with it.