Hello - I'm trying to identify the javascript validation function associated with an input onchange event. I'm on a Request/Incident page, I've selected a subject of Finance > Credit Initial which dynamically displays an "Amount of Sale" input below it. I know that there are some js validation functions associated with the onchange event of the "Amount of Sale" input - I'd like to see the *contents* of those js functions. My browser element inspector shows the following content for the Amount of Sale input:
<input tabindex="17" class="ms-crm-Money" id="new_amountofsale" style="ime-mode: disabled;" type="text" _events="[object Object]" attrPriv="7" attrName="new_amountofsale" req="required" preSrc="0" isBaseCur="0" dt="money" max="1000000000.00" min="0.00" acc="2" onValidate="function IsValid(){var oReturnValue={},sCurSym=getCurrencySymbol();oReturnValue.IsValid=!IsNull(sCurSym)&&sCurSym.length>0;if(getIgnoreCurrencySymbol())oReturnValue.IsValid=true;if(!oReturnValue.IsValid)oReturnValue.IsValid=isCurrAsDynamicExpression();oReturnValue.ErrorMessage=LOCID_CURRENCY_NOT_SPECIFIED;return oReturnValue}" onDisabled="function DisableControl(bValue){if(!IsNull(_oCurTxtBox)){_oCurTxtBox.className=bValue?"ms-crm-Money-CurrencySymbol ms-crm-ReadOnly":"ms-crm-Money-CurrencySymbol";_oCurTxtBox.disabled=bValue;_oCurTxtBox.readonly=!bValue}}" _onchangeInitialized="true" control="[object Object]"/>
The input above has the following code: sCurSym=getCurrencySymbol(). I'm assuming this function is defined in some type of external js library? I don't see the function on the page when I save off the F12 html. When I used to work in ASP.Net 1.1, the native js validation libraries were stored in a known central location. I'm assuming that the same is true for CRM 2011. I just need to know the names of those js libs and where they are located. Please reply if you know the answer....