Scott on Writing

Musings on technical writing...

What Would Your Dream Online Survey Control / Application Entail?

UPDATE (Oct. 7th, 11:30 AM): After reviewing nSurvey I decided not to continue on with this article... why reinvent the wheel when those guys have already done a good job doing so?

I'm working on an online survey control/application for an upcoming MSDN Online article, and wanted to poll the six people who read this blog and ask, “What would your dream online survey control / application entail?”  Here are my three main goals:

  1. Make it easy for a non-computer expert to create and edit surveys through a user-friendly Web interface.
  2. Make it easy for ASP.NET page developers to add the survey to a page.  Namely, they should have to do nothing more than drag and drop a control from the Toolbox and set a couple of properties.
  3. Provide a decent set of reports that allow the higher-ups to view the results of the survey, either in a summary view or on a per-user view.

With those three high-level goals in mind, here are the more implementation-specific features my survey app currently supports:

  • Ability to have survey questions of varying types: currency, text, memo, numeric, yes/no, a drop-down list from a lookup table, etc.
  • Question-level constraints, such as required fields, or for numeric/currency fields, an optional low/high value (such as when asking for their age, it must be between 0 and 125, inclusive).
  • Ability to have surveys composed of multiple questions, spanning multiple pages.
  • Ability to have the “flow“ of the survey be based upon the survey-taker's responses.  That is, if page 1 includes a question like, “What is your annual household salary?“, the user could be taken down a different path if their answer was greater than $100,000.

The main feature that is lacking, IMO, that I'd like to implement, but don't see a clear, easy way to implement is providing a high degree of customization of the survey user interface.  Sure, the page developer can customize the appearance with stylesheets and control-specific styles, but I can't fathom a good way to allow them to customize the markup on a question-by-question basis.  That is, saying, “Question 4 should be in bold and underlined, while question 6 should be offset to the right in a

.  While typically templates are used in controls to allow the page developer more freedom on the markup, I don't see how templates could be used to allow question-specific customization, since the number and types of questions for a particular survey can differ per page and are specified not by the page developer, but through a Web interface.

Are there any other features you'd definitely want to see in an online survey control / application?  To date, I've created the data model and a bare-bones survey control, so there's still time to get in your features!  :-)

UPDATE  (Oct. 7th, 11:30 AM): After reviewing nSurvey I decided not to continue on with this article... why reinvent the wheel when those guys have already done a good job doing so?

posted on Thursday, October 07, 2004 8:57 AM

Feedback

# re: What Would Your Dream Online Survey Control / Application Entail? 10/7/2004 9:16 AM go check out ...


... http://www.nsurvey.org

# re: What Would Your Dream Online Survey Control / Application Entail? 10/7/2004 10:01 AM aaron meis

Maybe a way to weigh each question value in relation to the whole ?

# re: What Would Your Dream Online Survey Control / Application Entail? 10/7/2004 10:14 AM Larry O'Brien

In my _ideal_ survey, I'd like to have the ability to provide alternate wording for questions and change the order in which questions are asked.

I don't know if it's the realm of a control to do this, but the ability to enforce some kind of "one person, one vote" constraint.

The hardest thing about Internet surveys is judging their statistical relevance. Even if you can't provide guidance on survey design, if the report provided elementary guidance on the (mathematical) significance of the results, that would be helpful.

# re: What Would Your Dream Online Survey Control / Application Entail? 10/7/2004 10:32 AM Justin

We picked this one after evaluating a dozen or so options. Works great.

Ultimate Survey
http://www.prezzatech.com/

# re: What Would Your Dream Online Survey Control / Application Entail? 10/7/2004 11:05 AM Dan Hounshell

Scott, How about wrapping each question with a div with an id=q1 (q2, q3, etc) and giving them a default style="question". Then the developer could use the style sheet to control the style of either all questions or could apply a style to each question independently.

Definitely not a help to the end user, though. That is a much tougher question...

# re: What Would Your Dream Online Survey Control / Application Entail? 10/7/2004 11:07 AM Milan Negovan

I used the one from http://www.dnzone.com/showDetail.asp?TypeId=2&NewsId=151&LinkFile=page1.htm and modified it a lil.

# re: What Would Your Dream Online Survey Control / Application Entail? 10/7/2004 11:28 AM nalenb

Wouldn't this question be better as a poll? :-)

There seem to be a bunch of these on asp.net already. The problem I had with using them with something like .Text is that they had their own form which contained the poll code. Also, I'd think that you need to ability to revive or look at the results of old polls. I'd also want whatever database is used to be super simple to setup (i.e. not targeted at a single db like mssql).

# re: What Would Your Dream Online Survey Control / Application Entail? 10/7/2004 11:34 AM Scott Mitchell

Dan, your idea would allow people to customize the styles of individual questions, but not the actual markup. That's what I was pontificating on, was how (if at all) to allow folks to muck with an individual question's markup. nSurvey allows for this by basically storing the markup for each question in the database, using the FreeTextBox control to allow for a WYSIWYG experience when creating the question.

# re: What Would Your Dream Online Survey Control / Application Entail? 10/8/2004 6:38 PM Maxim V. Karpov

Scott,

It is kind of funny, but I am doing a project for one of the banks and can use generic Survey Engine. I did generic survey with Classic ASP, but did not have project to rewrite. I looked into nSurvey and found that its WebCOntrols relies haviliy on ViewState. Otherwise, the engine looks promising.

Maxim
[www.ipattern.com do you?]

Title:  
Name:  
Url:
Protected by Clearscreen.SharpHIPEnter the code you see:
Comments   

Add To Your Reader

My Links

Archives

Post Categories

 

I am a Microsoft MVP for ASP.NET.
I am an ASPInsider.
<May 2008>
SMTWTFS
27282930123
45678910
11121314151617
18192021222324
25262728293031
1234567

Comment Stats

DayTotal% of Total
Sunday 1866.8%
Monday 37913.9%
Tuesday 45316.7%
Wednesday 50418.5%
Thursday 53519.7%
Friday 49418.2%
Saturday 1666.1%
Total 2717100.0%

Hour1Total% of Total
12:00 AM 652.4%
1:00 AM 682.5%
2:00 AM 622.3%
3:00 AM 742.7%
4:00 AM 572.1%
5:00 AM 1033.8%
6:00 AM 1084.0%
7:00 AM 1585.8%
8:00 AM 1716.3%
9:00 AM 1475.4%
10:00 AM 1716.3%
11:00 AM 1816.7%
12:00 PM 1886.9%
1:00 PM 1696.2%
2:00 PM 1605.9%
3:00 PM 1324.9%
4:00 PM 1073.9%
5:00 PM 923.4%
6:00 PM 913.3%
7:00 PM 963.5%
8:00 PM 833.1%
9:00 PM 782.9%
10:00 PM 792.9%
11:00 PM 772.8%
Total 2717100.0%

Comments by Blog Entry Date/Time

Day Entry MadeAvg.Total
Sunday 5.54144
Monday 5.22339
Tuesday 4.28419
Wednesday 7.67637
Thursday 6.90607
Friday 5.48411
Saturday 5.33160
Total 5.842717

Hour1 Entry MadeAvg.Total
12:00 AM 5.0035
1:00 AM 1.002
5:00 AM 0.000
7:00 AM 7.0035
8:00 AM 5.35107
9:00 AM 6.32278
10:00 AM 6.47246
11:00 AM 4.41181
12:00 PM 6.88330
1:00 PM 3.00111
2:00 PM 5.41222
3:00 PM 8.64285
4:00 PM 4.0589
5:00 PM 5.92154
6:00 PM 4.52113
7:00 PM 9.67174
8:00 PM 9.80147
9:00 PM 5.05111
10:00 PM 5.4265
11:00 PM 4.5732
Total 5.842717

Learn More About Comment Stats
1 - All times GMT -8...


Blog Stats

Favorite Web Sites

My Books

My MSDN Articles