Filtering form field groups

If you need to modify the array of field groups for a given form, you may use the af/form/field_groups filter. This filter is applied to the array of field groups after they are queried from ACF and before they are handled by Advanced Forms. This filter makes it possible to: Modify the order of field […]

Phil Kurth Phil Kurth

Filtering submitted values

If you need to modify a submitted field value before it is processed, you may use the af/form/submission/value filter. This filter is applied to the raw input value of a field before it is formatted by ACF. Note, this filter is only available in version 1.9.3.4 and later. add_filter( ‘af/form/submission/value’, function ( $value, $field, $form, […]

Phil Kurth Phil Kurth

Want it delivered fresh? You know what to do…

We never share your data.
Read our Privacy Policy

Customizing how the form renders

Advanced Forms offers a vast array of options, hooks, and filters for customizing how a form renders. During development, if you need a quick visual reference for where action hooks sit within a form, you may use the following snippet. This will render markup on the front end that shows the name of each hook […]

Phil Kurth Phil Kurth

Creating and editing users

Pro Feature This functionality is only available in the pro version of the plugin. For access to all features, upgrade to Advanced Forms Pro. Creating and editing users directly from the front end of your WordPress site can be a powerful feature. This functionality can be used in various scenarios, such as: Allowing users to […]

Phil Kurth Phil Kurth

Working with repeaters

Dynamically set maximum allowed rows on a repeater field on form render https://hookturn.freshdesk.com/a/solutions/articles/44002387972 How append new rows to an existing repeater field https://hookturn.freshdesk.com/a/solutions/articles/44002393546

Phil Kurth Phil Kurth

Creating and editing posts

Pro Feature This functionality is only available in the pro version of the plugin. For access to all features, upgrade to Advanced Forms Pro. A very common use case for ACF forms on the front end is to allow users to create and edit posts. Some examples of this include: User submitted blog posts Allowing […]

Prefilling form fields

You may choose to prefill form fields on form render using a variety of methods. Available methods Shortcode argument Due to the potential complexity of field values and shortcodes lacking support for complex data structures, it is not currently possible to prefill values via the shortcode. Instead, it is best to use the advanced_form() function […]

Registering forms programmatically

You may choose to register your forms programmatically rather than using the admin interface. This is useful if you want to create forms dynamically, or if you want to embed forms into the project via a theme or plugin. Doing so also provides the benefit of being able to version control your forms. To create […]

Customizing request authentication

API keys are tokenised with each request using a time-based tokenisation algorithm. This ensures that the API key is only valid for a maximum of two minutes (using UTC times). API tokens are sent via the X-ACF-Remote-Sync-Token request header. Changing the request header name You may change the request header if you wish using the […]

Phil Kurth Phil Kurth

Working with repeater fields

By default, the plugin ignores repeater fields allowing their data to pass through to ACF for storage in core metatables. This is to maintain consistency after updating to version 1.1. You may enable repeater support using either the plugin’s settings panel, or a WordPress filter and then further configure the plugin — using WordPress filters […]

Phil Kurth Phil Kurth
1 2 3 4

Good dev stuff, delivered.

Product news, tips, and other cool things we make.

We never share your data. Read our Privacy Policy

© 2016 – 2025 Hookturn Digital. All rights reserved.