Page 1 of 1

Make checkbox defaults as 'unchecked'

Posted: Sat 8. Jan 2022, 15:25
by amarc
Hello again,

I tried to find this myself but had no luck. I am creating users without any www stuff (Keyhelp being used for email only) and I also create users with 0 subdomains. Not to mention subdomains make no sense for email.

I would like to make this option unchecked by default so I can also hide it with css via Whitelabel.

Can you point me where can I make this "unchecked" by default ?

To be more specific, this is under "Add domain" via user control panel


Image

Thank you

Re: Make checkbox defaults as 'unchecked'  [SOLVED]

Posted: Mon 10. Jan 2022, 00:12
by amarc
Well.. long weekend and I managed to figure it out with WhiteLabel "Additional Java Script" option with simple:

Code: Select all

$('input[name=create_www_subdomain]').attr('checked', false);