3

I have a validation rule in InfoPath that fires if RequestStatus = Ready and Value (Color control) is not present or in this case blank shown below:

enter image description here

Below screenshot shows when the validation kicks in. As you can see Status is set to Ready and nothing is selected for Color. This is when validation kicks in:

enter image description here

Below is the error message users receives when the above is met. This works perfectly. The only issue is that it is an ugly message and if user does not pay attention they will not see the reason for the warning shown below:

enter image description here

However, the below example is what I have seen at another site which had a nicer looking error message that details why the form is not letting the user submit.

enter image description here

I'm not sure on how this was made but I would like to know how to display a friendly error message on the form if the condition, stated earlier above, is met.

Please advise as any help is appreciated.

1

Create a text field called "Error." And instead of having a validation rule, make it an action rule that sets "Error" to be whatever you want it to be. And then another rule to clear Error when conditions are met. You can format your text field to look anyway you want.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.