Clear Unused Form Fields

Clear Present Form Fields

All the fields you will add in any of sign up forms will be automatically added in the list of “Preset Fields” section of the form builder. Sometimes it happens that some fields become unnecessary so you will remove that fields from sign up form, but those fields will still remain as it is in the “Preset Fields” section even if they were deleted, so you can add them to the form from Preset Field, if again needed in the future.

But sometimes you have added fields for testing purposes and then deleted those fields from forms. If those fields will not be deleted from Preset Fields, then the Preset Field list will be longer and longer. Also, those deleted fields will be displayed in the “Edit Member” page of the administrator area. So you must need some way to clear these unused fields from everywhere.

For these, ARMember Provides Clear From Field setting in General Settings.

ARMember_clear_form_fields

Suppose you have added a text box of “Address” in sign up form. So it will also be added in the Preset Fields section. If you change the “Address” field’s meta key from the field settings option then, it will create another field and display it a separate field in the Preset fields List. WordPress uses custom field metadata stores with meta key in user meta so if the administrator changes the meta key then, it will be stored data as set in the field’s meta key. Now, if you have deleted the address field from the Edit Form page for any reason, but it will still appear in the “Preset Fields” section.

ARMember_cleasr_form_fields

Now to remove the “Address” field from the “Preset Field” section, use the “Clear Form Field” button. Click on it, then the popup will open as shown below.

ARMember_cleasr_form_fields

From the popup, you can select all the fields that you want to delete from everywhere. You will see some checkboxes remain disabled as they are default fields and cannot be deleted from the sign-up form. Checkboxes for other fields will be enabled only if that fields were deleted from sign up form first.

If data entry exists for any of those fields, then you will see “(Entry Exist)” in red letter beside that field checkbox which means that if you delete the “Entry Exists” field then that custom field data will be deleted too. Now select all the fields, that you want to delete from everywhere and click the OK button. That’s it. All selected unused fields will be removed from everywhere.

Edit Present Form Fields


The next option is Edit Present Form Field at General Settings

ARMember_clear_form_fields

When you add any field for example you have added the ‘File Upload’ field at the form so that field will be added to the Present Form Field

ARMember_cleasr_form_fields

Now if you will try to rename the field suppose you rename the ‘File Upload’ field to ‘Upload’, then the field will be renamed at the form but not at the Present Form Field check the screenshot provided below.

ARMember_cleasr_form_fields

If you want to rename the field at the present form field then you need to edit it from the Edit Present Form Field setting at General Settings. You can copy the meta key of the field which you have renamed, and you find the meta key at the form field settings itself. Then you can rename the field with the same metakey at the Edit Present Form Field.

ARMember_cleasr_form_fields

ARMember_cleasr_form_fields