.. You may want to use the usual include line. Uncomment and adjust the path. .. include:: ../Includes.txt ========================================= 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: EXT: MailForm evaluation wizard extension ========================================= Extension Key: **formevalwizard** Copyright 2006, 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: 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: Introduction ------------ .. _What-does-it-do: 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: Users manual ------------ .. _Installation: 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: Configuration ------------- .. _Type-selector-box-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: “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: To-Do list ---------- Nothing yet. .. _Changelog: 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 .. ######CUTTER_MARK_IMAGES###### .. |img-1| image:: img-1.png .. :align: left .. :border: 0 .. :height: 228 .. :name: obrázky2 .. :width: 669 .. |img-2| image:: img-2.png .. :align: left .. :border: 0 .. :height: 92 .. :name: obrázky1 .. :width: 290 .. |img-3| image:: img-3.png .. :align: left .. :border: 0 .. :height: 134 .. :name: obrázky3 .. :width: 479 .. |img-4| image:: img-4.png .. :align: left .. :border: 0 .. :height: 134 .. :name: obrázky4 .. :width: 234 .. |img-5| image:: img-5.png .. :align: left .. :border: 0 .. :height: 134 .. :name: obrázky5 .. :width: 234 .. |img-6| image:: img-6.png .. :align: left .. :border: 0 .. :height: 134 .. :name: obrázky6 .. :width: 234 .. |img-7| image:: img-7.png .. :align: left .. :border: 0 .. :height: 126 .. :name: obrázky7 .. :width: 231 .. |img-8| image:: img-8.png .. :align: left .. :border: 0 .. :height: 32 .. :id: Graphic1 .. :name: Graphic1 .. :width: 102