When you want a question within a bxp form to be validated by the Phone number function simply edit the question and copy the following line into the questions JavaScript onChange setting, once you have modified the below line to suit your form:
<syntaxhighlight lang="JavaScript">fn_General_ValidatePhone_Irish ( strPhoneField'strCDA_X_field_Y_Z', blReplaceWithClean true, false )</syntaxhighlight>