[TYPO3-english] [TYPO3] HELP: sr_feuser_register restrict username field to a-z

Larry larry at itsbg.net
Mon Oct 13 09:41:31 CEST 2008


В 01:02 +0200 на 11.10.2008 (сб), stefano cecere написа:
> Cray Flatline wrote:
> > 
> > I have installed sr_feuser_register and all works well. But I want to 
> > restrict username field (i.e. login name) to A-Z,a-z,0-9. I found in 
> > core reference what i can set in TCA that field will evaluate to 
> > "alphanum_x" - but can't undestand how i can implement it.
> > 
> > May be somebody know a any way to solve this question. Please help me.
> > Thanks a lot. (:
> 
> hi Cray
> did you find a solution?
> it's easy to do it in BE (modifying TCA)
> but the topic is to change the FE behaviour
> the check has to be done when a user registers himself
> 
> stefano
> 
Hi
I use this in Setup:
plugin.tx_srfeuserregister_pi1.parseValues {
username = nospace,trim,lower,alphanum_x 
}
Larry



More information about the TYPO3-english mailing list