A specialized field type that bridges Advanced Custom Fields (or Secure Custom Fields) and Fluent Forms by providing a dropdown selector for Fluent Forms within ACF field groups. This integration enables developers and site builders to reference specific forms in their custom field configurations easily.
Setup Instructions
- Once you have an active Advanced Custom Fields, Advanced Custom Fields PRO, or Secure Custom Fields plugin, the new field type gets added automatically.
- Adding to ACF Field Groups
- Open your ACF Field Group in WordPress admin
- Click “Add Field”
- Select “Fluent Form” from the field type dropdown (found in the “Relational” category)
- Configure the field settings:
- Allow Null: Choose whether to allow an empty selection
- Return Value: Select between “Form Object” or “Form ID”
Usage in Templates
If you selected “Return Format: Form ID” in your ACF/SCF field settings, use this code in your template:
$form_id = get_field('your_field_name');
if ($form_id && function_exists('fluentform_render_form')) {
fluentform_render_form($form_id);
}
If you selected “Return Format: Form Object”, you’ll get the form data object. To display it, use:
$form_object = get_field('your_field_name');
if ($form_object && function_exists('fluentform_render_form')) {
fluentform_render_form($form_object->id);
}
Notes
- Forms are loaded via Fluent Forms’ official API (fluentFormApi())
- Forms are sorted by ID in descending order (newest first)
Table of Contents