count the number of new records to be saved in a model thru javascript

Rowel VenturaRowel Ventura Member
edited June 25 in Questions
Hi,

How to count the number of new records to be saved in a model thru javascript snippet? Because in the settings, I can only know if the model has unsaved changes. 

Thanks,
Roy

Comments

  • Pat VachonPat Vachon Member 💎💎💎
    edited June 25
    You can count them by looping through the records and counting how many have less then 15 characters for an ID. ;)
  • Rowel VenturaRowel Ventura Member
    edited February 2018
    Thank you! I'll check this one
Sign In or Register to comment.