Please Log in or Create an account to join the conversation.
It uses substitutions in the same way you'd use substitutions in a delimiter field. However the exception being you place the substitutions directly in the fields layout parameter, which alters the actual fields output anywhere that calls getFields. This allows your layout to affect all of that fields usages throughout CB (assuming the usages are using getFields). In the case of delimiter field (now Custom HTML) you had to shut off the original field and replace its output on profile using it.The question is, how does the feature to show an image instead of field value supposed to work? I have a select gender field. Field value is either male or female. If male CB to display a male icon, if female I want a female icon to get displayed.
That shouldn't happen. Does it do this with all text fields or just that field specifically.The issue is with the userlist as well. Until know I had a description field which is a searchable text field. On user list search when I searched with empty description field all users were displayed. Now when I search with empty user field none users get displayed.
When I enter a value into the description field to look for, then it returns correctly the value. It seems that an empty field is no longer a placeholder for value all/*.
Please Log in or Create an account to join the conversation.
This is weird because I have copied the exact code from the delimiter field into the new layout field. The code is working fine for the delimiter field but not as layout code.krileon wrote: It uses substitutions in the same way you'd use substitutions in a delimiter field. However the exception being you place the substitutions directly in the fields layout parameter, which alters the actual fields output anywhere that calls getFields. This allows your layout to affect all of that fields usages throughout CB (assuming the usages are using getFields). In the case of delimiter field (now Custom HTML) you had to shut off the original field and replace its output on profile using it.
This happends for this specific field only so far. When I use "*" as input value then it seems that it shows all users. It seems that the asterisk is the place holder for any.krileon wrote: That shouldn't happen. Does it do this with all text fields or just that field specifically.
Please Log in or Create an account to join the conversation.
Please read the description icon information carefully for layouts. The [value] substitution must be present or the layout will be ignored. We'll be reviewing before stable if this requirement should stay or not.This is weird because I have copied the exact code from the delimiter field into the new layout field. The code is working fine for the delimiter field but not as layout code.
Is it a custom text field from a plugin or just a normal text field created in CB > Field Management? I've retested in both J2.5 and J3.x and could not confirm your issue. In all my tests a blank text field is ignored when searching. Using a * with the search mode set to simple any will result in the query being set to "LIKE '%'", which means it'll match any user that has a value in that field.This happends for this specific field only so far. When I use "*" as input value then it seems that it shows all users. It seems that the asterisk is the place holder for any.
Please Log in or Create an account to join the conversation.
I have read it but I have no idea what the description is trying to say.krileon wrote: Please read the description icon information carefully for layouts. The [value] substitution must be present or the layout will be ignored. We'll be reviewing before stable if this requirement should stay or not.
It is a regular textarea field.krileon wrote: Is it a custom text field from a plugin or just a normal text field created in CB > Field Management? I've retested in both J2.5 and J3.x and could not confirm your issue. In all my tests a blank text field is ignored when searching. Using a * with the search mode set to simple any will result in the query being set to "LIKE '%'", which means it'll match any user that has a value in that field.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.