Forum Moderators: open
You could trim the string (so just a space isn't accepted as a filled entry)
An empty string evaluates to false (as does false, natch), so we could have:
(and it's that pipe again!)
if (!shirt['string[]'].value.replace(/^\s+¦\s+$/g,'') &&!shirt.notext.checked ) ..but only if you feel like it.