Frontend Admin Forms

Frontend Admin Forms

Frontend Admin Forms enable users to add any site data from the front end of a WordPress website, without needing to interact with the WordPress dashboard.

Important: By default a user needs to be logged in and carry the “administrator” role to add a post. This can be changed, however, in the Permissions settings of this form.

Adding the Form

In your WordPress dashboard, hover over “Frontend Admin for ACF” on the top bar and click “Create Form”.

Select “Frontend Form” in the form type dropdown, give the form a title, and click “Create Form”.

At this point, you already have a functioning form that you can place anywhere using either the shortcode [frontend_admin form=”{{formID}}”] or the Gutenberg block. You may also simply publish the form and refer users to the form’s public URL seen under the form title:

In any case, you might also want to configure some settings based on your specific use case. Let’s take a look at the available settings.

Form Presets

With this form, you can add and edit data on any area of your site, be it a post, user, taxonomy, and so on. However you might want to use one of the following presets:

  • New Post Form
  • Edit Post Form
  • Duplicate Post Form
  • New User Form
  • Edit User Form
  • New Term Form
  • Edit Term Form

Submissions

If the option “Save Form Submissions” is turned on, you will see an additional option called “Submission Requirments“. This allows you the option to review form submissions before they go live on your site. Leaving it blank will save the data immediately upon form submission. If you wish to manually review the submissions before they go live, choose “Admin Approval”. The submissions will then be saved in the Submission section and you can approve or delete them.

Actions

Here we have several options for additional actions to take place once the form is submitted. 

Redirect After Submit

Here you can define where the page should redirect to after submitting. By default, it will reload the current Page/Post. You can also choose to redirect to the newly created post page by selecting Post URL.

Success Message

Here you can define a custom success message, or choose to not show a success message, whatever suits your needs.

Permissions

Filtering HTML

By default, all forms filter HTML so as to prevent hackers from injecting malware into your website. If you wish to turn this feature off and allow users to submit HTML, simply turn on “Allow Unfiltered HTML”. Be careful to only turn this on if you trust everyone who is using this form!

Condition Rules

This is where we limit which kinds of users can access the form. It is very important to configure this correctly, as otherwise, your users might not be able to see the form at all!

By default, only administrators can see the form. If you want to allow other users to access it, you need to add rule or configure the default rule. You can limit the visibility based on roles using the “Select By Role” option, or add specific users under the “Select By User” option.

Modal Window

Here you can choose to show the entire form inside of a modal window which can be opened by clicking a button.

Final Result

At any point, you can preview your form. You may choose to show the form page to the public, keep it private for internal use, or you may set it to be password protected.

That’s it! You now have your very own front end facing admin form. Your live form should look something like this:

Frontend Admin Forms

Still stuck? 
Contact our support team here.