function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
lakshya agrawallakshya agrawal 

how to set the logic that if someone save 3 after 1 gives an error and not save the record( means that after 1 ,2 should come only??

logic in lwc??
SwethaSwetha (Salesforce Developers) 
HI Lakshya,
Your requirement is not clear. Can you clarify what entity you are referring to by 1,2,3? Thanks
lakshya agrawallakshya agrawal
User-added image

here after 1 only 2 comes , if we try to save anything other than 2 after 1 it shows an error( same as 3 comes after 2).
we have to put the logic by lwc?? 
lakshya agrawallakshya agrawal
anyone please reply?