Members

Note: You can use your Sitellite.org account here and vice versa.

Username

Password

Remember Login

Forgot your password?

Not a member? Click here to register

Text In Mail Form

Home Page | All Pages | Recently Revised | Authors | Feeds |

Sectioning

If you just need to separate your form in different sections, all you need is a section widget. For example in your settings.php:

[personnal]
type = section
setValue = "Personnal Information"

[name]
type = text

;...

[contact]
type = section
setValue = "Contact information"

Larger trunk of text

If you want to put more than a one line sentence, you can use a template like follow.

  • first, create the template in the html folder. for example, html/help.spt :
<tr><td colspan="2">
<h2>{title}</h2>
<p>{long_msg}</p>
</td></tr>
  • then, in your settings.php:
[help]
type = template
template = help.spt
setValues = "eval: array('title'=>'Important advice', 
'long_msg' => 'This very long message is just a way to show you
how you can put more than a one line sentence in your form')"

Note: don't put any linebreak in your setValues parameter

and that's it!

Revised on July 13, 2005 2:31 PM by electrolinux

Back in time (1 more) | Linked from: Forms