Start
LimeSurvey Forums
Welcome, Guest
Please Login or Register.    Lost Password?
Re:regex bug for last question / group (1 viewing) (1) Guest
Go to bottom 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 6 Months, 3 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
 
Logged Logged  
 
Last Edit: 2008/05/16 05:30 By Mazi.
  The administrator has disabled public write access.
#13406
Mazi (Moderator)
Moderator Lime
Posts: 3349
graph
User Offline Click here to see the profile of this user
Re:regex bug for last question / group 6 Months, 3 Weeks ago Karma: 28  
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.
 
Logged Logged  
 
Best regards,
Mazi
______________________
Need help? I can: set up Limesurvey for you / create your survey / implement additional features / design your template / offer premium support -> Contact.
  The administrator has disabled public write access.
#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 6 Months, 3 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.
 
Logged Logged  
  The administrator has disabled public write access.
#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 6 Months, 3 Weeks ago Karma: 0  
the problem appears to be solved in build 4831 .
thx for your time.
johan
 
Logged Logged  
  The administrator has disabled public write access.
#13411
Mazi (Moderator)
Moderator Lime
Posts: 3349
graph
User Offline Click here to see the profile of this user
Re:regex bug for last question / group 6 Months, 2 Weeks ago Karma: 28  
fine
 
Logged Logged  
 
Best regards,
Mazi
______________________
Need help? I can: set up Limesurvey for you / create your survey / implement additional features / design your template / offer premium support -> Contact.
  The administrator has disabled public write access.
#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 6 Months 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
 
Logged Logged  
  The administrator has disabled public write access.
#14197
Mazi (Moderator)
Moderator Lime
Posts: 3349
graph
User Offline Click here to see the profile of this user
Re: regex bug for last question / group 6 Months ago Karma: 28  
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.
 
Logged Logged  
 
Last Edit: 2008/06/04 10:05 By Mazi.
 
Best regards,
Mazi
______________________
Need help? I can: set up Limesurvey for you / create your survey / implement additional features / design your template / offer premium support -> Contact.
  The administrator has disabled public write access.
Go to top