I can see that the label class for a required field is class=”required-item”, but what is the class for an optional field please? I tried class=”optional-item” but that didn’t work.
The problem I have is that I removed the class statement for an attachment field in the contact form however it is still showing an asterix at the end of the title even though the field is not required, i.e. the form will submit with or without an attachment.
So, I’m trying to remove the asterix at the end of the title of the attachment field.
The form entry I have is,
[file your-attachment filetypes:gif|png|jpg limit:2mb]
The topic ‘Class for Contact Form 7 Optional field label’ is closed to new replies.
One standard license is valid only for 1 project. Running multiple projects on a single license is a copyright violation.