Welcome to the Ifbyphone Developers zone. This forum provides a place for the community of advanced Ifbyphone users and developers to share ideas, exchange code, and ask questions.  

Additional Resources

Ifbyphone Company Blog - Ifbyphone Twitter Page - Ifbyphone Company Web Site - Ifbyphone Partners Page
Ifbyphone's CEO's (Irv Shapiro's) Personal Blog - Irv Shapiro Twitter Page

It has been brought to our attention that the NEW MEMBER link does not always display in IE7. If you do not see the new member link in the login box on the right, please try another browser. (Firefox works fine.) In addition please note that Phonemashup accounts are completely separate from Ifbyphone accounts.

If you need help fast, call 877 295 5100 to reach the Ifbyphone "Success Team".   (Support is option 2.)

Members Login
Username 
 
Password 
    Remember Me  
Chatbox
Please log in to join the chat!
Post Info TOPIC: Maximum Options through Question


Member

Status: Offline
Posts: 15
Date: Nov 19, 2009
Maximum Options through Question
  
 


Hi ,

I am using servo and pass following action to ifbyphone server

<action><app>survo</app><parameters><id>xxxxx</id><user_parameters><question>


Press 1 for Dr. Smith  Thompson, Press 2 for Dr. Wilson  Martin, Press 3 for Dr. Roberts  Thomas, Press 4 for Dr. Davies  Bell</question></user_parameters><p_t>1|Dr. A||2|Dr. B||3|Dr. C</p_t></parameters></action>


then ifbyphone read questions:Press 1 for Dr. Smith  Thompson, Press 2 for Dr. Wilson  Martin, Press 3 for Dr. Roberts  Thomas, Press 4 for Dr. Davies  Bell
i.e. 4 times .
I want to make more than 10 options ...Press 1 for A..,..............Press 11 for X......etc.

Can I do this thing or not ? Please give some reply.


-- Edited by gufran on Thursday 19th of November 2009 07:29:24 AM

__________________
gufran


Veteran Member

Status: Offline
Posts: 58
Date: Nov 19, 2009
  
 

Gufran,

If you use a digits question and customize the prompt you can do what you want. Make the prompt for that question a parameter, and simply pass us the text of the question you want to use.

What you will get back is the digits they entered. You will have to know what digits corresponds to which Dr. You can do that with pass-through. For example:

For Dr. Smith, please press 1. For Dr. Williams please press 2.
....

1|DrSmith||2|DrWilliams

When you pass the NetGet back with their answer, you can parse the values in the pass_through and know which Dr. was chosen, or if the answer was invalid.

__________________
Page 1 of 1  sorted by
 
Quick Reply

Please log in to post quick replies.

Post to Facebook Post to Digg Post to Del.icio.us

This is an open and public forum so Ifbyphone is unable to ensure that all code and suggestions posted to this forum are correct. Please use all code posted here at your own risk. Ifbyphone assumes no liability for code, recommendations and suggestions posted to this forum.

Users and developers will find hundreds of useful posts at the Ifbyphone company blog.