DEPRECATION WARNING

This documentation is not using the current rendering mechanism and is probably outdated. The extension maintainer should switch to the new system. Details on how to use the rendering mechanism can be found here.

EXT: AJAX BE form evaluation

Author:Kasper Skårhøj
Created:2002-11-01T00:32:00
Changed:2006-06-03T16:04:30
Email:j.rieger@connecta.ag

EXT: AJAX BE form evaluation

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

Table of Contents

EXT: AJAX BE form evaluation 1

Introduction 1

What does it do? 1

Screenshots 2

Users manual 2

FAQ 2

Adminstration 2

FAQ 2

Configuration 2

FAQ 2

Known problems 2

To-Do list 2

Changelog 3

Introduction

What does it do?

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”.

Screenshots

img-1

Users manual

There is nothing in particular to do for users. If a user is editing a record in the backend which is supposed to be unique or uniqueInPid the extension will automatically show the error icon beside the input field that is edited.

FAQ

None so far.

Adminstration

Just install the extension via your Extension Manager.

FAQ

None so far.

Configuration

No configuration necessary up to now.

FAQ

None so far.

Known problems

As the extension is still in early alpha state only basic functionality is provided.

  • Check works only for input TEXT fields by now
  • Still many things hardcoded in both PHP classes
  • XCLASSing t3lib_TCEforms
  • onkeyup eventhandler not ideal

To-Do list

  • Make it work with other field types also
  • Exchange hardcoded textstrings, paths and images from code
  • Find a different solution for calling the checkmethods (maybe add it to onsubmit handler) ... but how? :)

Please feel free to send feature requests and proposals how to improve this extension. Especially concerning the integration of the functionality in TCEFORMS as my core knowledge is still quite limited.

Changelog

Version :

Version

Version :

Date

Date :

Changelog

Changelog :

0.1.0

Version

0.1.0

Date

2006-06-03 16:00 CET

Changelog

Initial public release

img-2 EXT: AJAX BE form evaluation - 4