Hi @diausru
The language barrier is making it hard for me to understand what you mean by:
I want that the field is displayed if it is filled, in case if the field is blank, I want does not appear in the form in front-end, thanks ,
If the field is not displaying correctly, perhaps the issue is a misspelled field_name?
Perhaps ACF does not know which post to get the value from?
What page template are you adding this code to?
If you use a wp function such as the_title()
next to it, does the title display of the correct post?
Thanks
E