Can you help me finding the spots in the WP Survey And Quiz Tool’s code, where can I add my code?
I would like to add new types of questions, to suite my needs. The idea is to use JS, construct the answer as a string, set it back to a simple text type input and than store it into database with this plugin.
For example JS datepicker feeds back a date to a text input in the form, like ‘2012-12-22’. For this, I need the system to generate
<input type=”text” class=”datepicker” name=”whatever-the-plugin-uses”/>
for specific questions. Where can I add my code, so in the admin, I can choose a new question type that does this custom behavior.
The same question, but with a hidden answer. For example there is a JS that let’s the user add children with their names. The plugin should save a simple string (constructed by the JS for example ‘Jack;Jill’ or ”) to the DB, but not show an input text field.
I would like to have a likert type question, with the scales of -5 to +5. Where can I add my code to have this new subtype of likert question?
Thanks for the help,
- The topic ‘Add new type of question’ is closed to new replies.