How To Read An FIR In India: FIR Format, Sections, Rights And Legal Red Flags
EduLaw EditorialAdvocate PlaybookLearn how to read an FIR in India with a practical advocate-style breakdown of FIR format, offence sections, accused details, timeline gaps, police procedure, legal red flags and real examples.
Home › Advocate Playbook › How To Read An FIR Advocate Playbook 002 How To Read An FIR: The First Document That Can Make Or Break A Criminal Case A practical, source-checked guide for advocates, law students, litigants, journalists and ordinary citizens on reading an FIR in India under the new criminal laws. Before bail, before trial, before headlines, every criminal case begins with one document: the FIR. EduLaw Editorial 12 min read Updated 3 June 2026 What are you reading this for? I am a law student → I am an advocate → I am an accused person → I am a complainant → I am researching a case → On this page ▾ 1. Introduction 2. What is an FIR? 3. Why an FIR matters 4. FIR under India's new criminal laws 5. FIR vs complaint vs NCR vs chargesheet 6. Anatomy of an FIR 7. Reading the FIR number, date and station 8. Reading the facts section 9. Reading the sections added 10. Spotting exaggeration or weak drafting 11. How lawyers read an FIR for bail 12. How lawyers read an FIR for quashing 13. How complainants should read an FIR 14. How accused persons should read an FIR 15. Offence-specific FIR checks 16. Fictional sample FIR with breakdown 17. Common red flags + Red Flag Checker 18. Citizen Rights Box 19. Advocate Playbook Checklist 20. Is an FIR evidence by itself? 21. FAQs 22. Conclusion 23. Disclaimer 1. Introduction An FIR looks like a routine form. In practice it is the spine of a criminal case. The earliest version of events, the names, the timing and the sections recorded in those few paragraphs will shape everything that follows: the investigation, the arrest, the bail hearing and the trial. This guide breaks down how to actually read an FIR the way a careful criminal lawyer does, line by line, looking for what is said, what is missing, and where the allegations and the law do not quite match. The legal provisions are checked against the Bharatiya Nagarik Suraksha Sanhita, 2023 (BNSS) , the Bharatiya Nyaya Sanhita, 2023 (BNS) , the Bharatiya Sakshya Adhiniyam, 2023 (BSA) and leading Supreme Court judgments. Every example here is fictional and clearly labelled. 2. What is an FIR? Short answer An FIR (First Information Report) is the written record of the first information the police receive about a cognizable offence . It is registered under Section 173 BNSS (earlier Section 154 CrPC), sets the criminal law in motion, and is given to the informant free of cost. It is not, by itself, proof of guilt. The term "First Information Report" does not appear in the statute itself; it is the popular name for the information recorded under Section 173 BNSS in cognizable cases. The defining features are that it relates to a cognizable offence, it is the first information in point of time, it is reduced to writing and read over to the informant, and it is signed by the person giving it. Under the new law, information given by electronic communication must be taken on record and signed by the informant within three days. 3. Why an FIR matters Short answer An FIR matters because it fixes the earliest version of events, triggers investigation, and becomes a reference point against which every later statement is compared for consistency. The FIR is valuable precisely because it is early. It is recorded before parties have had time to consult, embellish or coordinate. That is why courts attach weight to what it does and does not contain. A detail present in the FIR strengthens later evidence; a major fact missing from it can be used to question whether that fact is an afterthought. For the accused, the FIR is often the first chance to see exactly what is alleged and to plan a defence, bail strategy or quashing petition. 4. FIR under India's new criminal laws Short answer From 1 July 2024, the FIR for cognizable offences is governed by Section 173 BNSS . It introduces statutory e-FIR for information sent electronically, formal recognition of Zero FIR , and a limited preliminary enquiry for offences punishable with three to less than seven years. The substance of FIR registration carries over from the old CrPC, but BNSS adds important features. Section 173(1) allows information to be given orally or by electronic communication; electronic information must be signed within three days. Section 173(3) permits, for an offence punishable with three years or more but less than seven years, the officer in charge to either proceed directly or, with the prior permission of a senior officer, conduct a preliminary enquiry within fourteen days to ascertain whether a prima facie case exists. For more serious offences, registration remains the default. Offences are now defined under the BNS, 2023, so the section numbers you see in modern FIRs are BNS sections, not the old IPC numbers. Evidence is governed by the BSA, 2023. Lalita Kumari v. Government of Uttar Pradesh, (2014) 2 SCC 1. A Constitution Bench held that registration of an FIR is mandatory under Section 154 CrPC (now Section 173 BNSS) if the information discloses a cognizable offence, and that a preliminary enquiry is permissible only in limited categories such as matrimonial, commercial, medical negligence, corruption and abnormally delayed cases. 5. FIR vs complaint vs NCR vs GD entry vs chargesheet Short answer A complaint is an allegation made to a Magistrate; an NCR is the record of a non-cognizable offence the police cannot investigate without a Magistrate's order; a GD (General Diary) entry is a station diary note; an FIR is the record of a cognizable offence that triggers investigation; a chargesheet is the final police report filed after investigation. Complaint: Under BNSS, a "complaint" is an allegation made to a Magistrate (not the police) with a view to taking action. A police FIR is not the same thing. NCR (Non-Cognizable Report): Recorded under Section 174 BNSS for non-cognizable offences. The police cannot investigate or arrest without a Magistrate's order. GD / station diary entry: A routine record of station activity. A general diary entry about an incident is not the same as an FIR. FIR: Recorded under Section 173 BNSS for cognizable offences. It sets the criminal law in motion and authorises investigation. Chargesheet (police report): Filed under Section 193 BNSS at the end of investigation, stating whether a case is made out and against whom. 6. Anatomy of an FIR Short answer A standard FIR contains the police station and district, the FIR number and date, the date, time and place of occurrence, the informant's details, the accused details, the offence sections, a brief statement of facts, the action taken, and the signature or authentication of both informant and officer. Use the labelled mock below to recognise each part. (Illustrative only.) FIRST INFORMATION REPORT · SAMPLE FORMAT (FICTIONAL) Police Station / District PS Lake Town, District North FIR No. & Year 0142 / 2026 Date & Time of FIR 14 Mar 2026, 21:40 hrs Date, Time & Place of Occurrence 12 Mar 2026, ~22:00 hrs, near Sector 7 market Informant / Complainant Details Name, age, address, contact Accused Details Named, described, or "unknown persons" Offence Sections Relevant BNS sections (and special Acts) Brief Facts / Contents The informant's narrative of the incident Action Taken FIR registered, investigation taken up Signature / Authentication Informant signature & officer in charge 7. How to read the FIR number, date, time and police station Short answer Compare the date and time of occurrence with the date and time of registration . The gap between them is the "delay", and an unexplained delay is one of the first things a lawyer probes. The FIR number and year confirm the case is registered and traceable. The police station and district tell you about jurisdiction , which matters because the place of occurrence should fall within that station's area unless it is a Zero FIR. Most importantly, two timelines sit side by side: when the offence is said to have happened, and when it was reported. Why delay in an FIR matters Delay is not fatal by itself. Courts accept that victims of trauma, especially in sexual offences, may delay reporting for genuine reasons. But an unexplained delay invites scrutiny: it can suggest deliberation, consultation or fabrication. The question is always whether the delay is satisfactorily explained, not merely whether it exists. 8. How to read the facts section (the informant's version) Short answer Read the facts for who did what, when, where and how, and note what is specific versus what is vague. Identify the role attributed to each accused, the named witnesses, any motive, and any reference to medical, digital or recovered evidence. The facts section is the heart of the FIR. Read it asking: is the sequence of events coherent and time-stamped, or is it a blur? Is a specific role attached to each accused, or is everyone lumped together with omnibus phrases like "all of them assaulted me"? Specific allegations are harder to dislodge; vague, collective allegations are weaker. Identifying the accused, unknown accused and mistaken identity Accused can be named, described, or recorded as "unknown persons". When the accused are named, check how the informant knows them and whether prior enmity is disclosed, which can cut both ways. When the accused are unknown, later identification becomes a live issue and the FIR cannot itself fix identity. Watch for omnibus naming of an entire family, a recurring concern courts have flagged in matrimonial and dowry cases. 9. How to read the sections mentioned in the FIR Short answer The sections in an FIR are tentative labels. What matters is whether the facts alleged actually satisfy the ingredients of those offences. Courts look at substance, not labels. For each section listed, ask three questions: what offence is it under the BNS or a special Act; what are its ingredients; and do the alleged facts make out those ingredients. Then check the nature of each offence using the BNSS classification table: is it cognizable or non-cognizable, and is it bailable or non-bailable. This single check drives bail strategy. Cognizable vs non-cognizable offence In a cognizable offence the police can register an FIR and investigate without a Magistrate's order, and can arrest without a warrant in appropriate cases. In a non-cognizable offence the police record an NCR and cannot investigate without the Magistrate's order under Section 174 BNSS. The classification of each section appears in the First Schedule to the BNSS. Difference between facts alleged and offences added A frequent gap is between the story and the sections. The narrative may describe a heated property dispute, while the sections include grave charges that the facts do not support. The facts are what the informant says; the sections are a legal characterisation that can be tested, corrected and even quashed. 10. How to spot exaggeration or weak drafting Short answer Exaggeration shows up as a mismatch between mild facts and grave sections, as omnibus allegations against many people, as missing specifics on time, place and role, and as serious sections added without any supporting detail. Lawyers test whether sections are exaggerated by mapping each section's ingredients against the facts. If a section requiring a specific intention or a particular weapon is listed but the facts mention neither, the section may be inflated. Equally, generic phrases that could apply to anyone, the absence of named witnesses, and silence on medical or recovered evidence all signal thin drafting that may not survive investigation. 11. How lawyers read an FIR for bail Short answer For bail, a lawyer first checks whether the offences are bailable or non-bailable and their punishment range, then the specific role attributed, the strength of the allegations, and whether custodial investigation is genuinely required. Bail analysis begins with classification. If the offences are bailable, bail is a matter of right. If non-bailable, the court weighs the gravity, the role of the particular accused, the likelihood of tampering or absconding, and the stage of investigation. The role attribution in the FIR is decisive: an accused shown only in a vague, collective allegation stands differently from one assigned a specific overt act. Where arrest is apprehended before registration crystallises, anticipatory bail is considered. 12. How lawyers read an FIR for quashing Short answer For quashing, a lawyer checks whether the FIR, taken at face value, discloses any offence at all, and whether the case falls within the recognised categories where a High Court may quash under Section 528 BNSS . A High Court exercises inherent powers under Section 528 BNSS (the successor to Section 482 CrPC) to prevent abuse of process and secure the ends of justice. The classic framework is the seven categories in Bhajan Lal, applied where the allegations even if accepted do not constitute an offence, where they are absurd, or where the proceeding is manifestly mala fide. State of Haryana v. Bhajan Lal, 1992 Supp (1) SCC 335. Lays down seven illustrative categories in which a High Court may quash an FIR or criminal proceeding, including where the allegations do not prima facie constitute any offence and where the proceeding is manifestly attended with mala fides. T.T. Antony v. State of Kerala, (2001) 6 SCC 181. A second FIR in respect of the same incident and same facts is generally impermissible; the first FIR is the one that sets the law in motion. A useful check when a person faces multiple FIRs on one set of facts. 13. How complainants should read an FIR Short answer A complainant should confirm that the recorded version matches what they actually said, that the right sections are applied, that names, time, place and witnesses are correctly captured, and that they have received a free signed copy with the FIR number. If the FIR understates the offence, leaves out a key fact, or names the wrong person, the time to raise it is early. The informant is entitled to a free copy under Section 173 BNSS; read it carefully, because errors set in motion an investigation that may not match the reality. If the police decline to register an FIR for a cognizable offence, the recourse is to escalate to the Superintendent of Police and, if needed, to the Magistrate. Aleque Padamsee v. Union of India, (2007) 6 SCC 171. If the police fail to register an FIR disclosing a cognizable offence, the aggrieved person can approach the Magistrate, who can direct registration and investigation. Satvinder Kaur v. State (Govt. of NCT of Delhi), (1999) 8 SCC 728. The police station receiving information has the duty to register and investigate; questions of territorial jurisdiction do not prevent registration, and the investigating officer can transfer the case to the appropriate jurisdiction. This underpins the Zero FIR concept. Zero FIR A Zero FIR is registered at any police station regardless of where the offence occurred, numbered as "zero", and then forwarded to the station with territorial jurisdiction. It exists so that a victim is never turned away merely because they walked into the "wrong" station, and it is now recognised under Section 173 BNSS. Right to a free copy of the FIR and e-FIR The informant is entitled to a copy of the FIR free of cost. In most states FIRs are also uploaded to the police portal, and several states allow e-FIR registration for specified offences with the requirement that an electronically reported complaint be signed within three days. 14. How accused persons should read an FIR Short answer An accused should check the exact role attributed to them, the bailable or non-bailable nature of the sections, the delay, the vagueness of allegations, the jurisdiction, and whether any medical, digital or recovery evidence is mentioned. For an accused, the FIR is the map of the case against them. Read it for the worst-case version, then for its weaknesses: is your role specific or are you swept up in a collective allegation; is there prior enmity that explains the complaint; is the timeline plausible; are the sections inflated. These observations feed directly into decisions on bail, anticipatory bail, cooperation with investigation, and any quashing petition. 15. Offence-specific FIR checks Short answer Different offences demand different reading. Sexual offence FIRs turn on the survivor's account and medical corroboration; fraud FIRs turn on documents and the dishonest inducement; assault and murder FIRs turn on injuries and weapons; dowry and cybercrime FIRs have their own markers. Sexual offence FIR Focus on the survivor's narrative, which is itself capable of carrying weight if it inspires confidence. Delay is often explained by trauma and stigma and is not by itself fatal. Check whether medical examination is referred to, whether the statement was recorded sensitively, and whether the relationship and sequence are described. These cases require particular care and dignity; sensationalising the facts is inappropriate. Financial fraud FIR The core question is dishonest inducement and wrongful loss. Look for the documents relied on, the specific transactions, dates and amounts, and the distinction between a mere breach of contract (a civil dispute) and criminal cheating. Vague allegations of "fraud" without transactional detail are weak. Assault and murder FIR Check the nature of injuries, the weapon, the medical or post-mortem reference, the named eyewitnesses, and whether the role of each accused is specific. The medical evidence is the spine of a body-injury case. Dowry and matrimonial FIR Watch for omnibus allegations naming the entire family without specific roles, the gap between the marriage and the complaint, and whether specific instances with dates are pleaded. Courts have repeatedly cautioned against generalised, role-less accusations. Cybercrime FIR Check whether digital identifiers are recorded: URLs, account handles, transaction IDs, device or IP details, screenshots and timestamps. The quality of the digital trail referred to in the FIR shapes the investigation. Property offence FIR Distinguish a genuine criminal offence (theft, criminal trespass, mischief) from a civil title or possession dispute dressed up as a crime. Look for the description and value of property, and any seizure or recovery referred to. 16. "Read This FIR Like A Lawyer": fictional sample with breakdown Short answer Below is a fictional FIR summary. Hover or tap the highlighted phrases on desktop; the labelled breakdown lists each issue a lawyer would flag. FICTIONAL SAMPLE FIR (FOR ILLUSTRATION ONLY) "On 2 March 2026 at around 11 pm the informant states that all the accused persons came to the disputed plot and assaulted him. The informant does not name any witness but says people were present. No injury report is mentioned. The FIR was lodged at PS Riverside, although the plot lies in the area of another police station . The informant adds that the accused had a long-running land dispute with him . Sections for grievous hurt with a deadly weapon have been added." TIMELINE GAP The incident is dated 2 March but the FIR is registered on 19 March. A seventeen-day unexplained delay invites questions about deliberation. SECTION MISMATCH Grave sections for grievous hurt with a deadly weapon appear, yet the facts mention no weapon, no specific injury and no medical report. MISSING WITNESS The informant says people were present but names no eyewitness, despite an open location where witnesses would be expected. VAGUE ALLEGATION "All the accused assaulted him" is an omnibus allegation with no individual role attributed. JURISDICTION The FIR is at one station while the plot may fall under another; this can be a Zero FIR issue or a transfer issue. MEDICAL GAP A grievous-hurt allegation with no injury or medical reference is internally weak. PRIOR ENMITY The disclosed land dispute is a possible motive that can support either side and must be assessed, not ignored. This is a teaching example only. It is not a real case and does not reflect any actual person or proceeding. 17. Common red flags + FIR Red Flag Checker Short answer The most common red flags are unexplained delay, omnibus or role-less allegations, sections that do not match the facts, vague place of occurrence, no named witnesses, no medical or digital reference, internal contradictions, and an incomplete or unsigned FIR copy. Use the interactive checker below as you read any FIR. Tick what is present and note what is missing. Is there an unexplained delay between occurrence and registration? Are the accused named clearly and individually? Do the sections actually match the facts alleged? Is the place of occurrence specific? Is a motive or prior enmity mentioned? Is medical or injury evidence referred to (where relevant)? Are witnesses named? Are there internal contradictions in the narrative? Is the FIR copy complete and signed? Has a complaint actually been converted into an FIR (not just an NCR or GD entry)? 0 of 10 reviewed Copy checklist Reset 18. Citizen Rights Box Short answer Key rights connected to an FIR include a free copy of the FIR, legal counsel, protection against illegal detention, the right to know the grounds of arrest, medical examination where relevant, and access to a Magistrate or High Court in appropriate cases. Your rights around an FIR Free copy of the FIR to the informant under Section 173 BNSS. Right to legal counsel of your choice. Protection against illegal detention , with arrest only as permitted by law. Right to know the grounds of arrest , a constitutional safeguard under Article 22. Right to medical examination in relevant cases, including for the arrested person. Right to approach the Magistrate or the High Court , for example to seek registration, bail or quashing, in appropriate cases. 19. Advocate Playbook Checklist Short answer Before advising on bail, anticipatory bail, quashing or defence strategy, work through offence sections, punishment, nature of offence, timeline, role attribution, specific allegations, evidence referred, prior complaints, digital and medical evidence, recovery and witnesses. Offence sections identified (BNS / special Act) Punishment range for each section noted Cognizable or non-cognizable nature confirmed Bailable or non-bailable nature confirmed Timeline of occurrence vs registration examined Role attribution to each accused assessed Specific vs vague allegations separated Evidence mentioned in FIR catalogued Prior complaints or cross-FIRs checked Digital evidence references noted Medical / injury report referred to? Recovery or seizure mentioned? Witnesses named and reachable? 0 of 13 reviewed Copy checklist Reset 20. Is an FIR evidence by itself? FIR vs witness statement vs chargesheet Short answer An FIR is not substantive evidence by itself. It can be used to corroborate or contradict its maker, to show the earliest version, and to prove that the law was set in motion, but guilt is decided on the evidence led at trial. This is one of the most misunderstood points. The FIR records information; it does not prove the truth of that information. Under the law of evidence it serves limited purposes: corroborating the informant if they testify, contradicting them if their court testimony differs, showing the earliest version of events, and establishing the date and time the criminal law was set in motion. FIR vs witness statement A witness statement recorded by the police during investigation (the successor to a Section 161 CrPC statement, now under Section 180 BNSS) is also not substantive evidence; it can be used mainly to contradict that witness in court. The FIR and such statements are investigative material, not proof of guilt. FIR vs chargesheet The FIR is the first version at the very start; the chargesheet under Section 193 BNSS is the considered conclusion after investigation, listing the evidence the prosecution intends to rely on. Sections in the FIR are tentative; the chargesheet reflects the police's final view, which the court then tests at the charge stage and at trial. Note. The use of an FIR for corroboration and contradiction, and the rule that statements to the police are not substantive evidence, are well settled and now reflected in the Bharatiya Sakshya Adhiniyam, 2023 and Section 180 BNSS. 21. Frequently asked questions What is an FIR? + An FIR is the written record of the first information the police receive about a cognizable offence, registered under Section 173 BNSS. It sets the criminal law in motion but is not, by itself, substantive evidence. How do I read an FIR? + Check the station and FIR number, compare the date of occurrence with the date of registration, read the informant's version for who-what-when-where-how, identify the accused and their roles, examine the offence sections against the facts, and note witnesses and any medical or digital evidence. Can an FIR be changed? + The original recorded FIR cannot be substituted once registered, but the police may add or drop sections during investigation based on evidence. The final position appears in the chargesheet under Section 193 BNSS. Is an FIR evidence in court? + No, not by itself. It can corroborate or contradict its maker and show the earliest version, but guilt is decided on the evidence led at trial. Can an FIR be quashed? + Yes. A High Court can quash an FIR under its inherent powers in Section 528 BNSS, applying the Bhajan Lal categories, for example where the allegations do not disclose any offence or the proceeding is an abuse of process. Can the police refuse to register an FIR? + For a cognizable offence, registration is mandatory under Lalita Kumari (2014). A preliminary enquiry is allowed only in limited categories and, for offences of three to less than seven years, under Section 173(3) BNSS with senior approval. What is a Zero FIR? + A Zero FIR is registered at any police station regardless of jurisdiction, numbered as zero, and transferred to the station that actually has jurisdiction. It is recognised under Section 173 BNSS. Can I get a copy of an FIR online? + In most states FIRs are uploaded to the police portal and a free copy is given to the informant. Many states also allow e-FIR for specified offences, with the electronic complaint to be signed within three days. What should an accused check in an FIR? + The specific role attributed, the bailable or non-bailable nature of the sections, the delay, the vagueness of allegations, the jurisdiction, and any reference to medical, digital or recovery evidence. What should a complainant check in an FIR? + That the recorded version matches their statement, that the correct sections are applied, that names, place, time and witnesses are accurate, and that a free signed copy with the FIR number is received. Can wrong sections be added in an FIR? + Yes. Sections in an FIR are tentative and can be wrongly or excessively applied. Courts look at the substance of the allegations, and the correct characterisation is tested through investigation, charge and trial. What happens after an FIR is registered? + The police investigate, record statements, may arrest and recover material, and finally file a chargesheet or a closure report. The accused may seek bail or, in appropriate cases, anticipatory bail or quashing. 22. Conclusion Reading an FIR is less about reading more words and more about reading the right things: the gap between occurrence and registration, the gap between facts and sections, the gap between a named role and an omnibus allegation, and the gap between what is claimed and what evidence is referred to. Whether you are a student, an advocate, a litigant or a journalist, those gaps are where the case is genuinely won, lost or, just as often, exaggerated. No checklist guarantees an outcome, and criminal facts vary from case to case. But a disciplined reading of the FIR, anchored in the BNSS, the BNS and the leading judgments, is the foundation every later step is built on. EL EduLaw Editorial Legal explainers built on primary sources: the BNSS, BNS, BSA and verified Supreme Court and High Court judgments. Part of the Advocate Playbook series. 23. Disclaimer Disclaimer. This article is for legal education only. It is not legal advice. Criminal law facts vary from case to case, statutory provisions and case law evolve, and procedure can differ between states. All examples are fictional and do not reflect any real person or proceeding. Always consult a qualified advocate before acting on an FIR. EduLaw · Advocate Playbook 002 · Legal education, not legal advice. // Progress bar var bar=document.getElementById('progress-bar'); window.addEventListener('scroll',function(){ var h=document.documentElement; var scrolled=(h.scrollTop)/(h.scrollHeight-h.clientHeight)*100; bar.style.width=scrolled+'%'; },{passive:true}); // Reading time (rough) (function(){ var words=document.querySelector('article').innerText.trim().split(/\s+/).length; var mins=Math.max(1,Math.round(words/220)); document.getElementById('read-time').textContent=mins+' min read'; })(); // Persona buttons document.querySelectorAll('.persona-btn').forEach(function(b){ b.addEventListener('click',function(){ var t=document.querySelector(this.getAttribute('data-target')); if(t){t.scrollIntoView({behavior:'smooth',block:'start'});} }); }); // TOC collapse document.getElementById('toc-toggle').addEventListener('click',function(){ document.getElementById('toc-list').classList.toggle('collapsed'); }); // FAQ accordion document.querySelectorAll('.faq-q').forEach(function(q){ q.addEventListener('click',function(){ var open=this.getAttribute('aria-expanded')==='true'; this.setAttribute('aria-expanded',!open); var a=this.nextElementSibling; a.classList.toggle('open',!open); this.querySelector('.ic').textContent=open?'+':'+'; }); }); // Checklist scoring function updateScore(id){ var box=document.getElementById(id); var boxes=box.querySelectorAll('input[type=checkbox]'); var done=0; boxes.forEach(function(c){ if(c.checked){done++;c.closest('label').querySelector('span').classList.add('done');} else{c.closest('label').querySelector('span').classList.remove('done');} }); var scoreEl=id==='redflag-checklist'?document.getElementById('rf-score'):document.getElementById('pb-score'); scoreEl.textContent=done+' of '+boxes.length+' reviewed'; } ['redflag-checklist','playbook-list'].forEach(function(id){ var box=document.getElementById(id); if(box){box.addEventListener('change',function(){updateScore(id);});} }); function resetChecklist(id){ var box=document.getElementById(id); box.querySelectorAll('input[type=checkbox]').forEach(function(c){c.checked=false;}); updateScore(id); } function copyChecklist(id,title){ var box=document.getElementById(id); var lines=[title,'']; box.querySelectorAll('label').forEach(function(l){ var c=l.querySelector('input'); if(c){lines.push((c.checked?'[x] ':'[ ] ')+l.querySelector('span').textContent.trim());} }); var text=lines.join('\n'); var msgEl=id==='redflag-checklist'?document.getElementById('rf-copied'):document.getElementById('pb-copied'); navigator.clipboard.writeText(text).then(function(){ msgEl.textContent='Checklist copied to clipboard.'; setTimeout(function(){msgEl.textContent='';},2500); }).catch(function(){ msgEl.textContent='Copy failed. Select and copy manually.'; }); }