View Issue Details

This issue affects 1 person(s).
 2
IDProjectCategoryView StatusLast Update
03740Bug reportsSurvey takingpublic2009-10-09 22:37
ReporterMazi Assigned Toc_schmitz  
PrioritynormalSeverityminor 
Status closedResolutionfixed 
Product Version1.86 
Summary03740: Question attribute "numbers_only" doesn't work for short text questions
Description

When setting the question attribute "numbers_only" for a short text question the user is still able to input text. Shouldn't this be prevented by javascript?

Additional Information

Attached survey was created using version 1.87RC! This isn't available yet at the bugtracker, please add...

TagsNo tags attached.
Attached Files
limesurvey_survey_67114.csv (4,440 bytes)   
# LimeSurvey Survey Dump
# DBVersion 140
# This is a dumped survey from the LimeSurvey Script
# http://www.limesurvey.org/
# Do not change this header!

#
# SURVEYS TABLE
#
"sid","owner_id","admin","active","expires","startdate","adminemail","private","faxto","format","template","language","additional_languages","datestamp","usecookie","notification","allowregister","allowsave","autonumber_start","autoredirect","allowprev","printanswers","ipaddr","refurl","datecreated","publicstatistics","publicgraphs","listpublic","htmlemail","tokenanswerspersistence","assessments","usecaptcha","usetokens","bounce_email","attributedescriptions","emailresponseto"
"67114","1","Marcel Minke","Y","","","marcel.minke@limesurvey.org","Y","","G","default","en","","N","N","0","N","Y","2","N","Y","N","N","N","2009-10-06","N","N","N","Y","N","N","D","N","marcel.minke@limesurvey.org","",""

#
# GROUPS TABLE
#
"gid","sid","group_name","group_order","description","language"
"504","67114","g1","0","","en"

#
# QUESTIONS TABLE
#
"qid","sid","gid","type","title","question","preg","help","other","mandatory","lid","lid1","question_order","language"
"2906","67114","504","S","short_text_numbers_o","Enter some text here. This question uses the ""numbers_only"" question attribute which doesn't prevent the user from entering text.<br />","","","N","Y","0","0","0","en"

#
# ANSWERS TABLE
#

#
# CONDITIONS TABLE
#

#
# LABELSETS TABLE
#

#
# LABELS TABLE
#

#
# QUESTION_ATTRIBUTES TABLE
#
"qaid","qid","attribute","value"
"1315","2906","time_limit_timer_style",""
"1314","2906","time_limit_warning_style",""
"1313","2906","time_limit_message_style",""
"1312","2906","time_limit_disable_next","0"
"1311","2906","time_limit_warning_display_time",""
"1297","2906","display_rows",""
"1298","2906","hidden","0"
"1299","2906","maximum_chars",""
"1300","2906","numbers_only","1"
"1301","2906","text_input_width",""
"1302","2906","prefix",""
"1303","2906","suffix",""
"1304","2906","page_break","0"
"1305","2906","time_limit",""
"1306","2906","time_limit_action","1"
"1307","2906","time_limit_message",""
"1308","2906","time_limit_message_delay",""
"1309","2906","time_limit_warning_message",""
"1310","2906","time_limit_warning",""

#
# ASSESSMENTS TABLE
#

#
# SURVEYS_LANGUAGESETTINGS TABLE
#
"surveyls_survey_id","surveyls_language","surveyls_title","surveyls_description","surveyls_welcometext","surveyls_endtext","surveyls_url","surveyls_urldescription","surveyls_email_invite_subj","surveyls_email_invite","surveyls_email_remind_subj","surveyls_email_remind","surveyls_email_register_subj","surveyls_email_register","surveyls_email_confirm_subj","surveyls_email_confirm","surveyls_dateformat"
"67114","en","Numbers Only Test","","","<br />","","","Invitation to participate in survey","Dear {FIRSTNAME},\n\nYou have been invited to participate in a survey.\n\nThe survey is titled:\n""{SURVEYNAME}""\n\n""{SURVEYDESCRIPTION}""\n\nTo participate, please click on the link below.\n\nSincerely,\n\n{ADMINNAME} ({ADMINEMAIL})\n\n----------------------------------------------\nClick here to do the survey:\n{SURVEYURL}","Reminder to participate in survey","Dear {FIRSTNAME},\n\nRecently we invited you to participate in a survey.\n\nWe note that you have not yet completed the survey, and wish to remind you that the survey is still available should you wish to take part.\n\nThe survey is titled:\n""{SURVEYNAME}""\n\n""{SURVEYDESCRIPTION}""\n\nTo participate, please click on the link below.\n\nSincerely,\n\n{ADMINNAME} ({ADMINEMAIL})\n\n----------------------------------------------\nClick here to do the survey:\n{SURVEYURL}","Survey registration confirmation","Dear {FIRSTNAME},\n\nYou, or someone using your email address, have registered to participate in an online survey titled {SURVEYNAME}.\n\nTo complete this survey, click on the following URL:\n\n{SURVEYURL}\n\nIf you have any questions about this survey, or if you did not register to participate and believe this email is in error, please contact {ADMINNAME} at {ADMINEMAIL}.","Confirmation of completed survey","Dear {FIRSTNAME},\n\nThis email is to confirm that you have completed the survey titled {SURVEYNAME} and your response has been saved. Thank you for participating.\n\nIf you have any further questions about this email, please contact {ADMINNAME} at {ADMINEMAIL}.\n\nSincerely,\n\n{ADMINNAME}","1"

#
# QUOTA TABLE
#

#
# QUOTA_MEMBERS TABLE
#

#
# QUOTA_LANGUAGESETTINGS TABLE
#

limesurvey_survey_67114.csv (4,440 bytes)   
Bug heat2
Complete LimeSurvey version number (& build)7723
I will donate to the project if issue is resolved
BrowserFF3
Database type & versionMy Sql 5.1.30
Server OS (if known)Win XP Sp 3
Webserver software & version (if known)Apache 2.2
PHP Version5.2
Git branch / Pull Request URL

Users monitoring this issue

There are no users monitoring this issue.

Activities

user372

2009-10-07 23:06

  ~09736

I can reproduce the issue.
@ Mazi: I attached a new version of your survey, because at your survey the numbers_only parameter wasn't set.

Issue History

Date Modified Username Field Change
2009-10-06 11:12 Mazi New Issue
2009-10-06 11:12 Mazi Status new => assigned
2009-10-06 11:12 Mazi Assigned To => user372
2009-10-06 11:12 Mazi File Added: limesurvey_survey_67114_numbers_only_bug.csv
2009-10-06 11:12 Mazi LimeSurvey build number => 7723
2009-10-06 11:12 Mazi Browser => FF3
2009-10-06 11:12 Mazi Database & DB-Version => My Sql 5.1.30
2009-10-06 11:12 Mazi Operating System (Server) => Win XP Sp 3
2009-10-06 11:12 Mazi Webserver => Apache 2.2
2009-10-06 11:12 Mazi PHP Version => 5.2
2009-10-07 23:06 user372 Note Added: 09736
2009-10-07 23:06 user372 File Deleted: limesurvey_survey_67114_numbers_only_bug.csv
2009-10-07 23:06 user372 File Added: limesurvey_survey_67114.csv
2009-10-07 23:07 user372 Assigned To user372 => c_schmitz
2009-10-09 22:37 c_schmitz Status assigned => closed
2009-10-09 22:37 c_schmitz Resolution open => fixed
2010-10-25 00:18 c_schmitz Category Survey at Runtime => Survey taking