URGENT: Webtools adding HTMLTextArea unable to change WORDWRAP default !!

Experts,

We're trying to add an HTMLTextArea to a web form in a word document using the WebTools. The default value for WordWrap has been set to OFF but if we try to change it to TRUE or YES or 1 or ON we keep getting an "Invalid Property Value" we've searched but can't find any other possible values,

Help !

Steve
LVL 1
Steve JebsonDeveloperAsked:
Who is Participating?
 
Suat OzgurConnect With a Mentor Web / Application DeveloperCommented:
Hi,

Valid entries:
OFF  Word-wrapping is disabled (default).
PHYSICAL  The text is displayed and submitted word-wrapped
VIRTUAL  The text is displayed word-wrapped, but is submitted as typed.

Suat
0
 
Steve JebsonDeveloperAuthor Commented:
BTW, when printing is there any way to stretch the TextArea so that we don't crop the text due to height settings on the textarea ??
0
 
Suat OzgurWeb / Application DeveloperCommented:
There is no attribute for this as I know (and could be applied via element properties dialog in Word) but I would use CSS for textarea element like below:

<html>
<head>
<style media="print">
      textarea {height:auto; overflow:visible;}
</style>
</head>
<body>
      <textarea cols="40" rows="4"></textarea>
</body>
</html>

Suat
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.