Possible for a editable muti-value text field to show as a numbered list? So for example I have a editable text field where a user does not enter predetermined values. I used quotes (“”) in the sample below to easily show you the separate values in the field on this forum. They are not used in actual data.
So user might enter the following in the field:
“Visited house at 4:56pm”
“Took client to Red Lobster for extended lunch”
“Fixed flat tire at TireKingdom”
…but I need it to display as follows:
“1. Visited house at 4:56pm”
“2. Took client to Red Lobster for extended lunch”
“3. Fixed flat tire at TireKingdom”
NOTES:
— User would like to be able to see the numbers as they are typing in each new line (in the same way a paragraph number list style works).
— Form preference is set to “Automatically Enable Edit Mode”, so displaying the values with numbers in a “” value is not an option, it needs to be done in the editable field.
Subject: Possible for a editable mutivalue text field to show as a numbered list?
Short answer – no, not in the Notes client. On the web you could intercept the onkeypress event for the field looking for returns, but the available Notes client events mean waiting for the user to exit the field or save/refresh the document. If you want to do the numbering real-time in the client, you need to use a Rich Text or Rich Text Lite field.
Subject: RE: Possible for a editable mutivalue text field to show as a numbered list?
Thanks Stan & Stephen for the responses. It becomes problematic to retrieve and handle the data if I make it a RTF and using the client is my only option for now.
I think I need to step back and approach this one from a different angle. Ill post back here if/when I find something, thanks again.
Subject: RE: Possible for a editable mutivalue text field to show as a numbered list?
Thanks for the reply, Yes that would work if it werent for a couple of issues that need ironed out. I have already come across this when I tried it last time. Those issues are as follows:
— How to update number column field in real-time each time the user enters a new line?
— How would you handle longer text entries that wrap to a second line? Wouldnt that throw off the numbering?
Subject: RE: Possible for a editable mutivalue text field to show as a numbered list?
Here is the article on keeping a realtime count on the number of characters in a field. I expect you could modify it to keep a real time count on the number of elements ==>
As for, “How would you handle longer text entries that wrap to a second line? Wouldnt that throw off the numbering?”
Well, that is a problem. I have no work around for that.
Would the user just be happy with a count of the number of elements?
Item # 3
As they entered:
“Visited house at 4:56pm”
“Took client to Red Lobster for extended lunch”
“Fixed flat tire at TireKingdom”
What about Stan’s idea of a rich text field? Is there something you’re going to do with those values? Maybe there is a method someone can dream up of taking the rich text bullet list and getting the values if you need to use them elsewhere.