created cpt & its create form. form included required fields.
when creating edit form the cpt "required" fields do not appear to be available for edit in the form.
intent is for fields to be required during create by author, and available later for edit by author. but the fields must not be empty.
am i missing something or is this the intended condition?
site is currently in dev and behind authentication. this question is intended to solicit info as to whether this condition is intended, considered normal, or am i missing something.
Are you saying that the fields are required when you're creating the post, however when you're using the edit form to edit that said post the required fields are no longer required by the form ? Meaning the field can be submitted empty?
Would you mind allowing me to have admin access to the website so that I can have a more detailed look at this for you ?
Please where applicable please provide me with a link to an example page where I can see the issue.
I've enabled the private fields for your next response.
Thank you for the additional details. It's a bit clearer for me.
No this is actually the correct usage for the required attribute. If you don't want the field to be submitted empty then its reasonable to have that field as required to ensure that is filled out.
But, to be clear, if i set a field as required should i expect to be able to include that field in an edit form. So, if a required field was populated using a Toolset Post Form for "create", can that field be edited later in a Toolset Post Form created as an "edit" form? The image I sent you seems to indicate it cannot based on the padlocks.
But, to be clear, if i set a field as required should i expect to be able to include that field in an edit form. So, if a required field was populated using a Toolset Post Form for "create", can that field be edited later in a Toolset Post Form created as an "edit" form? The image I sent you seems to indicate it cannot based on the padlocks.
That is correct. Once the field is required it will be automatically included on the edit form. What the padlock means is that this field is required and cannot be removed from the form.