Fields


How to add a field to the Profiles Form?

  • Login to the Admin Panel, go to Developer->Fields to add a new field to the profile form.
  • Click the Create Field tab in the upper right corner.
  • Select Profiles from the Applicable Modules. If you also want to add this field to the registration form, check the Registrations checkbox. Similarly, you can add a field to multiple modules.
  • Select Core as the Type.
  • Give a Name to your field. E.g. mothers_occupation, fathers_occupation, number_of_brothers etc. The name must be in small letters without any space and special characters. Use underscore instead of space.
  • Select an Icon for your field.
  • Select a Field Group. This is the group under which your field will be displayed.
  • Select options from the Field For checkboxes:
    • Frontend Index: Display this field to the user on the Profile Edit index page.
    • Admin Index: Display field to the Admin on the Index page.
    • Frontend: Display field to the user on the Profile Edit form.
    • Admin Only: Display field to the Admin on the Profile Edit form.
    • Status: Check the Status checkbox to make this field active. The field must be active only then it will be visible to a user.
  • Select a Field Type
    • None: The field will not be displayed on the Form
    • Hidden: The field will not be displayed, but it will exist on the form.
    • Text: The field will be an Input field.
    • Checkbox: The checkbox is shown as a square box that is ticked (checked) when activated. Checkboxes are used to let a user select one or more options for a limited number of choices.
    • Radio: Select the Radio checkbox to let a user select only one of a limited number of choices.
    • Textarea: A text area can hold an unlimited number of characters.
  • Enter a Label. This is used to tell users the value that should be entered in the associated Input Field.
  • Check The Label Text is a Language String? only if the label text is a multilanguage string. The multilanguage string must be manually added to the application/application_lang.php file.
  • Leave the Field Extra field blank. This is used to pass extra parameters to a field.
  • Select validation rules as per your requirements. Always select TRIM for all fields.
  • Click the Save button to save your field.

How to add/remove fields?