• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 515
  • Last Modified:

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
0
stevejebson
Asked:
stevejebson
  • 2
1 Solution
 
Suat OzgurWeb / 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
 
stevejebsonAuthor 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

Featured Post

[Webinar] Cloud and Mobile-First Strategy

Maybe you’ve fully adopted the cloud since the beginning. Or maybe you started with on-prem resources but are pursuing a “cloud and mobile first” strategy. Getting to that end state has its challenges. Discover how to build out a 100% cloud and mobile IT strategy in this webinar.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now