From AMember Pro Manual
It is possible to add new fields to signup and profile editing form.
Add a User Field
- Click aMember CP -> Add Fields link in aMember main menu
- You will see Additional Fields screen with list of existing fields
- Click Add Field button
- Additional Fields:Edit screen opens
- Fill-in form fields according to your needs:
- Field Name
- name of field that will be used internally in the script, also for the SQL field
- Field Title
- title that will be displayed on user signup and profile forms, also in aMember CP
- Field Description
- desciption that will be displayed on user signup form in small font under the title;
- Field Type
- choose to create an SQL or "Common" field. Choose an SQL field for fast search, however, not all Display Types are compatible with SQL fields, then it will be automatically switched back to "Common"
- SQL Field Type
- choose how will the field be stored in MySQL Database. If you have choosen "Common" field type above, ignore this option
- Display Type
- choose how the field will be represented on signup, profile and admin pages. All common HTML input types are available;
- Size of input field
- you may choose size of your text input field, or for select field you may set Size = 1 to get popup select box;
- Field Values
- for RadioButtons, CheckBoxes, and Select fields you have to enter fixed values for user choice. Enter it one per line, key(will be used internally) and value for each input choice, separated by | (pipe). You may also add |1 to a line item, it will make option selected/checked by default.
- Visibility of the field
- defines where the field will be visible and changeable;
- Validation Function
- defines a validation function for the field value.
- Click Save to add field. Visit Signup Form to validate fields were actually added.
|
|