View Issue Details

This bug affects 1 person(s).
 4
IDProjectCategoryView StatusLast Update
08009Feature requestsSurvey editingpublic2021-11-02 12:29
ReporterDenisChenu Assigned Togalads  
PrioritynormalSeverityfeature 
Status closedResolutionfixed 
Summary08009: Remove inline javascript of some input and use HTML5 pattern in ADMIN part
Description

We have some inline javascriot, this can be easyly replaced by pattern.

Example :
Answser code [0-9a-zA-Z]{1,5} . And if we choose to start by a letter :
[a-zA-Z].[0-9a-zA-Z
]{0,4}

Actually we have :
return goodchars(event,'1234567890abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWZYZ_')

Additional Information

More quick to add input, better use of Yii CHTML etc ...

Can add some polyfills form for IE8/IE9 (even FireFox for date).

TagsNo tags attached.
Bug heat4
Story point estimate
Users affected %

Users monitoring this issue

c_schmitz

Activities

DenisChenu

DenisChenu

2013-07-16 17:14

developer   ~25800

For 2.05 : can we remove inline JS and add some tested polyfills to admin template ?

Or for 2.1

Not for whole js , just for some js when we change/add/upate input.

Related Changesets

LimeSurvey: 2.05 222241eb

2013-07-13 18:55:19

DenisChenu

Details Diff
Dev: no new value for answers, replaced by placeholder
Dev: required on answer code
Dev: 404 on js, jquery.blockUI.js ar not in third_party
Dev: todo : same for sub question
Affected Issues
08009
mod - application/controllers/admin/questions.php Diff File
mod - application/views/admin/survey/Question/answerOptions_view.php Diff File
mod - scripts/admin/answers.js Diff File

Issue History

Date Modified Username Field Change
2013-07-13 20:55 DenisChenu New Issue
2013-07-16 15:37 DenisChenu Severity @50@ => feature
2013-07-16 15:37 DenisChenu Target Version => 2.05+
2013-07-16 17:13 DenisChenu Issue Monitored: c_schmitz
2013-07-16 17:14 DenisChenu Note Added: 25800
2013-07-16 17:56 DenisChenu Changeset attached => LimeSurvey 2.05 222241eb
2013-07-16 17:58 DenisChenu Summary Remove inline javascript of some inout and use HTML5 pattern => Remove inline javascript of some input and use HTML5 pattern in ADMIN part
2013-07-16 17:58 DenisChenu Additional Information Updated
2019-11-01 17:25 c_schmitz Category Survey design => Survey editing
2021-11-02 12:29 galads Assigned To => galads
2021-11-02 12:29 galads Status new => closed
2021-11-02 12:29 galads Resolution open => fixed