Frequently used classes such as: UITools, FormTools, MathTools, BrowerTools and MFImg are delcared automatically as a global field in the application. Here is an example how to use the GetFormElementValue method, which will retreive the value of any form element within Project Insight, including custom controls:
var myValue = FormTools.Get("FormElementId");
After reviewing the article above, you can continue with the next tutorial, which has an in-depth learning curve of Project Insight form and user defined fields.
Click here for a full reference of the MetafuseBase.js library.