Show “Start discussion” button as inactive if any field is empty #6173
Unanswered
hughlilly
asked this question in
Discussions
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
If one tries to post without having selected a category, this warning appears:

This is also the case for Title and Body, neither of which are allowed to be blank.
Should the “Start discussion” button not be inactive in such cases? The style could be modelled on the inactive “Answer” button, which is shown while the body of a reply box is blank:

Might there be some way to make the inactive “Start discussion” button clickable so as to activate the red error bubbles? In other words, if the fields are all OK, you get a normal green button which sends your post, but if not, clicking the inactive button pops up the error messages. Alternatively, you could do away with the red error balloons and the inactive button could have a tooltip explaining that all three fields are mandatory.
Thanks
Hugh
All reactions