View Issue Details

This issue affects 1 person(s).
 8
IDProjectCategoryView StatusLast Update
08465Bug reportsExpression Managerpublic2014-01-09 14:14
Reporterbquiller Assigned Toc_schmitz  
PriorityhighSeveritycrash 
Status closedResolutionno change required 
Product Version2.00+ 
Summary08465: A regexp on the last page block the submit
Description

On the last page of my survey contains a valid regexp on a phone number.

It seems to block the validation. I have a js error :
L'utilisation de « getPreventDefault() » est obsolète. Utiliser « defaultPrevented » à la place.

If I remove the regexp the submit works.

TagsNo tags attached.
Attached Files
Bug heat8
Complete LimeSurvey version number (& build)131206
I will donate to the project if issue is resolvedNo
Browser
Database type & versionMySQL 5.1.66
Server OS (if known)Linux Centos 6
Webserver software & version (if known)Apache 2.2.23
PHP Version5.3.19
Git branch / Pull Request URL

Users monitoring this issue

There are no users monitoring this issue.

Activities

DenisChenu

DenisChenu

2013-12-18 18:17

developer   ~27617

Can you upload a simple lss file with this regexp please.

bquiller

bquiller

2013-12-20 13:39

reporter   ~27683

Here is the survey with the regexp : it can not be more simple !

c_schmitz

c_schmitz

2014-01-08 16:37

administrator   ~27768

It would be even more helpful if you let us know which number should validate that does not.

tpartner

tpartner

2014-01-08 20:40

partner   ~27781

Last edited: 2014-01-08 20:41

There is a jQuery bug in newer versions of Chrome that produces the "event.returnValue is deprecated. Please use the standard event.preventDefault() instead" warning - http://bugs.jquery.com/ticket/14320.

Having said that, it is only a warning and should not prevent any script from running.

bquiller

bquiller

2014-01-09 13:47

reporter   ~27790

A french number should validate : 0123456789

The problem has been reproduced on every browser I tried (IE, FF and Chrome).
It is only a warning. I don't have error message but it doesn't submit the survey.

Does it work for you with my lss ?

c_schmitz

c_schmitz

2014-01-09 14:14

administrator   ~27791

See http://manual.limesurvey.org/Using_regular_expressions

"Regular Expressions must start and finish with a forward slash ("/")."

Issue History

Date Modified Username Field Change
2013-12-18 16:59 bquiller New Issue
2013-12-18 18:17 DenisChenu Note Added: 27617
2013-12-19 13:01 c_schmitz Assigned To => c_schmitz
2013-12-19 13:01 c_schmitz Status new => feedback
2013-12-20 13:38 bquiller File Added: limesurvey_survey_345621.lss
2013-12-20 13:39 bquiller Note Added: 27683
2013-12-20 13:39 bquiller Status feedback => assigned
2014-01-08 16:37 c_schmitz Note Added: 27768
2014-01-08 16:37 c_schmitz Status assigned => feedback
2014-01-08 20:40 tpartner Note Added: 27781
2014-01-08 20:41 tpartner Note Edited: 27781
2014-01-09 13:47 bquiller Note Added: 27790
2014-01-09 13:47 bquiller Status feedback => assigned
2014-01-09 14:14 c_schmitz Note Added: 27791
2014-01-09 14:14 c_schmitz Status assigned => closed
2014-01-09 14:14 c_schmitz Resolution open => no change required