Fix: Repeated Warning Message "Preparation count cannot be negative" #7595
+13
−2
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Fixes #7156
Prevented an issue Cause by both html5 min validation and Specify's negative validation both being triggered at the same time, causing the error popup to display multiple cannot be negative messages to be added to the popup
Note: this error appears after the countAMT field has the
initialize="min=0field set in its form definition, see instructions below to recreate or follow testing instruction from #6462.Screen.Recording.2025-12-18.at.12.19.27.PM.mov
Checklist
self-explanatory (or properly documented)
Testing instructions
initialize="min=0"to the<cell type="field" id="3" name="countAmt" uitype="text"/>if neededLike this: