inputEx Documentation Back to homepage

### inputEx Documentation > FrenchPhone.js 0.2.2

This is the source view for FrenchPhone.js

(function() { var inputEx = YAHOO.inputEx; /** * @class inputEx.FrenchPhone * @extends inputEx.StringField */ inputEx.FrenchPhone = function(options) { inputEx.FrenchPhone.superclass.constructor.call(this,options); this.options.regexp = /^( *[0-9] *){10}$/; this.options.messages.invalid = "Numéro de téléphone non valide, ex: 06 12 34 56 78"; }; YAHOO.lang.extend(inputEx.FrenchPhone, inputEx.StringField); /** * Register this class as "frenchphone" type */ inputEx.registerType("frenchphone", inputEx.FrenchPhone); })();

Copyright (c) 2007-2009 Eric Abouaf. All rights reserved.
Generated by JsDoc Toolkit 2.0.0 on Wed, 04 Mar 2009 15:41:29 GMT using neyricjslibs-template.