Not empty select values

This is for issue #696, a suggestion to use the `value` attribute of `<option>` elements for validating `<select>` elements instead of the current behavior that checks the content of the options.