Skip to main content link. Accesskey S
  • Log In
  • Help
  • IBM Logo
  • IBM Forms wiki
  • All Wikis
  • All Forums
  • Home
  • Product Documentation
  • Community Articles
  • Learning Center
  • IBM Redbooks
  • API Documentation
Community Articles Product Documentation Learning Center IBM Redbooks API Documentation This category All IBM Forms 4.0 documentation IBM Forms Server 4.0 API documentation Custom Search Scope...
Search
  • New Article
  • Share Show Menu▼
  • Subscribe Show Menu▼

About the Original Author

Ryan Nordman
Contribution Summary:
  • Articles authored: 25
  • Articles edited: 25
  • Comments Posted: 0

Recent articles by this author

Dataset Browser Modal Dialog Sample WFS4

This sample demonstrates a technique for showing a large list in an HTML modal dialog using dojo, and pushing selections from the list back into the form using the Javascript API.

Dynamic Multiple Error Messages Using XForms Bind and Alert

This article outlines a technique for developing forms with multiple error messages on a single field. In cases where you would like to present the user with several different error messages depending on the type of validation error being made, this technique uses a minimal amount of code and ...

Multilingual Forms Applications

This article includes a sample form with servlet and will discuss approaches and techniques to develop multilingual forms applications, through two approaches: creating a separate form document for each language, or creating a single form which dynamically changes its labels for each ...

The Expressive Power of XForms Binds and XPath

The goal of this sample is to illustrate some of the expressive power of XForms binds and how an XPath nodeset in a bind is used at runtime to evaluate the result of a bind. In this example the goal is to count the number of occurrences of specific text entries in a homogeneous set of XML ...

Basic XForms Tables Tutorial Part 2: Add/Remove Buttons

This article is meant as a sequel to a previous article on basic XForms Tables. You can read the first article http:www10.lotus.comlddlfwiki.nsfdx04292009040220PMRNOV22.htmhere. The first article outlines how to build a very simple Lotus Forms XForms table with two fields. We will pick ...
Community articleGrowing Field (Viewer Only) Sample Form
Added by Ryan Nordman | Edited by IBM contributor Ryan Nordman on April 13, 2009 | Version 4
expanded Abstract
collapsed Abstract
No abstract provided.
Tags: samples, compute
This Viewer-only form demonstrates how you can create fields that grow to display all of the text entered. Included in the sample are two fields: one standard plain text field and one configured to allow entry of rtf (rich text format) data. When a user enters text into either of these fields and then tabs out, a compute found in the field measures the height of the text and stores this result in a page global option. The field's itemlocation->height contains a compute that monitors this height and determines whether to render the field using this new height or a minimum height.

Highlighted Features

This form makes use of the viewer.measureHeight function to measure the text entered. Since the form function is part of the viewer package, it is only available when the form is rendered in the Viewer.

expanded Attachments (0)
collapsed Attachments (0)
expanded Versions (5)
collapsed Versions (5)
Version Comparison     
VersionDateChanged by              Summary of changes
6Jul 7, 2009 4:54:26 PMJane Rizhanovsky  IBM contributor
5Apr 14, 2009 4:37:00 PMDeanna Drschiwiski  IBM contributor
This version (4)Apr 13, 2009 12:15:39 PMRyan Nordman  IBM contributor
3Apr 9, 2009 7:15:39 PMRyan Nordman  IBM contributor
1Apr 9, 2009 7:14:04 PMRyan Nordman  IBM contributor
Copy and paste this wiki markup to link to this article from another article in this wiki.
Go ElsewhereStay ConnectedHelpAbout
  • IBM Collaboration Solutions wikis
  • IBM developerWorks
  • IBM Software support
  • Twitter LinkIBMSocialBizUX on Twitter
  • FacebookIBMSocialBizUX on Facebook
  • ForumsLotus product forums
  • BlogsIBM Social Business UX blog
  • Community LinkIBM Collaboration Solutions
  • Wiki Help
  • Forgot user name/password
  • Wiki design feedback
  • Content feedback
  • About the wiki
  • About IBM
  • Privacy
  • Accessibility
  • IBM Terms of use
  • Wiki terms of use