Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3761206
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 19, 20262026-05-19T10:35:24+00:00 2026-05-19T10:35:24+00:00

I would like, that if the user says help that the following field doesn’t

  • 0

I would like, that if the user says “help” that the following field doesn’t get filled, and that the user gets all possible options.

<form id="test">    
    <field name="var1">


<prompt bargein="true" bargeintype="hotword" >say xy </prompt>

<grammar src = "grammar.grxml" type="application/srgs+xml"  />



    <filled>
    <assign name="myProdukt" expr="var1" />
    you said <value expr="myProdukt"/>
    </filled>

</field>

(let’s say in the external grammar is “p1”, “p2” and “p3”, the user says “help”, and the systems says “p1″,”p2″,”p3” and the user can choose again – therefore the word “help” has to be in the external grammar as well, doesn’t it?)

thanks in advance

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-19T10:35:25+00:00Added an answer on May 19, 2026 at 10:35 am

    Yes, the active grammar must contain a “help” utterance which returns the value ‘help’. You then catch the event with a help tag:

    <?xml version="1.0" encoding="UTF-8"?>
    <vxml xmlns="http://www.w3.org/2001/vxml" version="2.0"
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
        xsi:schemaLocation="http://www.w3.org/2001/vxml http://www.w3.org/TR/voicexml20/vxml.xsd">
        <form id="test">    
            <field name="var1">
                <prompt bargein="true" bargeintype="hotword" >say xy </prompt>
                <grammar src = "grammar.grxml" type="application/srgs+xml"  />
                <filled>
                    <assign name="myProdukt" expr="var1" />
                    you said <value expr="myProdukt"/>
                </filled>
                <help>
                    To choose a product, say, 
                    <!-- whatever the product choices are -->
                    frobinator, submarine, curling iron, .. 
                    <reprompt/>
                </help>
            </field>
        </form>
    </vxml>
    

    Alternatively, following the DRY principle, this effect can be done globally for your application with using an application root document containing a link element. In the example app-root.vxml document below, there is a linkbinding a global grammar “help” utterance to the help event :

    <?xml version="1.0"?>
    <vxml version="2.1" xmlns="http://www.w3.org/2001/vxml">
       <link event="help">
          <grammar mode="voice" root="root_rule" tag-format="semantics/1.0"
                   type="application/srgs+xml" version="1.0" xml:lang="en-US">
                <rule id="root_rule" scope="public">
                      <one-of>
                            <item weight="1.0">
                                  help
                            </item>
                      </one-of>
                </rule>
          </grammar>
       </link>
    </vxml>
    

    This grammar will be active everywhere — effectively merged with each active field grammar. If you need more information about application root documents, the section of the VoiceXML specification Executing a Multi-Document Application explains. Also see Handling Events from the Tellme Studio documentation

    Then, in pages of your application, make reference to the application root document via the application attribute of the vxml element and speak appropriately in a help catch block:

    <?xml version="1.0" encoding="UTF-8"?>
    <vxml xmlns="http://www.w3.org/2001/vxml" version="2.0"
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
        xsi:schemaLocation="http://www.w3.org/2001/vxml http://www.w3.org/TR/voicexml20/vxml.xsd"
        application="app-root.vxml">
        <form id="test">    
            <field name="var1">
                <prompt bargein="true" bargeintype="hotword" >say xy </prompt>
                <grammar src = "grammar.grxml" type="application/srgs+xml"  />
                <filled>
                    <assign name="myProdukt" expr="var1" />
                    you said <value expr="myProdukt"/>
                </filled>
                <help>
                    To choose a product, say, 
                    <!-- whatever the product choices are -->
                    frobinator, submarine, curling iron, .. 
                    <reprompt/>
                </help>
            </field>
        </form>
    </vxml>
    

    You could, of course, put the link code in the same page as your form, but it is likely you will want help active for every field of your application unless there is collision with something in a particular field’s grammar.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I would like to have a text field that a user can enter a
I’m developing an application dedicated to generate statistical reports, I would like that user
Imagine a user that would like to put a form on their website that
I would like it that when the user clicks out of the #email-form div,
I have a photo gallery I would like that every time a user does
I would like to remove/uninstall directX End-User that I downloaded and installed it from
I would like to know the paths of certain files that a user is
We have a customer that would like to modify application user messages that we
I would like to have a checkbox preference that takes the user to a
I would like to set a few textareas up so that when a user

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.