I’ve come up with what might be another way to do what I want, but my knowledge of how to customize Discourse is making it difficult for me.
Looking at the “Create New Account” page in more detail, I can see that the input fields have specific names, so it occurs to me that an acceptable solution would be to disable them, just like the email field is disabled, so the user can see the values but can’t alter them.
You can’t do this in CSS, so I’ve tried to come up with a way to do this in JavaScript through a customization, viz:
<!DOCTYPE html>
<script>
document.getElementById('input#new-account-name').setAttribute('disabled');
</script>
I’m not sure what the different customization options (Header, Top, Footer, /head, /body, embedded CSS) relate to. I’ve tried Header and Top, but the customization isn’t appearing in the source of the page.
Is my approach feasible? If it is, what do I need to do in order to inject that script? I can’t find any documentation on meta about this for newbies ![]()
Thanks.