Hi,
I am trying to use shared text to manage an error message.
defined a text with id DateErrorMsg in shared texts file and assigned value there, included the shared texts file in related forms, created text control on forms and assign the DateErrorMsg text to these text controls on forms from script.
However, I cannot make multiple line for the text even I choose contain HTML for DateErrorMsg and/or Contain HTML on the text controls. with <br> in the DateErrorMsg.
and tried /n/r, 
, etc.
How to make it show multiple lines new line?
Thanks for help.
Xiaoli
shared text does not support new line?
Moderators: Jon, Steve, Ian, Dave
-
- Ebase User
- Posts: 272
- Joined: Fri Dec 14, 2012 2:55 pm
- Location: Ottawa
-
- Moderator
- Posts: 1342
- Joined: Wed Sep 12, 2007 12:49 pm
-
- Ebase User
- Posts: 272
- Joined: Fri Dec 14, 2012 2:55 pm
- Location: Ottawa
-
- Moderator
- Posts: 1342
- Joined: Wed Sep 12, 2007 12:49 pm
If you can't figure it out, you could export the form together with all related files and send it to support.
For info, you can display an error message from a text using:
Then you don't have to look after hiding/showing text controls. If you want to position the message somewhere else on a page, you can add a MessageControl then add the message to this:
You probably know this already.
For info, you can display an error message from a text using:
Code: Select all
event.owner.addErrorMessageText(texts.DateErrorMsg);
Code: Select all
controls.myMsgCtrl.addErrorMessageText(texts.DateErrorMsg);
0 x
Who is online
Users browsing this forum: Bing [Bot] and 14 guests