I have a list which contains preferred date with three dates like 16, 17 and 18 april 2019. I have to restrict entries per date like for 16th april there should be 50, if user selects 16 again we should through/show message saying the selected date seats are filled please select other dates.


  • You can write JavaScript code in OOTB new item form in list which will count numbers from list using REST api when user selects particular date. And based on count, you can show error message and restrict form from being submitted. – Dikesh Gandhi Apr 12 '19 at 12:49
  • Hi Dikesh, thank you so much for reply, would you please post REST api code here, thanks in advance. – Ramanjjilu Naidu Apr 14 '19 at 5:17

Your Answer

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

Browse other questions tagged or ask your own question.