[TYPO3-core] RFC #13556: Bug: use '|' instead of ', ' for form validation

Georg Nebel georg.nebel at gmx.de
Fri Jul 23 16:38:17 CEST 2010


Am 23.07.2010 16:04, schrieb Steffen Kamper:
> Hi,
> 
> Martin Kutschker schrieb:
>> Am 23.07.2010 14:46, schrieb Georg Nebel:
>>> This is an SVN patch request.
>>>
>>> Type: Bugfix
>>>
>>> Bugtracker references:
>>> http://bugs.typo3.org/view.php?id=13556
>>>
>>> Branches:
>>> TYPO3_4-3, TYPO3_4-4, trunk
>>>
>>> Problem:
>>> Form validation (jsfunc.validateform.js) fails if a label contains a
>>> comma
>>>
>>> Solution:
>>> Use of  vertical bar (|) instead of comma  for form validation.
>>
>> Yes, the problem  is annoying, but the solution could be better.
>>
>> The root of the problem is that both TS and Form-CE configuration are
>> mapped onto a simple minded
>> internal structure. Better would be to change this handling first.
>>
>> And as Steffen wrote, we cannot change the existing separator. If we
>> need a different one for the CE
>> then we will have to find another approach (eg a configuration).
>>
> 
> i hope that rewrite of tceforms also brings efforts to the validation.
> And i really would like to use the ExtJS vakidation without this
> adventuresome imploding/exploding stuff. For now i don't think that
> change , to | really solve it, pipe is in use for other stuff too.
> 
> vg Steffen

The separator is only used jsfunc.validateform.js. I used the pipe
because is used outside the valdation for other stuff and will there for
not used in the text sent to the validateform.js.
It is just a bugfix because the comma is the wrong character used for
separation.

Georg



More information about the TYPO3-team-core mailing list