function areSuccessesPresent(form) {
for (var i=0; i < formatFields.length; i++) {
eval ("var field = form." + formatFields[i]);
if (field) {
var value = trim(getFieldValue(field));
var successes = formatSuccesses[i];
if (typeof(successes[0]) == "object") {
var allMatched = true ;
var anyMatched = false ;
for (var x=0; x < successes.length; x++) {
var exp = new RegExp(successes[x], "gi" );
var check = exp.test(value);
if ( !check ) { allMatched = false ; }
if ( check ) { anyMatched = true ; }
}
if (formatMatchAllSuccesses[i] && !allMatched) {
alert(formatMessages[i]);
field.focus();
return false ;
}
if ( !anyMatched ) {
alert(formatMessages[i]);
field.focus();
return false ;
}
} else {
var exp = new RegExp(successes, "gi" );
var check = exp.test(value);
if ( !check ) {
alert(formatMessages[i]);
field.focus();
return false ;
}
}
}
}
return true ;
}
function areFailuresPresent(form) {
for (var i=0; i < formatFields.length; i++) {
eval ("var field = form." + formatFields[i]);
if (field) {
var value = trim(getFieldValue(field));
var failures = formatFailures[i];
if (typeof(failures[0]) == "object") {
var allMatched = true ;
var anyMatched = false ;
for (var x=0; x < failures.length; x++) {
var exp = new RegExp(failures[x], "gi" );
var check = exp.test(value);
if ( !check ) { allMatched = false ; }
if ( check ) { anyMatched = true ; }
}
if (formatMatchAllFailures[i] && allMatched) {
alert(formatMessages[i]);
field.focus();
return false ;
}
if (!formatMatchAllFailures[i] && anyMatched ) {
alert(formatMessages[i]);
field.focus();
return false ;
}
} else {
var exp = new RegExp(failures, "gi" );
var check = exp.test(value);
if ( check ) {
alert(formatMessages[i]);
field.focus();
return false ;
}
}
}
}
return true ;
}
function isFormFormattedCorrectly(form) {
evenOutArrays();
if ( !(areRequiredFieldsPresent(form)) ) { return false ; }
if ( !(areSuccessesPresent(form)) ) { return false ; }
if ( !(areFailuresPresent(form)) ) { return false ; }
return true ;
}
About Us~About Breaking Par Consulting Inc.
About Us~Mission Statement
About Us~Company History
About Us~Our Employees
About Us~Employment Opportunities
Web Hosting~Web Site Hosting
Web Hosting~Hosting Packages
Web Hosting~Shared Server Price Sheet
Web Hosting~Dedicated Server Price Sheet
Web Hosting~HTML Hosting Price Sheet
Web Hosting~Information Request
Development~Information
Development~NGL Golf League
Development~Corporate Garage Sale Web Site
Development~DLL: Modify ACL
Development~Find Database From A Link
Development~Design Element Modified Time
Development~Ray Of Light Photography
Development~Reusable Object Library
Hints/Tips~LotusScript~Convert Seconds To Hours, Minutes, and Seconds
Hints/Tips~LotusScript~QuickSort Out Of Stack Space
Hints/Tips~LotusScript~Get Address Book
Hints/Tips~LotusScript~Get List Of Files
Hints/Tips~LotusScript~Plural Strings in Status Messages
Hints/Tips~LotusScript~Get Database Function
Hints/Tips~LotusScript~Exclusive Or With Strings
Hints/Tips~LotusScript~Timing LotusScript Agents
Hints/Tips~LotusScript~Defining LotusScript Variants
Hints/Tips~LotusScript~Caching when updating responses
Hints/Tips~LotusScript~Error Loading USE or USELSX
Hints/Tips~LotusScript~Computing Business Hours
Hints/Tips~LotusScript~Working With Custom Classes
Hints/Tips~LotusScript~Remove Element From Array
Hints/Tips~LotusScript~Find Added To File (Part 2)
Hints/Tips~LotusScript~Find Added To File (Part 1)
Hints/Tips~LotusScript~Conditional Agent Logging
Hints/Tips~LotusScript~Use Split/Join To Remove Entry From A List
Hints/Tips~LotusScript~Write Secured Code Using Defensive Coding
Hints/Tips~LotusScript~Converting DXL dates to CDat format
Hints/Tips~LotusScript~Overcoming the infamous {Public symbol is declared in another module: V_EMPTY}
Hints/Tips~LotusScript~Copy Database
Hints/Tips~LotusScript~Computing Easter Sunday
Hints/Tips~LotusScript~Get Single File Name
Hints/Tips~LotusScript~Random File Name (Updated)
Hints/Tips~LotusScript~Find And Append In LotusScript
Hints/Tips~LotusScript~Validating Rich Text Fields
Hints/Tips~LotusScript~Bytes and Booleans In Notes 6
Hints/Tips~LotusScript~Find and Replace In LotusScript
Hints/Tips~LotusScript~Refresh Parent When Closing Child
Hints/Tips~LotusScript~Filter Out Invalid Documents
Hints/Tips~LotusScript~Send A View To Another User (Part 2)
Hints/Tips~LotusScript~Send A View To Another User (Part 1)
Hints/Tips~LotusScript~Selective Printing Of Status Messages
Hints/Tips~LotusScript~Creating Sections Programmatically
Hints/Tips~LotusScript~Updating Selection Formula Programmatically
Hints/Tips~LotusScript~IsServerUp Function
Hints/Tips~LotusScript~Debugging Practices
Hints/Tips~LotusScript~Dynamically Including Script Libraries
Hints/Tips~LotusScript~Turn Replication Conflict Loser Into Winner
Hints/Tips~LotusScript~Missing From Array
Hints/Tips~LotusScript~Comparing Forall To For Loops
Hints/Tips~LotusScript~New ND6 LotusScript Functions
Hints/Tips~LotusScript~Recursive Updating Of Children
Hints/Tips~LotusScript~Random File Name
Hints/Tips~LotusScript~Running agent in view or open document
Hints/Tips~LotusScript~Quickly Collect All Documents
Hints/Tips~LotusScript~Setting Default Boolean Values
Hints/Tips~LotusScript~Subset Function
Hints/Tips~LotusScript~Are Arrays Equal
Hints/Tips~LotusScript~Implode/Explode Functions
Hints/Tips~LotusScript~Wrap A String To A Fixed Length
Hints/Tips~LotusScript~Accessing Reserved Fields
Hints/Tips~LotusScript~Proper way to delete documents
Hints/Tips~LotusScript~Move Web Attachment To Rich Text Field
Hints/Tips~LotusScript~Viewing INI Preferences
Hints/Tips~LotusScript~Evaluate Unique Elements
Hints/Tips~LotusScript~Determine If A Private View Is Out Of Date
Hints/Tips~LotusScript~Open Database To A Document
Hints/Tips~LotusScript~Script equivalent to @IsValid
Hints/Tips~LotusScript~Prevent Certain Users From Saving Documents
Hints/Tips~LotusScript~Custom Prompts In LotusScript
Hints/Tips~LotusScript~ReplaceSubstring Function
Hints/Tips~LotusScript~Keep track of how long an agent ran
Hints/Tips~LotusScript~Get URL path to the current database
Hints/Tips~LotusScript~Pause during LotusScript agent
Hints/Tips~LotusScript~Remove duplicates from array (Unique Function)
Hints/Tips~LotusScript~Getting category counts from a view in LotusScript
Hints/Tips~LotusScript~Get collection of documents modified since the agent was last run
Hints/Tips~LotusScript~Make use of the Notes Agent Log class
Hints/Tips~LotusScript~Calculate height and width of GIF/JPG files
Hints/Tips~JavaScript~SHIFT+CLICK to Select Multiple Checkboxes
Hints/Tips~JavaScript~Running Asynchronous JavaScript Synchronously
Hints/Tips~JavaScript~Format Time
Hints/Tips~JavaScript~Format Date
Hints/Tips~JavaScript~Round to 0 or .5
Hints/Tips~JavaScript~Days Between Dates
Hints/Tips~JavaScript~Repeat String
Hints/Tips~JavaScript~Printer Friendly Pages
Hints/Tips~JavaScript~Fill In Blank Table Cells
Hints/Tips~JavaScript~Is Valid Time
Hints/Tips~JavaScript~Custom No Documents Found Message
Hints/Tips~JavaScript~Selecting check box highlights entire row
Hints/Tips~JavaScript~Time Zones
Hints/Tips~JavaScript~Order Of Execution
Hints/Tips~JavaScript~Number Of Weekdays Between Dates
Hints/Tips~JavaScript~JavaScript Sorting
Hints/Tips~JavaScript~parseInt Bug
Hints/Tips~JavaScript~isArray Function
Hints/Tips~JavaScript~Move Up/Down List
Hints/Tips~JavaScript~Add To List/Remove From List
Hints/Tips~JavaScript~JavaScript Are Arrays Equal
Hints/Tips~JavaScript~Show Object Properties
Hints/Tips~JavaScript~Open Centered Window
Hints/Tips~JavaScript~Capturing Mouse Position
Hints/Tips~JavaScript~String Manipulations
Hints/Tips~JavaScript~Checking For Global Variables
Hints/Tips~JavaScript~Generic Form Validation
Hints/Tips~JavaScript~Get Field Value
Hints/Tips~JavaScript~Trim String
Hints/Tips~JavaScript~Replace Substring Function
Hints/Tips~JavaScript~Get Selected Radio Button Or Check Box
Hints/Tips~JavaScript~Using Pages To Store JavaScript
Hints/Tips~JavaScript~Validating A Date String
Hints/Tips~JavaScript~Capturing Keystrokes
Hints/Tips~Web Design~Run Java Agent In 3 Environments
Hints/Tips~Web Design~Custom Search Page
Hints/Tips~Web Design~Adding Dojo Date/Time Pickers In Traditional Web Development
Hints/Tips~Web Design~View of Todays Documents
Hints/Tips~Web Design~Sizing File Upload Controls
Hints/Tips~Web Design~Accessibility Compliant Menus (Updated)
Hints/Tips~Web Design~Use Different Style Sheets In Notes And Web
Hints/Tips~Web Design~Accessibility Compliant Drop Down Menus
Hints/Tips~Web Design~Identifying The Selected Radio Button
Hints/Tips~Web Design~What Makes A Good Password?
Hints/Tips~Web Design~XHTML and Firefox
Hints/Tips~Web Design~UL Styles In Firefox And IE
Hints/Tips~Web Design~Followup: Hiding Totals In Categorized Web View
Hints/Tips~Web Design~Hiding Totals In Categorized Web View
Hints/Tips~Web Design~Show View To Browsers In Multiple Columns
Hints/Tips~Web Design~Making Nice Table Borders On Both Notes And Browser
Hints/Tips~Web Design~R6 Update: Allow users to click on twisty or category title
Hints/Tips~Web Design~Different Text Direction
Hints/Tips~Web Design~Profile Document Warning
Hints/Tips~Web Design~HTML Escape Characters
Hints/Tips~Web Design~Popup Help on Input Fields
Hints/Tips~Web Design~Saving Screen Space When Using Checkbox Fields
Hints/Tips~Web Design~Agents: Run As Web User vs. Signer
Hints/Tips~Web Design~Using A Base Href
Hints/Tips~Web Design~Showing Single Category - Warning
Hints/Tips~Web Design~Providing field help inside the field (IE only)
Hints/Tips~Web Design~Allow users to click on twisty or category title
Hints/Tips~Web Design~Web Color codes
Hints/Tips~Web Design~Prevent Pages From Caching
Hints/Tips~Web Design~Decode URL
Hints/Tips~Web Design~Protect your $$ Templates from unautorized use
Hints/Tips~Web Design~Prevent browser users from snooping around your database
Hints/Tips~Web Design~Change View Twisty Icons
Hints/Tips~Web Design~Alternate Row Colors In Web View
Hints/Tips~Web Design~Open a view to a specific document
Hints/Tips~Web Design~Mulit-value fields with a browser
Hints/Tips~Web Design~Target another frame in @URLOpen
Hints/Tips~Notes Client~Deny Access vs Full Access Administrators
Hints/Tips~Notes Client~Input Time Control and Time Zone
Hints/Tips~Notes Client~Image With Text On Top
Hints/Tips~Notes Client~Document Locking and ws.EditDocument
Hints/Tips~Notes Client~Notes on a USB Memory Stick
Hints/Tips~Notes Client~Deletion Stubs and Documents Removed via Replication Settings
Hints/Tips~Notes Client~Updating two check boxes at once
Hints/Tips~Notes Client~Removing Invalid Subordinate Keyword Values
Hints/Tips~Notes Client~Making Sure Users Replicate
Hints/Tips~Notes Client~View Color Columns
Hints/Tips~Notes Client~Computing WebDbName on the Server
Hints/Tips~Notes Client~Preventing Notes Access To An Application
Hints/Tips~Notes Client~Trapping Messages Marked Return Receipt
Hints/Tips~Notes Client~Code Based On Time Of Day
Hints/Tips~Notes Client~Notes 6 Mail Template Action Bar
Hints/Tips~Notes Client~Daylight Saving Time Changes
Hints/Tips~Notes Client~Custom OK/Cancel Buttons and Validation
Hints/Tips~Notes Client~Hiding Properties Box When Opening Agent or View
Hints/Tips~Notes Client~Who Replicated Deleted Documents Back?
Hints/Tips~Notes Client~Notes Client Background Agents
Hints/Tips~Notes Client~Check Constant
Hints/Tips~Notes Client~Check Error Number
Hints/Tips~Notes Client~Only Select One Checkbox
Hints/Tips~Notes Client~Database Properties Affected By Refresh/Replace
Hints/Tips~Notes Client~FailSilent Keyword In Lookups
Hints/Tips~Notes Client~Soft Deletes And Response Documents
Hints/Tips~Notes Client~Designer Bookmark Bar
Hints/Tips~Notes Client~Swapping Rich Text Fields
Hints/Tips~Notes Client~Removing Empty Folders From Your Mail
Hints/Tips~Notes Client~Using Color Fields
Hints/Tips~Notes Client~Another Use For Computed Text
Hints/Tips~Notes Client~Edit Any Field SmartIcon
Hints/Tips~Notes Client~ND6 View Design With R5 Users
Hints/Tips~Notes Client~Startup Folder In ND6
Hints/Tips~Notes Client~Handing R5/6 Migration Through Design
Hints/Tips~Notes Client~Programmatically Hiding A Rich Text Field
Hints/Tips~Notes Client~Show/Hide Edit Document Button In Views
Hints/Tips~Notes Client~Change Twisty On Outline (ND6)
Hints/Tips~Notes Client~Update Field On Selected Documents
Hints/Tips~Notes Client~Determine Java JVM Version for Notes
Hints/Tips~Notes Client~Public/Private Views/Folders
Hints/Tips~Notes Client~Custom Interface In ND6
Hints/Tips~Notes Client~Getting Multiple Radio Buttons To Act Like One
Hints/Tips~Notes Client~Disable specialized response hierarchy information
Hints/Tips~Notes Client~Get UNID for one document
Hints/Tips~Notes Client~Using Preview Pane In Frameset
Hints/Tips~Notes Client~Open Up Document To All Authors
Hints/Tips~Notes Client~Using Permanent Pen
Hints/Tips~Notes Client~Computed Links In ND6
Hints/Tips~Notes Client~Using JavaScript Resources In ND6
Hints/Tips~Notes Client~Categorize A View On Month Name
Hints/Tips~Notes Client~Open View Link To Frameset
Hints/Tips~Notes Client~Delete Stored Form Fields
Hints/Tips~Notes Client~Linking From A Browser To Notes
Hints/Tips~Notes Client~Error Message In Status Bar
Hints/Tips~Notes Client~View Icon Reference
Hints/Tips~Notes Client~Prevent Validation Errors When F9 Is Pressed
Hints/Tips~Notes Client~Closing Without Prompting
Hints/Tips~Notes Client~Computed Hotspot Text
Hints/Tips~Notes Client~Different Home For Different Releases
Hints/Tips~Notes Client~Quick Formula Computation
Hints/Tips~Notes Client~Combining Many Views Into One
Hints/Tips~Notes Client~Change Twisty On Outline
Hints/Tips~Notes Client~Keyboard Shortcuts
Hints/Tips~Notes Client~Easter Eggs
Hints/Tips~Notes Client~Showing Progress Bar In Notes Status Bar
Hints/Tips~Formula Language~Finding Duplicate Values
Hints/Tips~Formula Language~Showing Elapsed Time in HH:MM:SS format
Hints/Tips~Formula Language~Binary Formula Language Operations
Hints/Tips~Formula Language~Turning single value processing function into multi value with @Transform
Hints/Tips~Formula Language~Sorted Month Names
Hints/Tips~Formula Language~@BusinessDays Observations
Hints/Tips~Formula Language~Multi-Column Display Field
Hints/Tips~Formula Language~Delete From List
Hints/Tips~Formula Language~@IfError Obsolete In Notes 7
Hints/Tips~Formula Language~Using the Notes address picker
Hints/Tips~Formula Language~Updating Parent When Response Changes
Hints/Tips~Formula Language~Validating A Number Field
Hints/Tips~Formula Language~Using UpdateFormulaContext
Hints/Tips~Formula Language~Permutation Comparison In Hide Formulas
Hints/Tips~Formula Language~DbLookup Errors
Hints/Tips~Formula Language~@Command ViewExpandWithChildren
Hints/Tips~Formula Language~Decimal To Hex Conversion
Hints/Tips~Formula Language~Using @For in Input Validation
Hints/Tips~Formula Language~Show Search Bar In Framed Environment
Hints/Tips~Formula Language~Basic Edit History
Hints/Tips~Formula Language~Using @TextToTime In USA And Europe
Hints/Tips~Formula Language~Holidays In ND6 Formula Language
Hints/Tips~Formula Language~Selection Sort In Formula Language
Hints/Tips~Formula Language~Swapping Multi-Value Field Values
Hints/Tips~Formula Language~Looping to perform lookups
Hints/Tips~Formula Language~Making Reusable Validation Formulas In ND6
Hints/Tips~Formula Language~Number of days in the month
Hints/Tips~Formula Language~Select Certain Entries From A List
Hints/Tips~Formula Language~@IsNewDoc Warning
Hints/Tips~Formula Language~Validation Formula Pet Peeve
Hints/Tips~Formula Language~Find all the Mondays in a date range
Hints/Tips~Formula Language~Computing Column Formulas Once
Hints/Tips~Formula Language~Rolling 12 Month Selection List
Hints/Tips~Formula Language~Formatting Dates In Formula Language
Hints/Tips~Formula Language~Linking Response Document To Its Parent
Hints/Tips~Formula Language~Adjust By 'x' Business Days
Hints/Tips~Formula Language~Using Lists In Formulas
Hints/Tips~Formula Language~Weekdays between two dates
Hints/Tips~Formula Language~Prevent Certain Users From Saving Documents
Hints/Tips~Formula Language~Using role names in a controlled access section
Hints/Tips~Formula Language~Use a different background color for every document
Hints/Tips~API (Notes/Windows)~Getting the Current IP Address
Hints/Tips~API (Notes/Windows)~Rebooting Windows Server
Hints/Tips~API (Notes/Windows)~Getting Windows 'My Documents' Directory
Hints/Tips~API (Notes/Windows)~Reading a MIME Entity in the C API
Hints/Tips~API (Notes/Windows)~Launch MS Word Document
Hints/Tips~API (Notes/Windows)~Get Windows Temporary Path
Hints/Tips~API (Notes/Windows)~Get a list of image resources
Hints/Tips~API (Notes/Windows)~Converting Web Attachment to Image Resource
Hints/Tips~API (Notes/Windows)~Purge Deletion Stubs Programmatically
Hints/Tips~API (Notes/Windows)~Is Database Encrypted
Hints/Tips~API (Notes/Windows)~Backup Windows Directory
Hints/Tips~API (Notes/Windows)~Removing Enforce Consistent ACL
Hints/Tips~API (Notes/Windows)~Creating MS Word Documents (Part 4)
Hints/Tips~API (Notes/Windows)~Creating MS Word Documents (Part 3)
Hints/Tips~API (Notes/Windows)~Creating MS Word Documents (Part 2)
Hints/Tips~API (Notes/Windows)~Creating MS Word Documents (Part 1)
Hints/Tips~API (Notes/Windows)~Change Replica ID
Hints/Tips~API (Notes/Windows)~Tracking Elapsed Time In LotusScript Agent Using LS2J
Hints/Tips~API (Notes/Windows)~Get HTML From A URL (Part 3)
Hints/Tips~API (Notes/Windows)~Creating Excel Spreadsheets In Notes/IE Using OLE/ActiveX
Hints/Tips~API (Notes/Windows)~Creating Excel Spreadsheets In IE Using ActiveX
Hints/Tips~API (Notes/Windows)~Creating Excel Spreadsheets In IE
Hints/Tips~API (Notes/Windows)~Creating Excel Spreadsheets In Notes
Hints/Tips~API (Notes/Windows)~Ping In LotusScript
Hints/Tips~API (Notes/Windows)~Programmatically Changing Database Icons
Hints/Tips~API (Notes/Windows)~Get HTML From A URL (Part 2)
Hints/Tips~API (Notes/Windows)~Get HTML From A URL
Hints/Tips~API (Notes/Windows)~Reading/Writing Windows Clipboard
Hints/Tips~API (Notes/Windows)~Get ACL History Class
Hints/Tips~API (Notes/Windows)~Converting Host Name To IP Address
Hints/Tips~API (Notes/Windows)~Show Notes API Error
Hints/Tips~API (Notes/Windows)~Refresh Design In LotusScript