You need to sign in to do that
Don't have an account?
Mandar Kulkarni 13
restrict <apex:inputField type="number" value="{!Con.No_of_Tickets__c}" html-placeholder=" Quantity.." /> to only show positive numbers.
I am taking quantity of product in this field and storing number of quantity.its showing up down arrow..but on down arrow its going below 0 i.e -1,-2... so i dnt want values below 0.how do i restrict it????
Hi Mandar,
Use html-min to define minumum value as 0 and onkeypress restrict negative values like this:
If this resolve your problem, please mark this as solved , so that it gets removed from the unanswered queue which results in helping others who are encountering a similar issue.
Thanks & Regards
Gulshan Raj
LinkedIn (https://www.linkedin.com/in/gulshan-raj-a26b0640/)
Twitter (https://twitter.com/gulshan_bittoo)
All Answers
Hi Mandar,
Use html-min to define minumum value as 0 and onkeypress restrict negative values like this:
If this resolve your problem, please mark this as solved , so that it gets removed from the unanswered queue which results in helping others who are encountering a similar issue.
Thanks & Regards
Gulshan Raj
LinkedIn (https://www.linkedin.com/in/gulshan-raj-a26b0640/)
Twitter (https://twitter.com/gulshan_bittoo)
Isuue Solved..