I am relatively new to programming but have some experience with Ruby on Rails and I would like to know if there is an open source template in RoR that I can modify to set up an on-line questionnaire for a charity. It should be able to to collect answers for multiple answer question and yes/no questions, and a some sort of skipping logic would be great.
I found 2 resources for you that might help.
http://www.ajaxlines.com/ajax/stuff/article/questionnaires_with_ruby_on_rails_and_ajax.php
and
http://drawohara.com/post/58671853/rails-modeling-questionnaires-with-activerecord
They both explain how to model a questionnaire, so it's not a template, but it looks easy enough to implement, as both posts are fairly thorough.
There is another cool one that I'm starting to use: Surveyor. It has a hardcore DSL for writing very advanced forms, and it was written by a bioinformatician. This is the most advanced one.
There's another one called SMERF with a very detailed description about how its Survey Builder models surveys and questionnaires. That one has validations, but it's defined in YAML so it's a little more verbose.
Both are easy to get up and running with.