Support

Custom Fields

ppSD2 Product Manual » Database » Custom Fields

A field is a piece of information that you collect from users and that is stored in the database.

Creating Fields

  • Click on "Settings > Add a Field"
  • Input the number of fields you want to add.
  • Input a field name and description for each field. These will be displayed to the user when inputting the field.
  • Select the type of field you wish to create (see "field types" below).
  • Encrypt: This controls whether the field will be stored in plain text or encrypted within the database. If encrypted, the field is not searchable from the control panel.
  • Javascript: If you wish to run JavaScript when the field is activated, input the javascript to run. Recommended for advanced users only!

User Manual Updating

Users can update their account information from the User Control Panel. To select which fields can be updated:

  • Click on "Settings"
  • Expand the "Login Related Options" section
  • Edit the option entitled "Updatable Fields"

User Forced Updates

You can force users to update their account information on a regular basis. To activate this feature:

  • Click on "Settings"
  • Expand the "Login Related Options" section
  • Set option "Require User Updates?" to "Yes"
  • Input a timeframe into the "Require User Update Timeframe" option
  • Select the fields the user will be forced to update by editing the "Forced-Update Fields" option.

Field Types

  • Text: Single line of text, maximum of 255 characters
  • Textarea: Multi-line text field.
  • Radio: Multiple choices, user can only select one.
  • Select: Multiple choices, user can only select one. Appears in a dropdown menu.
  • Checkbox: Single "on" on "off" tick box with a fixed value.
  • Random ID: Generates and automatically populates the database with a random series of letters and numbers.
  • l (lower-case L): Replaced by a lower-case letter.
  • L (uppse-case L): Replaced by an upper-case letter.
  • n (lower-case N): Replaced by a number.
  • Example: If you input a value of "nnn-llLL", the database would be populated by something similar to "351-enGE" or "819-nwSJ".
  • Date Field: Stores a date in the database.
  • Hidden: Will not appear to the user on a form, but will populate the database with a fixed value for the field.

Last updated on 7 July 2011 2:35pm

Discussion

No comments found.

Post a Comment

Please note that only comments involving constructive ideas will be approved.

This website does the Banana Dance!