Boas Enkler
Boas Enkler

Reputation: 12557

BotFramework Avoid Confirmation in FormFlow

I want to bypass the last confirmation step in a formflow which is defined like this

new FormBuilder<WizardResult>()
                .Confirm("No verification will be shown", state => false)
                .Message("Form Test")
                .OnCompletion(processOrder)
                .Build();

According to this post this could be done with the handler in confirm, but in my case the confirmation is still asked...

what am I missing?

Upvotes: 2

Views: 561

Answers (1)

Andreas Botsikas
Andreas Botsikas

Reputation: 51

It version 3.3.1.0 you only need to call

.AddRemainingFields()

in the FormBuilder to avoid the confirmation. The state=> false is not required any more.

Upvotes: 5

Related Questions