Multipurpose Send Mail Form Builder

v2.0

 

Form design

General form configuration

It configures for following parts:

  • Describe PHP send mail script
Properties Optional Value type Default value Meaning
sendmailPHP No String   http link to PHP sendmail script

refer to Step2 in How to use

  • General form properties (of MSMF)
Properties Optional Value type Default value Meaning
backgroundColor Yes String white Background color of form
borderDisplay Yes Boolean true Show border of form
borderColor Yes String default color of Flex Panel Border color of form
title Yes String "" Title of form. Only display if borderDisplay=true
width No Int   Width, Height of form (MSMF component).
height No Int  
scrollBarVertical Yes Boolean false Enable ScrollBar in vertical and Horizontal. You maybe use these if your form is too wide, such as when form is survey.
scrollBarHorizontal Yes Boolean false

  • Send button properties. After information is inputted, user clicks this button to start send mail.
Properties Optional Value type Default value Meaning
x No Int   X, Y position of button on form
y No Int  
width No Int   Width, Height of Send button
height No Int  
backgroundColor Yes String black Background color of button
textColor Yes String black Text color of button
caption Yes String "" Caption of button
toolTip Yes String "" Button tooltip text
visible Yes Boolean true Show this button on form. This is new property in MSMF v2 because subform may not need this button
  • Reset button properties. When user click this button, all fields in form will be reset to default value. The reset button can be invisible on form.
Properties Optional Value type Default value Meaning
x No Int   X, Y position of button on form
y No Int  
width No Int   Width, Height of Send button
height No Int  
backgroundColor Yes String black Background color of button
textColor Yes String black Text color of button
caption Yes String "" Caption of button
toolTip Yes String "" Button tooltip text
visible Yes Boolean false Show this button on form

Note: value of color property can be retrieved using pick color in Flex component

Example

With following general configuration (in XML file)

<configuration>
   <sendmailPHP>http://jomtube.net/mysendmail/mail_sender.php</sendmailPHP>
   <form>
      <backgroundColor>#D0BC5F</backgroundColor>
      <borderDisplay>true</borderDisplay>
      <borderColor>green</borderColor>
      <title>Comment for Product</title>
      <width>600</width>
      <height>530</height>
   </form>
   <sendButton>
      <x>380</x>
      <y>20</y>
      <width>150</width>
      <height>40</height>
      <backgroundColor></backgroundColor>
      <textColor></textColor>
      <caption>Send email</caption>
      <toolTip>Press when ready to send</toolTip>
   </sendButton>
   <resetButton>
      <x>380</x>
      <y>70</y>
      <width>150</width>
      <height>40</height>
      <backgroundColor>Green</backgroundColor>
      <visible>true</visible>
      <textColor>Yellow</textColor>
      <caption>Reset</caption>
      <toolTip>Clear all text</toolTip>
   </resetButton>
</configuration>

The MSMF will look like:

For more examples, see Examples

Back | Table of Contents | Next

 

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