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: Add Questions Dynamically in user server side


Member

Status: Offline
Posts: 13
Date: December 29th
Add Questions Dynamically in user server side
  
 


Hi we are trying to implement the IVR. I have a question. Is there any way that we can add questions from our side dynamically to a survo. Is there any API. In our project we have requirements that changes depending on the user input. Some times they need to enter the values for two requirements, some times they need to enter values for three requirements. It is just not like entering 0,1,2,3,4. Some times there might be four requirements. I just cannot create survo for two requirements, new survo for three requirements. Is there any way to add Survo Questions to the existing survo from our server side code. So please help me in this. Thanks, Lakshmi.

-- Edited by lakshmi on Thursday 29th of December 2011 02:00:11 PM

__________________


Member

Status: Offline
Posts: 13
Date: December 29th
  
 

Can you please reply soon. Thanks,

__________________


Newbie

Status: Offline
Posts: 3
Date: December 29th
  
 

You can not dynamically add or remove questions from a survo or change their question type from the api. You can however dynamically change the contents of that question. One option is you have one single question survo and every time they answer a question (that you dynamically change) you keep sending them to the same survo (with different dynamically passed in questions) until you've asked them all the questions you have. The other option is to create a survo with 2 questions, 3 questions, etc. and you just select the survo with the amount of questions you need to ask (and dynamically change the question). I hope that answers your question.

__________________


Member

Status: Offline
Posts: 13
Date: December 29th
  
 

The second option might not help me because the requirements might change in the future. The first option might help. Can you please elaborate. Thanks, Lakshmi.

__________________


Newbie

Status: Offline
Posts: 3
Date: December 29th
  
 

If requirements ever change you can just add another survo, may be the simplest solution. Otherwise if you wanted to use just a one question survo multiple times you can use the pass through data to keep track of the caller and the answers he gave. Basically the survo would hit your page, your page would send the call back to the same survo putting the answer of their previous question(s), and whatever else you like, in the pass through data, and keep going back and forth between the survo and page continually adding to the pass through data until your page sees you have everything you need. Further details really depend on what you are trying to accomplish. Hope this helps.

__________________


Member

Status: Offline
Posts: 13
Date: December 29th
  
 

I think this helps. Thanks, Lakshmi.

__________________


Member

Status: Offline
Posts: 13
Date: January 11th
How do I retrieve data if I set Post as Submit Type
  
 


Can you please let me know how to retrieve data if the submit type is Post in Survo Net  Get. Can you please give me some example. 

 



__________________


Newbie

Status: Offline
Posts: 3
Date: January 11th
RE: Add Questions Dynamically in user server side
  
 


this depends on the language you are using. refer to the documentation for your language on retrieving an http post parameter. In php for example, one of the languages we use internally, it would be $something = $_POST['something'];

__________________


Member

Status: Offline
Posts: 13
Date: January 11th
  
 

We are using c#.Net



__________________
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.