Line Item Restriction

Badam
Occasional Contributor

Line Item Restriction

Hi Community,

 

Can we restrict the user to enter only positive numbers in a line item?

 

And if he enters anything apart from the it should also throw some text, displaying only positive numbers are allowed?

 

Thanks a lot for your support 🙂

2 REPLIES 2
david.savarin
Regular Contributor

Re: Line Item Restriction

I d go with some line items that test (boolean) whether the input value is >=0 and display an alert text in that case (and blank if not). And prevent calculation in subsequent line item based on the same condition.
Akhtar.shahbaz
Community Boss

Re: Line Item Restriction

Hi @Badam ,

 

We can't restrict users to input only positive numbers but we can highlight through conditional formatting or Warning if user will input a negative number

 

Screenshot_285.png

 

Thanks

Akhtar