Error with LABEL tag in FS 5.0 in FS_LIST
Author: jperdior
Publication Date: 10/7/2014 11:41
Good morning,
I am having some problems with a dinamic label in a form in FS 5.0 that seems to not appear in FS 5.1.
The <label> tag is like this:
<LABEL lang="DE">
if(#item.st_radiobutton_2.getValue().equals("1"),"● ","○ ") +
if(
!#item.st_text_12.empty(),
#item.st_text_12,
if(
!#item.st_text_4.empty(),
#item.st_text_4.toText(false).trim(),
"unbenannt"
)
) +
if(!#item.st_text_3.empty()," (intern: " + #item.st_text_3 + ")")
</LABEL>
The line marked as red is the one that throws the following error when editing the content:

The field st_text_12 is making reference to this field in another section template:
<CMS_INPUT_TEXT
name="st_text_12"
allowEmpty="yes"
convertEntities="standard"
hFill="yes"
maxInputLength="200"
noBreak="no"
useLanguages="no">
<LANGINFOS>
...
</LANGINFOS>
</CMS_INPUT_TEXT>
If I take out the line it works but no the functionality I want and this problems it's not appearing in FS 5.1
Anybody have found the same problem or knows what could be the problem?
Thanks and regards!
Tags: fs5.0, fs_list
-
Author: MichaelaReydt - 10/20/2014 11:14
P.S.:
Have you tried it with "!#item.st_text_12.isEmpty()," ?
0
Please sign in to leave a comment.
Comments
1 comment