modxcms / revolution

MODX Revolution - Content Management Framework
https://modx.com/
GNU General Public License v2.0
1.36k stars 529 forks source link

TVs and delimiters #11497

Open sottwell opened 10 years ago

sottwell commented 10 years ago

All types of TVs have their value separated by || delimiters. While this is appropriate for multiple-value type TVs, like checkboxes or select types, it is not helpful in the case of plain-text type TVs. For example, you cannot use them for Javascript code snippets that use the || logical operator. See http://forums.modx.com/thread/91432/writing-double-pipes-within-an-html-tag-tv-splits-the-output---feature-or-bug#dis-post-500218

LNow commented 10 years ago

Is there any chance for saving multiple-value TVs in multiple records in DB? Can you point the file that is responsible for this feature, please?