well, required="required" or required - doesn't matter - won't be working in this case, just because there is no form submit here. That's was my first solution, until I realized that there is no form actually.