SMERF is a Ruby on Rails plugin that allows you to easily create dynamic forms which you can use for surveys, questionnaires, data collection and other forms. It records which forms a user have completed and saves the users responses so that they can easily be analysed via SQL. Currently forms are defined using YAML files.
Stars
133
Forks
15
Watchers
133
Open Issues
5
Overall repository health assessment
No package.json found
This might not be a Node.js project
unescaped question HTML, appears to be working in Rails 3.0.. woot
ff33ccaView on GitHubgenerators working in Rails 3, nothing tested - unlikely to be working yet
b0b877eView on GitHubWhen dealing with subquestions of type singlechoice it was not possible for the user to clear previously selected answers if they decided to select a non-subquestion answer. SMERF will now check to see if a non-subquestion answer was selected and if the subquestion type is singlechoice it will clear the answers of the subquestion. Additionally it will display an error message to inform the user of the ambiguous answer, here is an example error message: Are you aged over 40: Ambiguous answer provided for question 'Specify your ages', the answers to this question has been cleared.
79e061eView on GitHubBug fix: As per the bug reported by bgoodwin. SMERF now correctly handles numeric question codes. Previously if a numeric question code was used the validation functions did not work correctly as it was trying to access the responses hash extracted directly from the HTTP request using a numeric key when all the keys in the responses hash are strings. SMERF will now convert numeric codes to a string before saving to the DB.
9be2317View on GitHubChange smerf_url to correct smerf_form_url in docs
093b344View on GitHub