I have a database list with several fields controlled by checkboxes. I’m using css to replace the outputted text with an image. However, I’d like for an unchecked checkbox to return NO image. To do so, I think the easiest way is to use :empty in the css, but the unchecked fields are not outputted as empty, but with some blank space. How can I delete this extra space so that the <td> will be empty? I’ve been looking at the FormElement.class.php file but I’m confused about the hidden field. Suggestions?
- The topic ‘Making an unchecked checkbox return empty’ is closed to new replies.