I’m putting together a survey to be accessed via telephone using VXML. We would like the user data to be captured in a document to be analyzed later. We’re not using Plum Survey, but rather building the survey from scratch.
1. My first question is regarding how to set it up so that the user can interact with the system using both voice and dtmf . I’ve tried using both builtin IVR and inline IVR methods but I’m not sure if I’m doing it correctly, since I’m unclear about what the default JSGF format allows for. For instance, I know I can use the following:
Code: Select all
<grammar type=”application/x-jsgf” mode=”dtmf”>
1 | 2
</grammar>
for DTMF, and
Code: Select all
<grammar type=”application/x-jsgf” mode=”voice”>
one | two
</grammar>
Code: Select all
<grammar type=”application/x-jsgf” mode=”dtmf voice”>
1 | 2 |one |two
</grammar>
2. My second question is this: there are certain questions in the later part of the survey that should be asked only depending on what they answered in two or more earlier questions. For example, Question 7 about “what position did you play last night” would only be asked if you answered “baseball” for Question 1, “which of the following sports do you play?” AND you answered “yes” to Question 6, “did you play more than three innings last night?” What would be the best way to address this kind of question? Is there was a tag similar to the <if> tag that would allow me to input multiple conditions that must be met for a question to be asked?
3. Finally, I’m working under the assumption that user input contained within a <field> tag is going to be captured as long as I use the <submit> tag to specify a particular document in my server to capture the user data into. Is this a correct assumption?
Thank you for your time!