hi..
is anyone know..i have all the information about how a question should be displayed from database so that customer may review their survey question?
for examples:
Table 1: Question -
QuestionID, QuestionNum, Question, QuestionStyle
Table 2: Answer -
AnswerID, QuestionID, QuestionNum, AnswerList
eg:
QuestionID=from 1 to 10
QuestionNum=from 1 to 10
Question={examples: When Malaysia declares their Independence Day?}
QuestionStyle=MultipleSingle,MultipleMultiple,BooleanYesNo
{examples: if user select "MultipleSingle" then the preview would be in dropdown list or radio button, etc..that requires only single selection}
how to generate a various set of list that differs according to user settings of styles in something like html form?
aiyak...
it's like...if user select MultipleSingle question type for question number1..then it will display something like this:
Question 1
<the question goes here...blabablabla>
<list of radio button here from the answer list>
Question 2
<the question goes here...blabablabla>
<list of checkboxes here from the answer list>
and so on...
do anyone know how to create a template like this?