Edit fields in student application form

How do I edit/remove fields from the student application form? I tried from the user admin but unable to find full edit options.


  • Hi Mohit, welcome to the Gibbon community!

    Many of the options for the application form can be found in User Admin > Application Form Settings, as well as Manage User Settings/Custom Fields for adjusting some of the language, residency and privacy options. There isn't an option to edit every single application form field, but there are various toggles to turn things off and add fields. Otherwise, what kinds of fields on the application were you looking to edit or remove?
  • Thanks Sandra.

    I am new to the Gibbon platform. Just installed yesterday and have been watching all the videos and have read up almost all the documentation and forums. Yes I did try User Admin > Application Form Settings. I wanted to hide a few fields such as the following:

    1. Preferred name and official name (First and Surname would suffice)
    2. Name in Characters
    2. India Residency/Visa Type
    3. India Visa Expiry Date

    I read in one of your replies from November, that I might need to hide them from CSS.
  • Hello Everyone.
    I'm new here, and trying joining this topic.

    I'm a Teacher in a Gifted School, in Israel, and for that reasons, our requirements from the Application form are mostly different.
    I tried to delete fields from - 'modules\Students\applicationForm.php' and after i failed to do it to a 'Required fields', i understood i need the change the database - or something like that.

    Maybe it's the wrong category to ask this question, if so, please call it, and i will post a new topic.
    My request is in guidance how to change or delete 'Required fields'.

    Thanks in advanced
  • Hi Yoni, welcome to the Gibbon community :smiley:

    In User Admin > Application Form Settings you'll find a number of settings for disabling various fields, this doesn't cover all the fields as you've likely discovered, but its the best place to start.

    From there, if you're keen to dive into the code to edit the application form, here's a few pointers:
    - After the application on 'modules\Students\applicationForm.php' is submitted, it goes to an 'applicationFormProcess.php' page. If you're deleting fields from the form, it's likely to cause problems in this process page.
    - Rather than deleting (or un-requiring) a field, you can replace it with a hidden field that fills something like 'N/A' into the field in the background. This could let you remove and tweak the front-end of the application without breaking the back-end.
    - For example, if I wanted to remove the following required field:
    $row = $form->addRow();
           $row->addLabel('countryOfBirth', __('Country of Birth'));
    I could try replacing it with a hidden field of the same name and a generic value:
    $form->addHiddenValue('countryOfBirth', 'N/A');
    - If you're familiar with GitHub, it helps to fork the Gibbon core repository so that you can track your changes in your own branch and merge them back in after a new version is released. Otherwise, be sure to keep track of any files you change as they will be overwritten when updating Gibbon.

    Hope this helps! Give a shout with any questions. The application form is certainly one of the most complicated forms in Gibbon as well, so if you're keen to make changes it helps to make one small change at a time and test it after each change.
Sign In or Register to comment.