Smart SharePoint Forms Validation Using AI Answer in UltimateForms
Will Cooper
Will Cooper
June 28, 2024 | General

Web form validation hasn't change a lot in the last 20 years. Generally a form is set to check for required fields or in more advanced scenarios it is possible to make fields required based on conditions.

There are also ways to make sure that a field entry matches a set pattern. This is handy when you want to check for a valid email address or when you want to make sure phone numbers are entered using a consistent pattern. For many of us, these are all familiar scenarios in which we have plenty of pratice.

UltimateForms Form Designer provides excellent abilities to set up validation for all these scenarios. The new AI Answer function provides a new level of validation.

Imagine all the times that you have received form submissions with sparse details and incomplete information. It happens all the time. Conventional form validation isn't great at preventing this problem. The new AI Answer function adds a new layer of validation that can dynamically analyze form submissions to ensure correct and complete information in the first submission by analyzing user inputs before the form is saved.

Let's think of a typical scenario with a support request. Frequently users will submit a low effort request in which little information is provided describing the issue. This causes delays and frustration, because a human must ask for more information before they can begin researching the problem and working towards resolution. It is far better to eliminate low effort submissions by instead prompting the user for more information before the request is saved.

How can you begin to take advantage of AI Driven validation?

Begin with some practice by going through the examples in our previous article here: New AI Answer feature for Infowise Ultimate Forms SharePoint Forms (

AI is able to assess user entered content and return an evaluation according to your prompt. Let's focus on the description provided by the user. We're looking to stop low effort descriptions like "The program won't load". We want AI to evaluate the description to determine whether the user did a good job providing details. When doing this kind of validation, it is essential to provide a specific prompt describing the exact response required from AI.

We want the user to click a button under the description which will trigger the validation. You could put a button under the description with a label Confirm Description. The button should call the AI Answer function with the user data and return a "score" based on the user information. Here are some example prompts that you can try:

$Answer([Description]|Based on the description, evaluate the level of detail describing a problem on a scale of "1" being very broad and vague to "10" being very specific and detailed. Provide back only a single number response with values from "1" to "10".)

An essential part of the prompt is defining precisely what must be returned. Note that the returned data is text and must be written back to a text field in your form. You could call this field "AI Check", hide the label, make it read only, then set a conventional validation rule on this field to make sure it has an acceptable value. In our example, we might validate that the AI evaluation returns back 6,7,8,9 or 10 only. We can hide the save button blocking form submission until user clears the check.

In this way, we are letting AI screen the initial information cutting down on delays and wasted time where a human must gather this information later. This kind of validation needs some experimentation to see how it performs and to make sure that it will always return back an evaluation exactly with the responses specified. With some practice, you will become more comfortable with what works well in your prompts. Note that we could evaluate for anything that we need contained in the description such as make and model numbers, specific steps, the name of the software used, which browser was used or any other kinds of details you need to make sure are always given.

Here is an example of this new kind of AI driven validation being used in a support form:





Add your comment

Comments are not designed to replace support calls. If you have a specific issue with one of our products, please send an email to to open a support ticket.


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!


Address business process pain points immediately. Save time and money.

Fantastic Support Team

Facing difficulties installing the application? Contact our fantastic support team.

Related Topics

What is right for you?

Online Trial

Not ready to install yet? Create a trial site in our environment
  • Full control of the site and its settings
  • Optionally pre-install one of our solution templates
  • Site provisioned instantly
  • Automatically removed after 30 days
  • Available to everyone!


There was an error processing your request.
Please contact us for further details.


Install in your own environment, on Microsoft 365 and on premises
  • Start working with real users and data
  • Install online or on premises
  • Register for 30 day trial
  • Seemlessly convert to paid license
  • Requires administrator permissions


Download link has been emailed to .
If you do not receive it within 5 minutes, please check your spam.
The link is valid for 72 hours.
If you are having problems, please contact us.


There was an error processing your request.
Please contact us for further details.
Technical details:

Request a Live Demo

Book an appointment for a one-on-one with an ULTIMATEforms expert trainer.

Test drive the awesome power of ULTIMATEforms

Learn how to quickly and easily turn time-consuming business processes into automated, efficient workflows.

Have a strong start

Only thirty minutes of well-coached time can translate into great future savings in time and money. So, sit back and enjoy the ride.

It's Free

Learn how to address business process pain points immediately. Save time and money.