Multipurpose Send Mail Form Builder

v2.0

 

Form design

TextArea

This is the Flex TextArea component (multiline). Following properties can be used in XML file

Properties Optional Value type Default value Meaning
type No String   Must be "TextArea"
name No String   Name of this TextArea object instance. It is similar to id field of Flex component. This property value must be unique in XML form file.

It is a variable that is POSTed to PHP script for your extra purpose

x No Int   X, Y position of TextArea on form
y No Int  
width No Int   Width, Height of TextArea on form
height No Int  
require Yes Boolean false Used for validation. When Send button is pressed, if this TextArea, with require=true, is empty, so red border of this TextArea will be appeared to indicate result of failed validation.
value Yes String "" Default text displayed in TextArea component. It is also used when press Reset button.
includeChars Yes String "" All characters in includeChars string MUST exist in this TextArea. Otherwise, validation will be failed
excludeChars Yes String "" All characters in excludeChars string must NOT exist in this TextArea. Otherwise, validation will be failed
fieldTitleInMail No String   String that will appear in mail content, follow with current TextArea value
toolTip Yes String "" Tooltip of this TextArea

Example

<object>
   <type>TextArea</type>
   <name>txtExperienceList</name>
   <x>10</x>
   <y>760</y>
   <width>430</width>
   <height>100</height>
   <require>true</require>
   <value></value>
   <fieldTitleInMail>Please list any relevant experiences you have that you feel would benefit any of the above programs or events.</fieldTitleInMail>
</object>

And the result

If user doesn't input anything and press Send button in following case

    

It indicates that the validation is failed because this field is required.

Back | Table of Contents | Next

 

Copyright © 2009 Best Flash Solutions, Inc. All rights reserved | Site map