Prevent empty values to be posted