分裂与在"SP注释"字段中格式化内容 [英] Split & format content in SP Note field

查看:110
本文介绍了分裂与在"SP注释"字段中格式化内容的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


我有一个Note字段,其中包含类似
的数据 ...
测试A:结果数据a,结果数据
测试B:结果数据C
测试C:结果A,结果D
...

现在,测试A: 测试B: ..已固定(作为常量),但结果内容是动态的.结果集(A,B,C)存储在一个结果"字段中,该字段为注释类型".

我的问题是要像
那样显示

Hi,
I have a Note field which contains the data like
...
Test A: Result data a,result data
Test B: Result data C
Test C: Results A,results D
...

Now, the Test A: Test B:.. is fixed (as const) that but the result content is dynamic. the set of results (A,B,C) is stored in one (results) field which is Note Type.

my problem is to have it display like

Test A: Result data a,result data
Test B: Result data C
Test C: Results A,results D




测试A,B,C:应采用不同的格式. JQuery/CSS可以吗?

现在,如果我仍然需要改进问题说明..
整个内容(测试A:结果..至测试C:结果..")位于一个名为TestResults的字段中,这是列表X中的NOTE类型.问题是仅将格式(粗体/彩色)添加到"TEST A/B/C:"部分内容.我可以进行替换.(测试A:","[b]测试A:[/b]")并更改每个项目的HTML..



i.e.
Test A,B,C: should be formatted differently. Is it possible with JQuery/CSS?

Now, if I still have to improve the problem explanation..
The entire content ( "Test A: results.. to Test C: results..") is in ONE field called TestResults, which is NOTE type in a List X. The problem is to add formatting (bold/color) only to "TEST A/B/C:" part of the content. I can do replace.("Test A:"," [b]Test A:[/b]") and change HTML of each item..

sounds possible?

推荐答案

您可以使用HTML格式并存储< br>字段中的标签
You can use HTML formatting and store <br> tags in the field


这篇关于分裂与在"SP注释"字段中格式化内容的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆