Here's a Jquery Mobile mini survey implementation.
It's a C# asp.net web-application. Uses Linq-to-Xsd. The survey is defined in an xml-file, with a simple implementation of branching based on the selected response. The survey-pages - one question per page - are formed dynamically from the definition file. 3 different type of questions are offered; Yes/no on/off-style questions, radio-group questions (single selection), and sliders.
No security is implemented, there's only a cookie write/read to ensure the user doesn't answer the survey twice.
Link to zip-file
Hope it's a starting point for some.