0

How do I provide training for handsfree entry of a slider value?

enter image description here

enter image description here

render {
    form {
      elements {
        slider {
          id (howmuchinfouserprefers)
          min-value (1)
          max-value (5)
          min-label (1 - Minimal)
          max-label (5 - Everything)
          step (1)
          type (HowMuchInfoUserPrefers)
          value ("#{raw(howmuchinfouserprefers)}")

        }
      }
      on-submit {
        goal: HowMuchInfoUserPrefers
        value: viv.core.FormElement(howmuchinfouserprefers)
      }
    }

When I say "three" here with handsfree on, it does not proceed forward, just stays stuck on the slider request.

Fred Zimmerman
  • 1,178
  • 3
  • 13
  • 29

1 Answers1

0

It seems you are doing the correct training. Regardless the input form element type, the training for voice input is the same prompt training.

Here is a working example, as the number 3 is input from the left panel instead of slider bar. You can download can try. Utterance "list all names" --> click "John" --> click "enter age" --> type 45 in form and click "go" --> in the view with slider bar use left panel type 3 and press enter

enter image description here

Here is the planner from debugger enter image description here