BoltWire

Innovative Ideas :: Radical Results!

INFORMATION

DOCUMENTATION

SOLUTIONS

Forms

Documentation > Forms

Creating interactive forms is easy in BoltWire. One of the best way to learn how to create these forms is to study BoltWire's default action pages. Forms however are not limited to action pages --they can be put anywhere in your site by site editors and admins.

Create Forms

To create an interactive form, begin and end your form with the following syntax:

<code>
[form]
...
[form]
</code>

In between these two form tags, you place your various form elements, such as checkboxes, radio buttons, text input fields, and drop down menu's. Each will have the following basic format:

<code>
[type name="field" value="some value"]
</code>

Allowed types include: text, check, radio, password, hidden, image, select, option, box, file, button, submit, and reset. The value field is optional.

Also allowed is a special session type (which sends the info to the form processor via a session variable rather than a form field), and a link type which can submit a form by clicking some text on the page. BoltWire has many shortcuts for building forms quickly and easily.

Here is a sample form that might be created to setup an addressbook for example. (Without form commands however it will not do anything but display).

<code>
[form]
Name:
Phone:
Email:
Address:

[form]
</code>

For more information study some of the forms on the various action pages.

Note: only admins and editors are able to create forms in BoltWire.

Here are a few basic points of information:

Some things to remember


Comment by member.bolti?, posted Tue Jun 1 13:44:50 2010
The sample form doesn't display anything for me.

Copyright © 2013, all rights reserved.