QuickPoll CFC Updated
I got some darn nice improvements sent in by Mark Mazelin. These improvements include:
- Modified the test.cfm to actually output xhtml code, complete with the html/head/body tags.
- Updated the test.cfm to remove my e-mail address and put in a generic one.
- The getXXX methods are now public (where it makes sense)
- Added the rows and cols attributes to the textarea for xhtml compliance (they are required attributes).
- Added XHTML 1.0 Transitional compliance by adding end slashes to the input and br tags
- Ability to send html e-mail
- Udated error handling to highlight required questions that were not answered
- Updated error handling to use unordered list and allow a css-styled error box
- Added label tags to the questions/answers (which also includes adding id attributes to those the input tags)
I also added support for hidden questions and setting an initial value. The idea for hidden questions came from a commenter to my earlier post. It is useful for passing in information about the survey taker.
Comments
Test comment number 1 that Ray asked for
# Posted By Jeff Coughlin
| 3/3/06 9:02 AM
seems like the vPosition of the Entry text box does not always return to '0' when selecting a new entry.
# Posted By todd
| 8/31/06 8:23 PM
This would be great if there were some way to keep people from taking the survey more than once like with a cookie. Also if there was an option to publish a chart of results for sire visitors to see. Lastly turn it all into a BlogCFC pod and it would rock.
# Posted By Dave Anderson
| 11/11/06 10:13 PM
Ray, the download link for Quick Poll gives me a 404?
Did it move?
Did it move?
# Posted By James Harvey
| 10/2/07 1:14 PM
Fixed.
# Posted By Raymond Camden
| 10/2/07 3:59 PM

