changes on form setter to support input type hidden