Input Forms

From ActionApps Documentation
Revision as of 13:09, 5 August 2005 by Marek (talk | contribs)

Jump to: navigation, search

Input form is an online form which ActionApps users use to manually add data into a slice. You, as a developer of ActionApps based website, are responsible for making the form user friendly and intuitive. Any input forms a collection (or sequence) of input elements, which correspond to slice Fields. You know HTML, so you know what online forms are (the ones you do using the <form> tag). You also know what input elements are (the ones you do using the <input> tag). And, you also know that there are various types of input elements, like textarea, select box, simple text box. ActionApps can generate any of those, plus many more:

Types of input elements

~ToDo: List types of input elements 

Using RichText Area

~ToDo: Write about RichText area

Using File/Image Uploads

How do I upload files into a slice

First, your System Administrator has to setup the apc-aa, see below

Then edit one of the fields, e.g. SliceAdmin-Fields-ImageURL-Edit

Set the type to "File upload" and use the Wizard to set the file type to for example image/* or */*

Set the Validate/Insert field to "File"

The field will then show up with a pair of fields, one where a URL can be entered, and the other where a file can be chosen. You may wish to take care on picking the help text for these fields as it can be confusing to figure out whether to fill out both fields or just one.


Wonders of Live Checkboxes & co.

How to use Live checkbox (Auto Update Checkbox)?

If you are using highlight field for displaying items on homepage and you want to allow people to be able to switch the highlight on and of quickly, then Live checkbox is the solution for you. It allows you to display checkbox directly in Item Manager, so users just check or uncheck in there. They do not need to go in item editing page and edit each item.

How to set it up
  1. Go to 'Slice Admin' -> 'Fields' and choose 'Edit' for field you want to use live checkbox (probably highlight....... or other Boolen field)
  2. Set alias (for example _#LIVECHBX) using f_k - Auto Update Checkbox
  3. Go to 'Slice Admin' -> 'Design - Item manager'
  4. Incorporate new alias (_#LIVECHBX) into Item Manager design
  5. Done