[TYPO3-english] sr_feuser_register evalValues with preg

De Contardi Riccardo Riccardo.DeContardi at bhuman.it
Fri Dec 18 11:49:26 CET 2009


Hi, there! 

 

A little question about sr_feuser_register, as I can't find examples
online on this topic:

 

If I'd want to validate a field (e.g. the phone field: it should contain
only numbers, at least in Italy ;)) , I should use the TS Setup
"evalValues" that accepts the "preg" option

I think I  should write in TS Setup:

 

plugin.tx_srfeuserregister_pi1.create.evalValues.phone = preg

 

but... where should I specify the regex?

 

Hope I explained myself properly and that you can help me.

 

Cheerio

 

**************************************

Riccardo De Contardi

 

B Human Srl - www.bhuman.it
<file:///C:\Documents%20and%20Settings\riccardo.decontardi\Dati%20applic
azioni\Microsoft\Firme%20elettroniche\www.bhuman.it>  

Via Canzio, 15 - 20131 Milano

Tel +39.02 20 23 271 - Fax +39.02 20 240 561

 



Chi riceve il presente messaggio e' tenuto a verificare se lo stesso non gli sia pervenuto per errore. In tal caso e' pregato di avvisare immediatamente il mittente e, tenuto conto delle responsabilita connesse all'indebito utilizzo e/o divulgazione del messaggio e/o delle informazioni in esso contenute, voglia cancellare l'originale e distruggere le varie copie o stampe.

The receiver of this message is required to check if he/she has received it erroneously. If so, the receiver is requested to immediately inform the sender and - in consideration of the responsibilities arising from undue use and/or disclosure of the message and/or the information contained therein - destroy the original message and any copy or printout thereof.




More information about the TYPO3-english mailing list