Wrox Programmer Forums
|
Infopath Programming and automation discussions only please. :)
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Infopath section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old October 2nd, 2007, 04:17 AM
Registered User
 
Join Date: Oct 2007
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Validating future date

Hi there,

I have created a form in InfoPath 2003 and need to validate that the date selected (in a datepicker) is greater than today but not more than 5 days in the future.

I have created a validation event that uses the 'today()' function and set it to check error if the selected date is 'less than or equal to today()'. This works fine. The problem comes with the next part. I have created a 2nd validation event that checks whether the date 'is greater than today() + 5' but this doesn't work.

Is there a way of validating this?

Many thanks,

Skev





Similar Threads
Thread Thread Starter Forum Replies Last Post
Validating date abhishekkashyap27 Javascript How-To 2 May 5th, 2008 06:46 AM
Validating date(yyyymmdd) with RegularExpressionVa belete ASP.NET 2.0 Basics 2 October 23rd, 2007 12:30 PM
How to Validate a Date for present and Future Cute Designer J2EE 1 November 9th, 2004 10:45 PM
Future Date Validation Cute Designer Classic ASP Basics 10 October 26th, 2004 05:58 AM
validating date of birth in asp shoakat Classic ASP Databases 7 September 3rd, 2004 12:18 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.