• Resolved neoset

    (@neoset)


    Show zero value with ACF from backend to frontend
    Hello, with ACF in the backend in the numeric or text fields, if I fill them with a single zero value, it does not show me anything in the frontend and what I want is that if I write zero in the field it shows me zero and if I do not write nothing does not show anything, how can you solve this error?
    Product evaluation example:
    Backend value acf_field = 2 Frontend value = 2/10
    Backend value acf_field = 5 Frontend value = 5/10
    Backend value acf_field = 0 Frontend value = /10
    It should be like that:
    Backend value acf_field = 0 Frontend value = 0/10
    Backend value acf_field = Frontend value = /10

    Thank you so much

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Support fernandoazarcon2

    (@fernandoazarcon2)

    Hi @neoset,

    0 should show if the field type is number.

    What specific ACF field type is this?

    Thread Starter neoset

    (@neoset)

    This field is of type number but the error occurs in both number type and text type

    Plugin Support David

    (@diggeddy)

    Hi there,

    i have tried a simple text field and a simple number field and they both return the 0 value.

    how are you returning the front end value ? ie converts 2 into 2/10 ?

    Thread Starter neoset

    (@neoset)

    Thanks for the help but it was a plugin that created a conflict, I tried it with a clean installation and it works fine, sorry for the inconvenience and thank you very much.
    I am recommending your plugin to everyone, it is impressive and essential, very light, it seems incredible how with 6 blocks you can do absolutely everything

    Plugin Support David

    (@diggeddy)

    Glad to hear that, and thanks for the kind words and recommendation.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Show zero value with ACF from backend to frontend’ is closed to new replies.