Support

Account

Home Forums General Issues Set field as required only if post status exists Reply To: Set field as required only if post status exists

  • There isn’t any way to know what the post status is (if it has been change) during the validation request because the value of that WP setting is not passed during the validation request.

    It might be possible to do this using the this filter but I do not know the details on how that would be done https://www.advancedcustomfields.com/resources/javascript-api/#filters-validation_complete