Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author doublesharp

    (@doublesharp)

    Hi @vehn67 – I can only load the first image you posted which is indicating an error with a percent sign, so my guess is that maybe you have included PHP tags? The validation code is eval‘d so you should just include the code, not the PHP tags.

    Let me know if you were able to get it working and I will close this ticket, otherwise if you could include an example of your validation function I can try to debug further.

    Thanks!

    Thread Starter vehn67

    (@vehn67)

    Hi @doublesharp – Thank you very much for the reply. I think you are correct about the PHP tags but as I checked the validation codes, there were no PHP tags included and other pages were okay except for this one page. I think there is something in this page that adds PHP tags that I don’t know where or why. But please close this ticket as I think the problem is not on ACF Validation plugin. I really appreciate the help. Thanks again.

    • This reply was modified 8 years ago by vehn67.
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘ACF Validated Field PHP Syntax Error’ is closed to new replies.