Go Back   CodingForums.com > :: Client side development > JavaScript programming > Ajax and Design

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 07-30-2012, 12:53 AM   PM User | #1
Jhstaffo
New to the CF scene

 
Join Date: Jul 2012
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Jhstaffo is an unknown quantity at this point
survey software - conditional appearance of input

I am attempting to make a php/ajax integrated (essentially) survey software - although I have run into a road block
we have a question like
"did anyone in your party order a drink containing alcohol"
answer 1 / answer 2
this does not pose a problem -
the problem comes with the following question
"was that person ID'ed"
answer 1 / answer 2
I only want this question to be visible to people who answered with answer 1 to the previous question if they answered answer 2 I still want the question to answer answer 3.

one more problem is I need this to be available via a function call because all questions will be coming from a database and will vary from survey to survey

Code:
"<input type='radio' name='answer[]' value='".$answer."'>"
I am new to ajax/js but experienced in php among other languages - this is a big roadblock for me and I appreciate any assistance you can offer me

Last edited by Jhstaffo; 07-30-2012 at 01:17 AM..
Jhstaffo is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 12:29 PM.


Advertisement
Log in to turn off these ads.