Hi all,
I am trying to create a custom quiz module.....since the available quiz module is not upto my needs.... i am not expanding the existing quiz module,,,i am trying to create new fresh module.....
i have coded to create a content type called quiz....appart from existing fields of node.....i am trying to add more fields....
let say
I have added question field and relative two anwser field under question field....
i have created a submit handler naming add more questions...its works fine....
my question is i need to place another submit function which adds answer fields to the respective questions.....
so it looks like
question 1->text field
answer1->text field
answer2->text field
add more answer
question 2->text field
answer1->text field
answer2->text field
add more answer
add more questions
so how to create a submit handler for add more anwser so that it will update only the respective question
i dont want use javascript to do this.....it should be normal.....
you can find an example wat i am trying to do......i am just trying to replicate the same
register in that site and create a new quiz.....