add form def to menu