Fixed that submitting the form without selecting a value may raise raises an error with SQLServer (#13783).
Authored by: jplang 2013-05-17
Parent: [r11853]
Child: [r11855]