How to manage profile form with a huge quantity of fields

You may face several problems if the profile form has a vast quantity of fields (more than 150).

Max Input Vars

The default value for the PHP option max_input_vars is 1000. You have to increase this value to manage profile forms with a vast quantity of fields. This value should be seven times the number of fields or greater.

Examples:

  • 200 fields - 1500 input vars
  • 500 fields - 4000 input vars

Split the form

The profile form with a huge quantity of fields may be extremely slow. You may split members' fields into several profile forms. How to do this:

  • Create additional profile form;
  • Display additional profile form in a new profile tab.

You can create multiple profile forms. Go to wp-admin > Ultimate Member > Forms and click the "Add New" button. You also can duplicate the existing profile form and then add or remove fields.

Install the extension Profile tabs. Go to wp-admin > Ultimate Member > Profile Tabs and click the "Add New" button to create a custom tab.

Select the newly created profile form in the setting "Custom Profile Form" in the "Pre-defined content" box. You can use settings in the "Display Settings" box to restrict profiles that can display this tab by the profile owner user role and by the profile form. All profiles can display a tab by default. Select the tab icon, type the tab title and click the Publish button.

Read the article Profile tab with a form inside for details.