Re: Field Validation , Greater than 0
Thanks for the response.
Are you using Pqtch or SubmitForm for submission?
I am using Patch function to submit to the Collection.
Patch(
ExpenseCollection,
ThisItem,
{
ddlValue:Dropdown1.Selected.Item,
LineCost: LineCost.Text,
LineQuantity: Value(LineQuantity.Text),
LineSize: LineSize.Text,
LineTotal:Value(LineTotal.Text),
ShowSaveButtons:false
}
);
Also, are you saying that the validation should only happen if the user has replaced the default 0 with 0 or 1? And is the validation that the number entered by the user should be greater than 0 or 1?
Default Value is 0, I want the validation to occur if the user has not replaced the 0 with value greater than 0.
The validation number should be greater than 0.
I am not submitting the form to the SharePoint list, if the line item quantity is 0. I want to visually prompt the user that they need to add quantity value greater than 0.
Let me know so I can guide you with the best possible suggestion.
Thank you very much.