Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

each hash of the array describe an information to ask to the user.

the key name is the name of the POST variable

the key title is the name of the field to show to the user

Field Type

The type key describe the type of the field it can have this values ( the default value is string value )

...

default one, the user have to insert a short text value

url

uthe the user have to insert an url

number

uthe the user have to insert a number

...

in this particular case the server need also a POST variable named "thumb" that contains the url of the thumbnail. (Not necessary for CMS and Website)

date

the user have to insert a date string

checkbox | radio | select

the user should see the specific input type. The values of the inputs are founds in the values key that is an hash that contains the real value as the key and the value to show as the value.

geo

the user have to inserted a geolocalizated space.

The server is expecting 2 POST variable , latitude and longitude, preprended with the name key.

The application is free to help the user choose the coordinate in any ways.