View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
13340 | Bug reports | Data Entry (non public) | public | 2018-02-13 00:07 | 2018-02-19 14:01 |
Reporter | JamesHarrisHKI | Assigned To | ollehar | ||
Priority | none | Severity | minor | ||
Status | closed | Resolution | duplicate | ||
Product Version | 3.3.x | ||||
Fixed in Version | 3.3.x | ||||
Summary | 13340: Pressing Enter key clears form | ||||
Description | In surveys that have a short or long free text field, pressing Enter in these fields clears all the fields in the current question group. This prevents the user from entering multi-line information such as addresses. This problem seems specific to the Vanilla and Bootswatch themes. | ||||
Steps To Reproduce |
| ||||
Tags | No tags attached. | ||||
Attached Files | |||||
Bug heat | 8 | ||||
Complete LimeSurvey version number (& build) | 3.3.0+180209 | ||||
I will donate to the project if issue is resolved | No | ||||
Browser | Firefox and Chrome | ||||
Database type & version | 347 | ||||
Server OS (if known) | Windows Server 2008 | ||||
Webserver software & version (if known) | Apache/2.4.23 (Win64) | ||||
PHP Version | 7.0.9 | ||||
duplicate of | 13234 | closed | Focus in text fields when pressing return |
corresponds with 13234? |
|
Please, in the future, always attach a survey which reproduces the issue. |
|
Cannot reproduce. More info, like video or screenshot? |
|
Here's the survey I created to demonstrate this problem: http://uksurveys.hkipop.com/index.php/397881?newtest=Y&lang=en |
|
Sorry, still cannot reproduce. Tested with Firefox and Chromium on my machine. Can you enable debug = 2 in config.php, please? Also, click F12 to check for errors in the browser control. |
|
Debug is set to 2. On pageload, I get this message in the console: "JQMIGRATE: Migrate is installed, version 3.0.0" Reproducing the bug does not produce a message in the console. Here's a video demonstrating the problem: https://i.imgur.com/WcsmocY.gifv This is very strange - you're saying that when you visit http://uksurveys.hkipop.com/index.php/397881?newtest=Y&lang=en and type some text and press Enter, the page functions as intended? You may need to wait a couple seconds to see the form reset, as shown in the video. We've tried this on a few computers here, in Chrome and Firefox, and the bug always reproduces. I've also just noticed that if I press Enter twice, I get this message in a modal dialog: "Please use the survey navigation buttons or index. It appears you attempted to use the browser back button to re-submit a page." |
|
Do you have Ajax mode enabled? Go to theme options and check (don't inherit options). I can reproduce on your survey, but not on my machine. |
|
I have the same problem in my survey. |
|
Ah! The "vanilla" theme has Ajax mode enabled, and my survey was set to inherit that. Disabling Ajax mode makes the problem go away. |
|
Markus fixed this for duplicate issue 13234. |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2018-02-13 00:07 | JamesHarrisHKI | New Issue | |
2018-02-13 01:04 | pgs | Note Added: 46405 | |
2018-02-13 16:56 | ollehar | Note Added: 46412 | |
2018-02-13 16:59 | ollehar | Status | new => feedback |
2018-02-13 16:59 | ollehar | Note Added: 46413 | |
2018-02-13 17:13 | JamesHarrisHKI | File Added: survey_archive_397881.lsa | |
2018-02-13 17:13 | JamesHarrisHKI | Note Added: 46415 | |
2018-02-13 17:13 | JamesHarrisHKI | Status | feedback => new |
2018-02-14 12:43 | ollehar | Note Added: 46445 | |
2018-02-14 12:43 | ollehar | Assigned To | => ollehar |
2018-02-14 12:43 | ollehar | Status | new => feedback |
2018-02-14 17:25 | JamesHarrisHKI | Note Added: 46476 | |
2018-02-14 17:25 | JamesHarrisHKI | Status | feedback => assigned |
2018-02-14 17:38 | ollehar | Note Added: 46480 | |
2018-02-14 17:38 | ollehar | Status | assigned => confirmed |
2018-02-14 18:01 | YuVeRe | Note Added: 46482 | |
2018-02-15 13:43 | ollehar | Status | confirmed => feedback |
2018-02-15 17:37 | JamesHarrisHKI | Note Added: 46541 | |
2018-02-15 17:37 | JamesHarrisHKI | Status | feedback => assigned |
2018-02-19 14:01 | ollehar | Note Added: 46579 | |
2018-02-19 14:01 | ollehar | Status | assigned => closed |
2018-02-19 14:01 | ollehar | Resolution | open => duplicate |
2018-02-19 14:01 | ollehar | Fixed in Version | => 3.3.x |
2018-02-19 14:01 | ollehar | Relationship added | duplicate of 13234 |