Extension Key: cag_ajaxeval
Copyright 2006-2010, Jochen Rieger, <j.rieger@connecta.ag>
This document is published under the Open Content License
available from http://www.opencontent.org/opl.shtml
The content of this document is related to TYPO3
- a GNU/GPL CMS/Framework available from www.typo3.com
This extension adds AJAX functionality to TCEFORMS. In the first instance it checks fields which are defined (in TCA) to be evaluated as unique or uniqueInPid. The extensions XCLASSes t3lib_TCEforms and adds the AJAX functionality to those fields. In case a value already exists in the table that you insert a record for a small icon will occur pointing this out. The usual behaviour of TYPO3 is to just save the record and suffix it with an incrementing integer value.
The AJAX call is invoked via the onkeyup event which of cause is not ideal but at the moment the only possibility not to let a unique value be entered twice “secretly”.