Core form factory could be used here.