Members Login
Username 
 
Password 
    Remember Me  
Post Info TOPIC: Add Questions Dynamically in user server side


Member

Status: Offline
Posts: 13
Date: Dec 29, 2011
Add Questions Dynamically in user server side
Permalink   
 


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: Dec 29, 2011
Permalink   
 

Can you please reply soon. Thanks,

__________________


Newbie

Status: Offline
Posts: 3
Date: Dec 29, 2011
Permalink   
 

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: Dec 29, 2011
Permalink   
 

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: Dec 29, 2011
Permalink   
 

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: Dec 29, 2011
Permalink   
 

I think this helps. Thanks, Lakshmi.

__________________


Member

Status: Offline
Posts: 13
Date: Jan 11, 2012
How do I retrieve data if I set Post as Submit Type
Permalink   
 


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: Jan 11, 2012
RE: Add Questions Dynamically in user server side
Permalink   
 


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: Jan 11, 2012
Permalink   
 

We are using c#.Net



__________________
Page 1 of 1  sorted by
 
Quick Reply

Please log in to post quick replies.

Post to Digg Post to Del.icio.us


Create your own FREE Forum
Report Abuse
Powered by ActiveBoard