Added form.ToObject and targetSelectWidget validation