Switching message type for auto-generated forms