[TYPO3-dev] enforcement of uniqueness of fields

Jochen Rieger j.rieger at connecta.ag
Sat Jun 3 16:20:44 CEST 2006


Hi devs,

> My suggestion is that with todays AJAX technology someone writes an 
> addition to TCeforms which allows to check unique fields as a part of 
> the java script evaluation which also happens on any other field (like 
> dates, integers etc).

I just published an extension that does more or less the above [1]. Yet 
it is still VEEEERY alpha but it is working. At least it is indicating 
the editor in case a value of a field which is defined as unique or 
uniqueInPid when the actual typed in value already exists.

At the moment the check function is called at event "onkeyup" which 
might not be the best solution. I will try to integrate it into the 
"onsubmit" eventhandler. But my core knowledge still has some limits! :)

So if any of you experienced core devs has some proposals or hints how 
to better inegrate it or how to do it in a completely different way, 
feel free to contact me!

Kind regards,
Jochen

[1] http://typo3.org/extensions/repository/search/cag_ajaxeval/0.1.0/




More information about the TYPO3-dev mailing list