Add option to remove "Website" form field
flux77 opened this issue · 4 comments
flux77 commented
In the default Isso comment form, there are four form fields: content, name, email, and website. If I have no use for the "Website" form field, how do I remove it? Of course, I could remove it by using some CSS rules, but is there a better solution?
Perhaps there could be a data-isso-website-field
option that controls whether or not to render the "Website" field.
ix5 commented
This could probably be done with CSS, but in the interest of accessibility, we should have a server-side options matrix:
Field | Status |
---|---|
Name (Author) | Disabled / Optional / Required |
Disabled / Optional / Required | |
Website | Disabled / Optional / Required |
AndreyPilipenko commented
any updates on it?
CaffeineFueled1 commented
Since the option is not yet available, hiding it with CSS has worked for me:
/* ISSO COMMENTS */
label[for=isso-postbox-website] {
display: none !important;
}
input#isso-postbox-website {
display: none;
That hides the website field. Replace website
with email
to hide the email field.