Add checkPostFieldData function so that the required values can be detected by events