isso-comments/isso

Add option to remove "Website" form field

flux77 opened this issue · 4 comments

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.

Isso

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
Email Disabled / Optional / Required
Website Disabled / Optional / Required

any updates on it?

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.