Accueil
LimeSurvey Forums
Welcome, Guest
Please Login or Register.    Lost Password?
Re:regex bug for last question / group (1 viewing) (1) Guest
Go to bottom Post Reply Favoured: 0
TOPIC: Re:regex bug for last question / group
#13400
johan johanson (User)
Fresh Lemon
Posts: 6
graphgraph
User Offline Click here to see the profile of this user
[done] regex bug for last question / group 3 Months, 2 Weeks ago Karma: 0  
hey there,
i strongly believe i found a bug regarding validation (v1.7 build 4690).

validation doesn't work for the last group (if questions are displayed group by group) or the last question of a survey.
i can enter whatever i want, without having problems to complete the survey.

this occurs as well in testing as in active mode.
if i copy the same question to a group displayed earlier validation is working fine.

furthermore i'd like to add, that the validation-parameters aren't copied when duplicating a question, even if the checkbox for "copy attributes" is checked. should this also be considered as bug? i'd like to add (to avoid any suspicion) that i double checked, that all validation parameters were in place.

can somebody reproduce this? if so, i will submit it to the bugtracker.

and is there anything i can do about it? the question to be verified by regex HAS to be displayed on the last survey page.

thx for any hints,
johan
Enter code here   
Please note, although no boardcode and smiley buttons are shown, they are still useable
 
Logged Logged  
 
Last Edit: 2008/05/16 05:30 By Mazi.
  Reply Quote
#13406
Mazi (Moderator)
Moderator
Posts: 2325
graph
User Offline Click here to see the profile of this user
Re:regex bug for last question / group 3 Months, 2 Weeks ago Karma: 18  
Which build are you using?

There have been some fixes to problems with the last question because this needs special treatment.

If you are using the latest build please add this to the bugtracker because it seems to be a bug. Please attach a sample survey. You can mark it as private so that only admins will be able to take a look at it.
Enter code here   
Please note, although no boardcode and smiley buttons are shown, they are still useable
 
Beste Grüße/Best regards,
Mazi
______________________
You can support Limesurvey, too!
 
Logged Logged  
  Reply Quote
#13407
johan johanson (User)
Fresh Lemon
Posts: 6
graphgraph
User Offline Click here to see the profile of this user
Re:regex bug for last question / group 3 Months, 2 Weeks ago Karma: 0  
sry, i mistakingly wrote (v1.7 build 4690) instead of (v1.70+ build 4690). i will upgrade and check, if this has been fixed.
Enter code here   
Please note, although no boardcode and smiley buttons are shown, they are still useable
 
Logged Logged  
  Reply Quote
#13409
johan johanson (User)
Fresh Lemon
Posts: 6
graphgraph
User Offline Click here to see the profile of this user
Re:regex bug for last question / group 3 Months, 2 Weeks ago Karma: 0  
the problem appears to be solved in build 4831 .
thx for your time.
johan
Enter code here   
Please note, although no boardcode and smiley buttons are shown, they are still useable
 
Logged Logged  
  Reply Quote
#13411
Mazi (Moderator)
Moderator
Posts: 2325
graph
User Offline Click here to see the profile of this user
Re:regex bug for last question / group 3 Months, 2 Weeks ago Karma: 18  
fine
Enter code here   
Please note, although no boardcode and smiley buttons are shown, they are still useable
 
Beste Grüße/Best regards,
Mazi
______________________
You can support Limesurvey, too!
 
Logged Logged  
  Reply Quote
#14191
corvock (User)
Fresh Lemon
Posts: 1
graphgraph
User Offline Click here to see the profile of this user
Re: regex bug for last question / group 2 Months, 3 Weeks ago Karma: 0  
I am running LimeSurvey Version 1.70+ (4831)and believe the problem i am having is related to this. I have a survey with the second to last question being a request for email address. I am using a regexp of ^[\w-\.]+@([\w-]+\.)+[\w-]{2,4}$ to validate email addresses. I was using a different regexp over the weekend when the problem first popped up and changed to see if that was what was causing my issue. The email field is conditional on being asked if they wish to be contacted. When they select yes e-mail appears (so not everyone is having issues finishing the survey). Those who do wish to be contacted fill in their email addresses, and when hitting submit are told that the email field is not valid. What was odd to me was that despite the complaints of not being able to leave their address, that part of the survey results were still being populated. I just verified with a coworker that when you fill out the survey, select yes and are presented the email field then submit you are told the data entered is not valid. When he got that message, i checked the survey results and his email was added to the results. They even appear when i tell the browse results screen to NOT include incomplete surveys. It appears it is telling the user that validation is failing, while still completing the survey.

Any ideas

--Ryan
Enter code here   
Please note, although no boardcode and smiley buttons are shown, they are still useable
 
Logged Logged  
  Reply Quote
#14197
Mazi (Moderator)
Moderator
Posts: 2325
graph
User Offline Click here to see the profile of this user
Re: regex bug for last question / group 2 Months, 3 Weeks ago Karma: 18  
Please upgrade to the latest release (1.71). A lot of errors have been fixed meanwhile.
More information:
- Download latest release
- Upgrade instructions

I have tested the regular expression you are using at www.regexlib.com. Everything worked fine. Can you check if using the regex posted in the manual works for you?

If none of the solutions work please enter a ticket at the bugtracker.
Enter code here   
Please note, although no boardcode and smiley buttons are shown, they are still useable
 
Beste Grüße/Best regards,
Mazi
______________________
You can support Limesurvey, too!
 
Logged Logged  
 
Last Edit: 2008/06/04 10:05 By Mazi.
  Reply Quote
Go to top Post Reply
Powered by FireBoardget the latest posts directly to your desktop