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
Community Articles Product Documentation Learning Center IBM Redbooks This category All IBM Forms 4.0 documentation IBM Forms Server 4.0 API documentation Custom Search Scope...
Search
Community Articles > Samples > XFDL Samples > Date Constraints Sample Form
  • New Article
  • Share Show Menu▼
  • Subscribe Show Menu▼

About the Original Author

IBM contributorRyan 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 articleDate Constraints Sample Form

Added by IBM contributor Ryan Nordman on April 9, 2009 | Version 1
expanded Abstract
collapsed Abstract
No abstract provided.
Tags: xforms, date calculations, samples
A common form requirement is to force the user to enter a date so that it is greater than another. The attached form demonstrates how to apply this requirement either at the data layer (using an XForms constraint bind) or at the presentation layer (using the format option). The XForms approach is preferable since it flags the data node as invalid and would prohibit an XForms submission if an invalid date was provided. Furthermore, an XForms bind is extremely powerful in that a single bind can apply a constraint on a large set of nodes.
expanded Attachments (0)
collapsed Attachments (0)
expanded Versions (8)
collapsed Versions (8)
Version Comparison     
VersionDateChanged by              Summary of changes
9Jul 7, 2009 4:55:25 PMJane Rizhanovsky  IBM contributor
7Jun 22, 2009 2:38:58 PMJane Rizhanovsky  IBM contributor
7May 4, 2009 11:50:44 AMDeanna Drschiwiski  IBM contributor
6May 4, 2009 11:50:42 AMDeanna Drschiwiski  IBM contributor
5Apr 16, 2009 1:21:26 PMDeanna Drschiwiski  IBM contributor
4Apr 14, 2009 4:35:34 PMDeanna Drschiwiski  IBM contributor
3Apr 13, 2009 12:17:03 PMRyan Nordman  IBM contributor
This version (1)Apr 9, 2009 6:29:42 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