View Issue Details

This bug affects 1 person(s).
 4
IDProjectCategoryView StatusLast Update
03573Bug reportsSurvey takingpublic2009-08-19 12:33
Reporterizahn Assigned Touser372 
PrioritynormalSeverityminor 
Status closedResolutionfixed 
Product Version1.85+ 
Fixed in Version1.85+ 
Summary03573: xhtml does not validate because of missing space on line 3731 of qanda.php
Description

I was runing the w3.org validator on my survey, and was getting errors because of html like this:

input class="text" type="text" size="10px" name="56216X139X792" id="answer56216X139X792" value="12" onkeypress="return goodchars(event,'0123456789.')" onchange='checkconditions(this.value, this.name, this.type)'maxlength="3" />

(Notice the missing space between "...this.type)'" and "maxlength").

I edited line 3731 of qanda.php from this:
. "maxlength=\"$maxsize\" />\n\t$suffix\n</p>\n"
to this:
. " maxlength=\"$maxsize\" />\n\t$suffix\n</p>\n"

and the document now validates.

-Ista

TagsNo tags attached.
Bug heat4
Complete LimeSurvey version number (& build)
I will donate to the project if issue is resolved
Browser
Database type & versionMySQL 5.0
Server OS (if known)Ubuntu linux
Webserver software & version (if known)Apache
PHP Version5.2

Users monitoring this issue

izahn

Activities

user372

2009-08-17 13:52

  ~09148

Thx - fixed in rev. 7476.

Issue History

Date Modified Username Field Change
2009-08-16 17:48 izahn New Issue
2009-08-16 17:48 izahn Status new => assigned
2009-08-16 17:48 izahn Assigned To => user372
2009-08-16 17:48 izahn Database & DB-Version => MySQL 5.0
2009-08-16 17:48 izahn Operating System (Server) => Ubuntu linux
2009-08-16 17:48 izahn Webserver => Apache
2009-08-16 17:48 izahn PHP Version => 5.2
2009-08-16 18:22 izahn Issue Monitored: izahn
2009-08-17 13:52 user372 Note Added: 09148
2009-08-17 13:53 user372 Status assigned => resolved
2009-08-17 13:53 user372 Fixed in Version => 1.85+
2009-08-17 13:53 user372 Resolution open => fixed
2009-08-19 12:33 c_schmitz Status resolved => closed
2010-10-25 00:18 c_schmitz Category Survey at Runtime => Survey taking
2021-08-04 05:40 guest Bug heat 2 => 4