isso-comments / isso

a Disqus alternative
https://isso-comments.de
MIT License
5k stars 442 forks source link

Add option to remove "Website" form field #916

Open flux77 opened 2 years ago

flux77 commented 2 years ago

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 2 years ago

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
AndreyPilipenko commented 1 month ago

any updates on it?

CaffeineFueled1 commented 1 month ago

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.

jelmer commented 3 weeks ago

I wonder if we should document that CSS rather than adding another option.