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 and later. add_filter( ‘af/form/submission/value’, function ( $value, $field, $form, […]

Phil Kurth Phil Kurth

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

Want it delivered fresh? You know what to do…

We never share your data.
Read our Privacy Policy

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 How append new rows to an existing repeater field

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 […]

Functions reference

advanced_form() advanced_form( $form_key_or_id, $args = [] ) Renders a form by a form key or form post ID. For example: advanced_form( ‘form_62bd15508b9c9’ ); // or advanced_form( 123 ); For a list of available arguments, see Display arguments. af_get_field() $value = af_get_field( $field_key_or_name, $args = [] ) Gets the value of a desired field from the […]

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 […]

Working with form entries

Working with form entries Form entries are a built-in system comprising of the af_entry custom post type. By default, forms do not create entry posts but each form can have entries enabled in the form settings. When entries are enabled, each submission with create a new entry post and the entry post will have the […]

Configuring notification emails

Advanced Forms’ email notification system makes it possible to configure any number of notification emails to any number of recipients on form submission. Each notification email can be configured to send to a different set of recipients and each email can be set up to send different fields (or not fields at all) from the […]

1 2

Good dev stuff, delivered.

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

We never share your data. Read our Privacy Policy

© 2016 – 2024 Hookturn Digital. All rights reserved.