Vladi Gubler
Vladi Gubler
October 08, 2025
Stay in the know
Get helpful videos

Introduction

Date validation is a frequent requirement in business applications: you want to prevent users from entering invalid or illogical dates (e.g. a start date in the past, or a due date earlier than the start date). Traditionally, you might use cryptic validation expressions, custom JavaScript, or Power Apps to enforce these rules. But with Ultimate Forms, you can build and maintain date validations directly in the form designer, without custom code.

In this article, we’ll walk through how to configure date validation rules in Ultimate Forms, test them, and adopt best practices.


Why Date Validations Matter

Invalid dates can lead to:

  • Scheduling conflicts

  • Business logic errors (e.g. deadlines earlier than start)

  • Inaccurate reporting

  • Data integrity issues

By building validations at the form level, you ensure that only correct data is accepted, before it’s even saved.


Use Case Example: Tasks List with Start Date and Due Date

Let’s suppose you have a SharePoint list called “Ultimate Forms Tasks” with two date columns:

  • Start Date

  • Due Date

You want two validation rules:

  1. Start Date cannot be earlier than today.

  2. Start Date cannot be later than the Due Date.

We’ll use Ultimate Forms to enforce both of these.


Step 1: Open the Form Designer & Access Column Validations

  1. In your SharePoint Online site, add the Ultimate Forms app if not already present.

  2. Navigate to your list, then click Design to open the Ultimate Forms.

  3. Click on Form Designer. You will be taken to your existing form or a new form design will be automatically created.
  4. In the designer's canvas, click on the date column you want to validate.

  5. In the right-hand property pane, locate the Validation section and click to add a new rule.


Step 2: Create Your Validation Rules

A. Prevent Start Date < Today

  • Type: Column (validation against a fixed or dynamic value)
  • Operator: Greater than

  • Value: [Today] (the system token for the current date)

  • Error Message: e.g. “Start Date cannot be before today”.

Use the Value Picker tool in Ultimate Forms to select [Today] or type in manually. Then click Add to create the rule.

Validation rule 1

B. Prevent Start Date > Due Date

  • Type: Column
  • Operator: Less than

  • Value: [Due Date] (referring to the Due Date column)

  • Error Message: e.g. “Start Date cannot be after the Due Date”.

Again, use the Value Picker to choose the Due Date column, then add the rule.

Validation rule 2

Once both rules are added, publish your form.


Step 3: Test Your Validations in the List

Now let’s validate that your rules work as expected.

  • Test 1: Start Date before today
    Try creating or editing an item and set Start Date to a date in the past. You should see your custom error message and be prevented from saving. 

  • Test 2: Start Date after Due Date
    Choose Start Date to be later than Due Date. Again, the form should reject with your error message.

With your tests complete, the validation rules are now enforcing your business logic at entry time.


Benefits & Maintenance

✅ Advantages of Using Ultimate Forms

  • No custom code required — all validation is built via configuration

  • Centralized management — validation rules are easy to view, edit, or delete in one place

  • User-friendly error messaging — you control what the user sees when violations occur. You can also use the multilingual feature to present the same validation message in different languages based on the current user's preferred language.

  • Dynamic values supported — you can use tokens like [Today] or reference other columns

⚠️ Considerations & Best Practices

  • Time component: If your date columns include time, review whether your validation logic accounts for time-of-day (e.g. midnight).

  • Missing or blank dates: Determine what behavior should occur if Due Date (or referenced column) is blank. You may need default values or fallback logic.

  • Multiple rules interaction: Ensure rules do not contradict each other or produce confusing messages.

  • Performance: In very busy forms or large lists, test to make sure validation does not introduce lag.


Expanded Examples & Variations

Here are a few more scenarios you might implement:

  • Start Date must be after a different milestone date — use validation against another date column (e.g. [Milestone Date]).

  • Due Date must not exceed a maximum threshold — e.g. Due Date ≤ [Start Date] + 90 days. There are many functions you can integrated using the Value Picker.

  • No overlapping periods — validate that a new period does not overlap with existing ones using combined column and list-level validation.

  • Conditional validation — e.g. only enforce the rule if a Status column = “Approved” or some flag is set.


Summary

With Ultimate Forms in SharePoint, you can build date validations elegantly and maintainably, right in the Form Designer. No custom scripting or external workflows needed. By creating rules such as “Start Date ≥ Today” or “Start Date ≤ Due Date,” you enhance data integrity, prevent entry errors, and simplify future maintenance.

Loading...

Add your comment

Comments are not meant for support. If you experiencing an issue, please open a support request.
Products
In this post I'm going to go over the Signature component of our Ultimate Forms. I will explain how it can help your SharePoint system meet federal regulations, like FDA 21 CFR Part 11.SharePoint is a great tool for managing all kinds of data: documents, business processes, you name it. Coupled with a Single Sign-on, entering data is a breeze,...
Products
When we started to develop Ultimate Forms, we did not position it to be an InfoPath competitor or replacement. We aimed to create a platform that helps our customers use SharePoint better. We wanted to close the gap between their needs and what SharePoint can do. This way, they wouldn't have to spend money on expensive custom development. We did...
Products
Vladi Gubler | April 30, 2025
If you’ve ever used Survey lists in SharePoint, you’re likely familiar with a powerful and often underappreciated feature: the Rating Scale column. This special column type presents a matrix of statements or questions alongside a numeric scale, typically used for gathering structured feedback. The idea is simple but incredibly effective - allow...
Build powerful business applications in SharePoint using only your browser.
100% No-Code Solution
It’s never been easier to create, innovate, and share. All you need is your web browser!
Cost-Effective
Address business process pain points immediately. Save time and money.
Fantastic Support Team
In addition to our responsive support team, a wide variety of resources, documentations, tutorials, blogs and webinars is available to you
Microsoft partner logo
© 2005-2025 Infowise Solutions Ltd. All rights reserved.
Privacy | Cookie Policy | Accessibility | Cloud SLA