Forum Replies Created

  • I’m having this issue as well – any field that has a backslash in any of its values (prepend, append, default text, custom, etc), is reverted to a text field type and loses the settings of the other field type. I do not have DISALLOW_UNFILTERED_HTML defined on my site.

  • David – I figured out a workaround while using the validate_value filter, which is what is called on each field by validate_save_post so it should work there as well.

    I wrote up how to make the post_ID available in validate_value on my site. Inserting a acf[post_ID] value should work for you too, or if you want to give it a shot I finished up a beta version of my Validated Field plugin which gives you a UI to write validation rules as well as check for unique values, set input masks, etc. I just finished it a couple days ago as it required a major update for ACF 5.0, but it is working pretty well although I have already found a few small issues I plan to address shortly.

Viewing 2 posts - 26 through 27 (of 27 total)