Hello,
I found a problem with the ACF file field.
The moment one file is set to upload, everything works fine, however when I set the option to upload multiple files, no files are uploaded. I have tried using hooks, however I have not gotten the files to upload.
Is this a bug? Will this ever be resolved? I would use this feature quite substantially.
We’re using an email field within ACF to set up a form using Advanced Forms. We would like to be able to send to multiple email addresses.
Is it possible to get the field to allow comma separated emails and send to all included? Or will we need to potentially set up a repeater or similar to try and allow multiple recipients for a given submission?
As is, this is the error we’re receiving:
]]>[email protected], [email protected]’ is not a valid email address
I’ve come across an issue, not sure what is causing it, but the form’s column entries index are increasing as being submitted but when I visit the entries, it is empty, did not return any errors on log files either.
Would appreciate the help here.
]]>ACF 6.3.0 New Conditional logic rules for fields (taxonomy for example) didnt work when Advanced Forms for ACF plugin is active
]]>Hello, I was trying to see how to set the front-end image uploader from only using the users computer files vs the WordPress media library uploader. I don’t want the user to see any WordPress related upload features. Is this possible?
The users creating posts are customers on the platform. Thanks!
]]>I have created a multi-page form per the instructions on https://advancedforms.github.io/guides/configuring-your-form/#making-a-multi-page-form and am having a couple issues with the user experience of filling out the form.
No matter what page I’m on, if I hit enter (other than in a multiline textarea), rather than activating the “Next” button, validating the current page, and proceeding to the next, it instead tries to submit the form, triggering validation for the whole thing, and if there are required fields on later pages displaying “Validation failed. ## fields require attention”, and not advancing to the next page, which is awkward and confusing for the user, especially if there are no validation issues on the current page, and additionally would result in a lot of missed questions if there are subsequent pages without required fields to prevent submission.
Additionally, if, while on the second page or later, I click the “Previous” button at the bottom of the form, I can get back to the prior page as expected, but if I click the page I want to get to in the top bar, it triggers validation on the current page, and won’t let me go back if there are errors/empty required fields.
I can probably work out the javascript to fix both of these issues for myself, but if it’s not just me I imagine these should be corrected in the plugin itself.
Hello,
Thanks for stopping by the support forum for the free version of our plugin. When opening a ticket here, please include as much information as possible to help us understand what is happening. The easiest way for us to help is to be able to reproduce the issue you are having so a clear explanation will result in a faster solution.
If you have any questions regarding the pro version, please use https://hookturn.io/contact/ to reach out to us. We can’t provide any level of support for the pro version here as it goes against the rules of www.ads-software.com.
Thanks,
Phil Kurth
Hi, I would like to purchase the pro version of your plugin.
I would like to understand if I can get what I want : I would have to create a library registration form with two time zones : 12:00 > 13:00 and then 13:00 > 14:00.
the first question : is it possible to assign a limited number of choices to each “radio-button” option?
second question : the fields related to the student, that is, first-name, last-name and class, date of the day, must be automatically pre-compiled with the customer data that will be logged in. this is possible?
many thanks
]]>Hello,
i would like to know more about Merge Tags.
“Advanced Forms has a variety of built-in merge tags which can be used in success messages, emails, and calculated fields. Examples include {field:NAME}
and {entry_id}
. Sometimes it’s desirable to add custom merge tags which we’ll cover in this guide.”
https://advancedforms.github.io/guides/adding-custom-merge-tags/
are there for example tags to get the current user name and email, from the one that submitted the form?
thank you, great plugin!
]]>It seems, that despite all of the labelling stating so that it’s now impossible to install a free version of the plugin as it has a dependancy on the pro install? It clearly states on your website there is still a free version and one other thread i saw has the same issue??
This in ambiguous labelling. If the free version for evaluation / testing no longer achievable? Is there a way to manage the detection of the acf_pro class for trial and testing?
]]>So sometimes I have issues where my form won’t submit. Then I clear the cache and it works for a while. Until someone reaches out to me telling me that the form isn’t working.. Whenever I disable Litespeed Cache it seems like it works as it always should.
I’m using AJAX for my form. It can be found in the footer of all pages, so I can’t just disable that specific page in the Litespeed settings. Any suggestions on how I can set up Litespeed Cache to not intefere with the form submission?
]]>Hi guys,
Quick one: how to handle AJAX for submission failures?
If it fails, it shows no message and just keeps spinning/the form and button are disabled. We need a way to customise the response, such as saying that they should reach out to support and potentially also show the error message.
It would be good to allow form to be resubmitted too, in case they can modify the submission and get it to pass with or without our help.
Keep up the great work on this plugin.
Thanks,
Theo
Can the form allow a user to upload pictures to ACF Gallery where they can see only their own pictures?? (And not everyone else’s media/pictures also)
]]>I’ve created a form using an existing field group as the target to create a new entry. The for displays just fine, submits and shows the success message. It also sends an email to notify me of the new entry, and has all the fields shown.
However, the new entry is not added to the field group. I get no error messages.
This form is being displayed in an Elementor page using the shortcode to the form.
The site is restricted to logged in users only so I would have to set you up to see the page.
I’ve built several ACF Forms, and while the entries for them show up after submission, they aren’t posting data to the post-type fields. I made a very simple one with a simple title field in one field group, and it shows up fine in the entries for that form, but won’t post any data to it’s post-type either. There are no error messages either there or in the console.
I’ve gone over the configs many times and can’t figure out what I’m doing wrong here.
I can add to the post type from the backend, and I built a Forminator form that can post to those post-types and fields, so I know that is all working. I have disabled all the plugins I can, no change. I am displaying the form via a shortcode on a page with no other elements.
Help. ??
Private communication preferred if possible.
]]>I tried asking this question to the folks over at Advanced Custom fields, but they redirected me to this email, as my use case falls under this plugin plugin. Hoping someone can assist with this.
We have a workflow where we allow a user to save an ACF form submission as draft, before they can proceed further. Here is some code which we are using to save to draft:
function my_acf_button_ajax($field, $post_id){
// Check if current user has any posts.
$post_id = getDraftPost();
if (!empty($post_id)) {
if( $_POST['acf'] ) {
update_post_meta( $post_id, 'entry_form', FORM_KEY );
update_post_meta( $post_id, 'entry_submission_date', date( 'Y-m-d H:i:s' ) );
acf_update_values( $_POST['acf'], $post_id );
}
}
else {
$post = [
'post_status' => 'draft',
'post_type' => 'af_entry',
];
// insert the post
$post_id = wp_insert_post($post);
if ($_POST['acf'] && $post_id) {
update_post_meta( $post_id, 'entry_form', FORM_KEY );
update_post_meta( $post_id, 'entry_submission_date', date( 'Y-m-d H:i:s' ) );
acf_update_values($_POST['acf'], $post_id);
}
}
// Set post ID which we will use during submission, and other places.
wp_send_json_success("Draft has been saved!");
}
Here is the getDraftPost() function, which simply looks for the most recent draft for the current logged in user.
function getDraftPost($status = 'draft') : int {
global $current_user;
// Check if current user has any posts.
$args = [
'author' => $current_user->ID,
'orderby' => 'post_date',
'order' => 'DESC',
'post_type' => 'af_entry',
'post_status' => $status,
];
$current_user_posts = get_posts( $args );
if (!empty($current_user_posts)) {
return $current_user_posts[0]->ID;
}
return 0;
}
And finally, the code used to populate defaults, if a draft is found.
function set_draft_values( $field ) {
$post_id = getDraftPost();
if (!empty($post_id)) {
$fieldValue = get_post_meta($post_id, $field['name'], TRUE);
if (!empty($fieldValue)) {
$field['default_value'] = $fieldValue;
}
}
return $field;
}
add_filter('acf/load_field', 'set_draft_values');
As you can see, we are using the acf/load_field to populate the default values. All of this works, but we are noticing that sometimes, values that are saved in drafts for one user, are populated on forms that are being submitted by another user altogether. There is no sharing of computers, and this happens completely at random for maytbe 1/50 submissions. Is there a better way to therefore populate the form with values saved from a draft where this pollution of data doesn’t happen?
Few things to note:
Output and styles for Advanced Custom Fields: Extended fields, such as currencies, are broken by Advanced Forms. Please see the link below, as that user has the same issue.
Outputs like this with the spans displayed: <span class=”iti__flag iti__ae”></span>?.? AED
Is there a way to disable the AF Form functions that are used to prepare a specific field, or another method to prevent the conflict from occurring?
]]>I want to create a search and filter structure using the get method and querystring structure. Does anyone know how I can do it?
]]>Hello, for a non logged user is there a way to have a preview of the selected image in an Image Field ?
]]>When I create a repeater in ACF and include a image field it is not included in the email that is sent. What is needed to make this work?
]]>Hi,
I’d like to migrate from my current form plugin to this one, but I’m trying to get rid of any jQuery dependant plugins on my site. My current form plugin is the only plugin that depends on jQuery at the moment and I wanted to ask if Advanced Forms for ACF and the Pro version depend on jQuery. And if so, is there any way to disable or replace this code with vanilla JS?
]]>We are using the Plugin so we can add visitors to our Mailchimp Newsletter lists. But I don’t see that I can set any tag when a user register with this form. Is this somehow possible?
We need it, because we start different automations which based on a tag based trigger on mailchimp.
Thanks for your help!
I have a question on what is already done regarding form security?
Did you include client-side and the server-side form validation?
Or do you use a PHP built-in function to sanitize the input?
I saw that you use htmlspecialchars() to sanitize output to protect against XSS. And also a nonce to identify the form.
I am asking to ensure we offer no insecure website to our clients using this plugin. If needed we could also support you with that.
]]>How can we disable/enable the submit button based on the conditions if a checkbox is checked or not. This is needed for contact forms to follow GDPR laws.
]]>Hello. I want to filter a field content, changing its content before sending the form
]]>Am I able to create rating surveys with Advanced Forms Pro and ACF? Something like a movie review site where I take user reviews, but at the top near the movie title is the average star rating?
]]>How do you set up notifications for conditional recipients? Does this require the Pro version?
I created an ACF select field. Depending on the option that has been selected, I want the form submitted to that specific email address.
To clarify my question, here is the same thing done with Contact Form 7: https://contactform7.com/selectable-recipient-with-pipes/
]]>The form appears to send (I get the success message). But the email doesn’t arrive. I have set up the recipient email under Notifications as a Custom Recipient. Is there something else I should be doing?
]]>Hi, is it possible to export submissions ?
Thanks
]]>Any page with an Advanced Forms form gets flooded with ACF scripts and styles: jQuery UI, sliders, polyfills, i18n scripts, plus ACF & ACF Pro versions of the same scripts and files. The plugin docs have a suggestion to reduce this (https://advancedforms.github.io/guides/decreasing-number-of-scripts-and-styles/), but that still leaves around 20 extra script & style files loading with every form.
Dequeueing and deregistering the remaining scripts from their IDs does remove them, but leads to ACF JS errors popping up in the console due to other ACF inline code injections relating to these dependencies (even removing dashicons results in errors).
I’m surprised the plugin is just pushing all the ACF dependencies out to the front end of the site, instead of handling this more gracefully.
Is there any way we can get simple clean form output with this plugin, or have I just wasted US$79 on a licence for something that bloats sites with junk? (Yes I know there’s email support for purchasers, but I’ve had no acknowledgement of my email after 24 hours).
]]>