9 Oct 2007 2:11 AM #1
SOLVED: How can I insert RAW HTML into a TextField or make HTML-Editor readonly
I'm writing a Mailclient and have a problem.
I'Ve got a form where the message which should be read is loaded. the body should be displayed in the HTML-Editor komponent.
after that I want to disable the widget, so the user can't edit the text. he should be able to click the links in the mail also.
How can I do that?
Or is there a way to use TextField and set the HTML-Message-Body to its content?
Thanks a lot for your help
- A Noop
10 Oct 2007 1:33 AM #2
ok - after several hours I've got it:
set the "designMode" to Off.
Form.findField('mail_body').doc.designMode = 'off';