Can I stop the text field being required by comments? At the moment if I attach an image to add as a comment but need to add any text I get this message 'Comment field is required.'
Thanks

Comments

jdln’s picture

Having this as an option would be a nice feature.

jdln’s picture

Category: support » feature
jdln’s picture

Anyone? In my opinion this woud be a major usability benefit and would bridge the gap between Drupal and dedicated forum software. Thanks

jdln’s picture

Just thought of a javascript work around. What if when you click to post a comment some js would check if the comment text field was empty, and if so would insert a single space character. Should work I think but beyond my js skills.

jdln’s picture

JavaScript solution:

$('#edit-submit').click (function() {
	if (!$("#edit-comment").val()) {
		$('#edit-comment').insertAtCaret(' ');
	}
});