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: MailForm evaluation wizard extension

Author:Rupert Germann
Created:2004-07-31T12:12:38
Changed by:Juraj Sulek
Changed:2006-04-09T14:03:07
Email:juraj@sulek.sk

EXT: MailForm evaluation wizard extension

Extension Key: formevalwizard

Copyright 2006, juraj@sulek.sk, <juraj@sulek.sk>

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: MailForm evaluation wizard extension 1

Introduction 1

What does it do? 1

Users manual 1

Installation 1

Configuration 2

“Type” selector box configuration 2

“Ereg” field configuration 3

To-Do list 3

Changelog 3

Introduction

What does it do?

Extend the standard MailForm Wizard to work with evaluation options.

You can define your own evaluation types by user or group tsConfig so the user doesn't need to know regular expressions and he only need to choose the defined type by name.

img-1

Users manual

Installation

img-2

By installation you can choose if you want to add default evaluation types(Alphabet and Numbers). Here is what you become if you unset and what if you set this option.

img-3

For more informations about extending from evaluation types see the Configuration section.

Configuration

“Type” selector box configuration

There are 3 types hardcoded in “Type” selector box:

img-4

You can add new types with user or group typoscript. If you set the “Add default evaluation types” by installation this tsConfig code is added to default user tsConfig code:

formEvalWizard{

alphabet{

ereg=^[a-zA-Z]*$

name=Alphabet

}

number{

ereg=^[0-9]*$

name=Number

}

}

and you become this:

img-5

On this tsConfig code you can see how to extend evaluation types:

formEvalWizard{

somestring{

ereg=regular expression

name=name to show in selector box

}

}

e.g. if you want to add birthdate you can do it with this tsConfig code:

formEvalWizard{

birthdate{

ereg=^[0-9]{2}.[ ]+[0-9]{2}.[ ]+[0-9]{4}

name=Date of birth

}

}

and you become this:

img-6

If you want to delete type from selector box, you can do it with this tsConfig code:

formEvalWizard{

typetodelete{

delete=1

}

}

e.g. if you want to delete the default alphabet type you can do it with this tsConfing code:

formEvalWizard{

alphabet{

delete=1

}

}

“Ereg” field configuration

If you don't want to disturb user with “Ereg” field – can you configure all needed types in “Type” selector box and you can hide the “Ereg” field with this tsConfig code:

formEvalWizard.hideEreg=1

Then you will become this:

img-7

To-Do list

Nothing yet.

Changelog

formevalwizard 0.1.0

tsConfig formEvalWizard.hideRegex added

Bug repaired

formevalwizard 0.0.2

Bug repaired

formevalwizard 0.0.1

first release

img-8 EXT: MailForm evaluation wizard extension - 3