I have a comment form that has name
, email
, brief
, detailed
and rating
fields.
The name
, email
, brief
and rating
need to be required, but the latter two are custom fields and I can only make them required through Javascript, but want to add proper WordPress/PHP validation to those fields.
The detailed field is actually the comment_field
which is currently required, but I want to removed the required for this field, but I don't want to do it via the WordPress settings as I still want name
and email
to be required.