inputEx Documentation Back to homepage

### inputEx Documentation > FrenchDate.js 0.2.2

This is the source view for FrenchDate.js

(function() { var inputEx = YAHOO.inputEx; /** * @class inputEx.FrenchDate * @extends inputEx.DateField */ inputEx.FrenchDate = function(options) { if(!options.dateFormat) {options.dateFormat = 'd/m/Y'; } inputEx.FrenchDate.superclass.constructor.call(this,options); }; YAHOO.lang.extend(inputEx.FrenchDate, inputEx.DateField); // Specific message for the container inputEx.messages.invalidDate = "Date invalide, ex: 27/03/2008"; /** * Register this class as "date" type */ inputEx.registerType("date_fr", inputEx.FrenchDate); })();

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.