@mickfilipe, @waltercruz, @gabyferman, @johnny_br - finally got some time to work on this some more.
@mickfilipe, @waltercruz here are some updates for the issues you saw.
1 - this was a conflict between the built in "required" validation and the server side validation. The plugin has been updated to only check the server side validation once the client side validation passes.
2 - thats the built in "error" CSS for ACF, but it looks like you are missing a message for some reason... possibly a server side error. I can't get this to fail like you are seeing, so can you check your PHP error log? That said even explicitly adding bad code gave me a message of
PHP Error: syntax error, unexpected '}', line 9.
3 - again, this was built in validation vs this plugin's validation. I am only running the latter if the first passes however, so the message at the top should update accordingly.
@gabyferman you can download it from the same link: https://www.dropbox.com/s/0gf6ghesups12b7/validated-field-for-acf.zip
@johnny_br thanks! I've updated the code to correct this.
I also ran into an issue with the default "colors-fresh" admin theme being loaded by ACF when
acf_form_header() is called, specifically setting a min-width of 763px on #poststuff. The following will immediately dequeue it if you want to use all your own styles.
add_action( 'acf/input/admin_enqueue_scripts', 'remove_acf_form_style' );
wp_dequeue_style( array( 'colors-fresh' ) );