core icon indicating copy to clipboard operation
core copied to clipboard

Structure Manager - Do we really need regular expressions to validate multiselect fiedls?

Open gabbydotCMS opened this issue 14 years ago • 3 comments

Tested on 2.0.

If the valid values for a multiselect field are pre-defined, do we need regular expressions for this type of fields?

Please see screenshot:

http://jira.dotmarketing.net/secure/attachment/5826750/Multiselect+Validation.jpg

This improvement was requested by HCA's QA team while testing Secure Form functionality.

gabbydotCMS avatar Aug 29 '12 17:08 gabbydotCMS

true we can simply hide through JS

jtesser avatar Aug 31 '12 11:08 jtesser

Now the regular expression for select and multi-select fields are removed (hidden) in the structure manager.

Files Updated

  • /dotCMS/html/ext/structure/field_type_js_array.jsp

oswaldogallango avatar Nov 14 '12 16:11 oswaldogallango

Fixed, tested on dotCMS 2.5 // W7 // Chrome

bryanboza avatar Dec 11 '12 20:12 bryanboza