Multipurpose Send Mail Form Builder

v2.0

 

Form design

List of actions (optional)

Here it declares list of action used in form. Current version of MSMF only support 2 types of action:

This part is structured as following:

  • General structure of this part
<actionlist>

   <action>

       [properties of subform]

   </action>

   <action>

       [properties of subform]

   </action>

   ... [other actions]

</actionlist>

  • Properties of action
Properties Optional Value type Default value Meaning
type No String @ Set type of action.
name No String @ name of action. Similar to name of other components, it can be named any but must be unique in current main form. This name will be used in other component to call action
value No String @ value corresposing with action
startup yes Boolean false Run action at startup (when main form is loaded)

Following is list of action supported in current version

Action type Value Meaning
OpenLink http link This action will open http link in new browser
OpenForm name of subform in subform group declaration This action will show specified (by name) subform. All other subforms in same group will be hide

Example

With following general configuration (in XML file)

<actionlist>
   <!--List of action-->
   <action>
      <type>OpenLink</type>
      <name>OpenLinkGoogle</name>
      <value>http://google.com</value>
   </action>
   <action>
      <type>OpenForm</type>
      <name>OpenForm_Grp1_Sample1</name>
      <value>Grp1_Sample1</value>
   </action>
   <action>
      <type>OpenForm</type>
      <name>OpenForm_Grp1_Sample2</name>
      <value>Grp1_Sample2</value>
   </action>
</actionlist>

<objectlist>
   <object>
      <type>Button</type>
      <name>btnOpenLink1</name>
      <x>10</x>
      <y>40</y>
      <width>100</width>
      <height>20</height>
      <value>Grp1 Form1</value>
      <backgroundColor>red</backgroundColor>
      <textColor>#c9fc9f</textColor>
      <fieldTitleInMail>Button 1</fieldTitleInMail>
      <toolTip>Please write for reviewer</toolTip>
      <actions>
         <name>OpenForm_Grp1_Sample1</name>
      </actions>
   </object>
</objectlist>
@

It will create one Button which when click, form name Grp1_Sample1 will be shown

For more examples, see Examples

Back | Table of Contents | Next

 

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