 |
 |
| Domino Tips: |
|
 |
 |

HTML
Use Commas In Labels For Keyword Fields On The Web
Brice Pernet 08.24.2000
Rating: --- (out of 5)




Did you ever had a client wanting you to program a Notes form with radio buttons, one (or more) of which MUST contain a comma? I had. And of course, Notes splashed me this message telling me that commas were forbidden in keyword fields... So what? If your field should only be displayed on the Web, there's a not-so-nice way to do it. Instead of the comma, include this code: [<!-- -->,<!-- -->] The [< ... >] tells Domino to directly use the enclosed HTML code. In order that the HTML code stays valid, and does not influence further rendering, I used the less-than and greater-than characters as part of HTML comment tags. And the whole thing resides in HTML-encoding of the comma character: ,
Code
In the value list of the keyword field, I have something like that: First case | 1 Second[<!-- -->,<!-- -->] Third and Fourth cases | 234 Fifth case | 5 And this renders on the web as follows: ( ) First case ( ) Second, Third and Fourth cases ( ) Fifth case
 |

|
Rate this Tip
|
To rate tips, you must be a member of SearchDomino.com. Register now
to start rating these tips. Log in if you are already a member.
|


');
// -->
DISCLAIMER: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.
|
 |
|
|
 |
|
 |
 |
 |
 |
| TechTarget provides technology professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective purchase decisions and managing their organizations' technology projects - with its network of . |
|
| |
All Rights Reserved, , TechTarget |
|
|
|
|
|