Empty required fields after submit, no error instead?
-
Hi dear author(s)!
Your plugin is truly amazing and I’ve been using it on many websites. Probably will buy it sometime in the future.So, as the title suggests I have a custom post with many custom fields in which some are required. Now if I try to (BACKEND) Save draft or Publish (or send to revision with low-level users) without filling one or more required fields the post is submitted but only the title will be saved.
Also the first time this is done while creating a new post the page will reload and in the reloaded page the fields will retain their inserted values while the title will be empty. If you check the custom post list the post will have been created only with the title and all the fields empty.
The only difference when editing a post that only has the title and not filling all the required fields is that when saving, after the reload, the reloaded page will still have the title and the fields will retain their values even if they have not been saved (still empty).
Why the form allow Saving as Draft, Publishing and Sending to Revision without filling all the required fields (and not saving any field meanwhile) instead of just giving an error? E.g.: “This field must be filled before submission”.
Is this a problem only I am having or it is meant to be this way in the BACKEND?
Thanks a lot for any information you can give me!
Much appreciated, best regards
H.
The topic ‘Empty required fields after submit, no error instead?’ is closed to new replies.