[TYPO3-german] powermail (datum validieren auf "Zukunft")

Ralf-René Schröder ralf.rene at online.de
Wed Jun 16 15:31:03 CEST 2010


hat jemand eine Idee wie man powermail dazu bringt ein Feld darauf zu prüfen ob es in der Zukunft liegt
das hier sind die Beispiele aus dem manual, aber leider bin ich eine Niete in JS

Validation.addAllThese([
   ['powermail_uid17', 'This should not be empty', function(v) {
     return !Validation.get('IsEmpty').test(v);
   }],
   ['powermail_uid18', '###POWERMAIL_LOCALLANG_MESSAGE###', function(v) {
     return !/[^d]/.test(v);
   }]
   ['powermail_uid19', 'No numbers allowed', function(v) {
     return Validation.get('IsEmpty').test(v) ||  /^[a-zA-Z]+$/.test(v)
}]

-- 
Ralf-René Schröder
http://if-20.com  ... YAML templates for TYPO3
______________________________________________


More information about the TYPO3-german mailing list