You can use a JavaScript plugin to automatically adjust a textarea height. To do this:
- Download the JavaScript plugin at [http://www.jacklmoore.com/autosize/](http://www.jacklmoore.com/autosize/).
- Copy the "autosize.min.js" file into the corresponding WorkflowGen server folder: \inetpub\wwwroot\wfgen\WfApps\WebForms\js.
- On the Web References tab in the Form configuration panel, check Include jQuery API and jQuery UI libraries, then add the following JavaScript code (for a textarea with the "REQUEST_DESCRIPTION" as the full ID):
<script type="text/javascript"src="/wfgen/wfapps/webforms/js/autosize.min.js"></script>
<script>
$(document).ready(function() {
// Code executed in Runtime only
if (typeof $selectedObject === "undefined"){
autosize($('#REQUEST_DESCRIPTION'));
}
});
</script>