View Issue Details

This bug affects 1 person(s).
 2
IDProjectCategoryView StatusLast Update
18689Bug reportsErgonomypublic2023-03-17 09:18
ReporterDenisChenu Assigned To 
PrioritynoneSeveritypartial_block 
Status newResolutionopen 
Product Version6.0.0-dev 
Summary18689: No input control on subquestion codecan remow whole information
Description

When edition subquestion code : there are no HTML5 input control : it's easy to break adding é or , for example : saving : lost ALL subquestions

Steps To Reproduce

Steps to reproduce

Create an array question type Add subquestion and answer (valid)
Edit subquestion and add a bad character
Save and close : lost ALL
Edit answers and add a bad character
Save and close : lost ALL

Expected result

have a warning before save action

Actual result

Save an lost all

TagsNo tags attached.
Bug heat2
Complete LimeSurvey version number (& build)6.0.0-dev
I will donate to the project if issue is resolvedNo
Browsernot relevant
Database type & versionnot relevant
Server OS (if known)not relevant
Webserver software & version (if known)not relevant
PHP Versionnot relevant

Users monitoring this issue

User List There are no users monitoring this issue.

Activities

DenisChenu

DenisChenu

2023-03-17 09:14

developer  

Peek 17-03-2023 09-12.gif (579,429 bytes)
Peek 17-03-2023 09-11.gif (424,155 bytes)
DenisChenu

DenisChenu

2023-03-17 09:18

developer   ~74135

A simple control with pattern like we have since years , why remove the good part ?

pattern="^([a-zA-Z0-9]*|OLDCODE)$" for subquestion
I think we need only pattern="^([a-zA-Z0-9]*)$" for andswers

We already validate duplicate : but it's only for duplicate …

Issue History

Date Modified Username Field Change
2023-03-17 09:14 DenisChenu New Issue
2023-03-17 09:14 DenisChenu File Added: Peek 17-03-2023 09-12.gif
2023-03-17 09:14 DenisChenu File Added: Peek 17-03-2023 09-11.gif
2023-03-17 09:18 DenisChenu Note Added: 74135
2023-03-17 09:18 DenisChenu Bug heat 0 => 2