Perhaps it would be cleaner to have the feedback feature have a dependency on the webform module (<a href="http://drupal.org/project/webform">http://drupal.org/project/webform</a>). This would have the added benefit of inheriting stats and such. In your module's settings page, have a textfield like 'Feedback Form Name' (and this textfield is only enabled if module_exist('webform')). Then, after a quiz is taken, invoke this form through the webform API.<br>
<br><div class="gmail_quote">On Sun, Jun 21, 2009 at 1:12 PM, sivaji j.g <span dir="ltr"><<a href="mailto:sivaji2009@gmail.com">sivaji2009@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I am a GSoC student and co-maintainer of quiz module. Quiz users are<br>
expecting for a new feature that lets the quiz attendees to enter some<br>
input (eg age, sex, qualification etc) either at the beginning or end<br>
of the quiz. Each site may have different requirement so the input<br>
form need be dynamic (not everybody will expect to have age with list<br>
select, sex with radio button).<br>
<br>
My thought on achieving this is to have a dummy node type<br>
(quiz_feedback) as a part of quiz module and an user defined node<br>
type(custom_quiz_feedback) with fields defined using CCK.<br>
custom_quiz_feedback node form will be attached to quiz_feedback 's<br>
body. When the quiz attendees view the quiz_feedback node they will<br>
have a form to get the desired input. Is it possible to do this ? or<br>
is there any other better ways to achieve this ?<br>
<br>
[sorry for my bad English. I tried to ask the same in IRC but there<br>
was no response]<br>
</blockquote></div><br>