Multipurpose Send Mail Form Builder

v2.0

 

Form design

CheckBox

This is the Flex CheckBox component. Following properties can be used in XML file

Properties Optional Value type Default value Meaning
type No String   Must be "CheckBox"
name No String   Name of this CheckBox 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 with selected value to PHP script for your extra purpose

x No Int   X, Y position of CheckBox on form
y No Int  
width No Int   Width, Height of CheckBox on form
height No Int  
value No String   Label of CheckBox
select Yes Boolean false CheckBox is selected as default
fieldTitleInMail No String   String that will appear in mail content, follow with current selected value.
toolTip Yes String "" Tooltip of this CheckBox
actions No XML object   List of actions will be run when CheckBox is selected. Using following structure

<actions>
   <name>actionname1</name>
   <name>actionname2</name>
   ... [other action name]

</actions>

font Yes XML Object   This is new features of MSMF v2. See next.

where font property includes following sub attributes

Properties Optional Value type Default value Meaning
size Yes Int 10 Font size
name Yes String Default system font Font name in system font
bold Yes Boolean false Bold font
italic Yes Boolean false Italic font
color Yes String Black Font color

Example

<object>
   <type>CheckBox</type>
   <name>chk41</name>
   <x>10</x>
   <y>560</y>
   <width>200</width>
   <height>20</height>
   <value>Monday</value>
   <select>true</select>
   <fieldTitleInMail>Monday</fieldTitleInMail>
   <toolTip>Select if you are free on Monday</toolTip>

   <actions>
      <name>OpenForm_Grp4_Sample2</name>
   </actions>
</object>
<object>
   <type>CheckBox</type>
   <name>chk42</name>
   <x>10</x>
   <y>580</y>
   <width>200</width>
   <height>20</height>
   <value>Tuesday</value>
   <select>false</select>
   <fieldTitleInMail>Tuesday</fieldTitleInMail>
   <toolTip>Select if you are free on Tuesday</toolTip>
</object>

And the result

     

Back | Table of Contents | Next

 

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