Optional form fields are not being send with request

I've noticed that when an optional filed is being send via form it is not being removed from the request. It is actually sended with value 'undefined' and this couses problem becouse those values are being inserted in database. Those fileds should be actually not sended at all.