{"id":2863,"date":"2019-10-21T16:05:06","date_gmt":"2019-10-21T23:05:06","guid":{"rendered":"https:\/\/anaheimelementary.org\/juarez\/report-an-absence\/"},"modified":"2025-05-08T11:31:49","modified_gmt":"2025-05-08T18:31:49","slug":"report-an-absence","status":"publish","type":"page","link":"https:\/\/anaheimelementary.org\/juarez\/report-an-absence\/","title":{"rendered":"Report an Absence"},"content":{"rendered":"\n<p class=\"py-2\">A parent or guardian must notify the school by phone, in person, or by written note with a satisfactory explanation for the absence.&nbsp; The explanation is required the day of or the day after the absence.&nbsp;<\/p>\n\n\n<div class=\"bg-white rounded-lg shadow-sm\">\n    <div class=\"p-2 md:p-6\">               \n        <div class=\"p-2 border border-gray-100 form-container bg-gray-50 md:p-4\" \n             x-data=\"contactForm('https:\/\/anaheimelementary.org\/juarez\/wp-json\/absence-form\/v1\/submit', 'f8119b02a9', 'absence-69dceeeea0bb5')\">\n            <form id=\"absence-69dceeeea0bb5\" class=\"contact-form\" @submit.prevent=\"submitForm\" enctype=\"multipart\/form-data\">\n               \n                <input type=\"hidden\" name=\"_wpnonce\" :value=\"restNonce\">\n                <input type=\"hidden\" name=\"csrf_token\" value=\"dc728226fe\">\n                <input type=\"hidden\" name=\"post_id\" value=\"2863\">                               \n                <!-- Student Information -->\n                <div>\n                    <h3 class=\"mb-2 text-xl font-semibold\">Student Information<\/h3>\n                <\/div>\n                \n                <div class=\"block md:flex md:flex-col gap-y-4\">\n                    <div class=\"block mb-4 md:flex md:items-center gap-x-5\">\n                        <div class=\"mb-4 md:mb-0 md:w-1\/2\">\n                            <label for=\"absence-69dceeeea0bb5-student-firstname\" class=\"block mb-2\">\n                                Student First Name <span class=\"font-bold text-red-600\">*<\/span>\n                            <\/label>\n                            <input \n                                type=\"text\" \n                                id=\"absence-69dceeeea0bb5-student-firstname\" \n                                name=\"student_first_name\" \n                                class=\"w-full p-2 border border-gray-300 rounded\" \n                                required \n                                x-model=\"formData.student_first_name\"\n                            >\n                        <\/div>\n                        \n                        <div class=\"md:w-1\/2\">\n                            <label for=\"absence-69dceeeea0bb5-student-lastname\" class=\"block mb-2\">\n                                Student Last Name <span class=\"font-bold text-red-600\">*<\/span>\n                            <\/label>\n                            <input \n                                type=\"text\" \n                                id=\"absence-69dceeeea0bb5-student-lastname\" \n                                name=\"student_last_name\" \n                                class=\"w-full p-2 border border-gray-300 rounded\" \n                                required \n                                x-model=\"formData.student_last_name\"\n                            >\n                        <\/div>\n                    <\/div>\n                    \n                    <div class=\"block mb-4 md:flex md:items-center gap-x-5\">\n                        <div class=\"mb-4 md:mb-0 md:w-1\/2\">\n                            <label for=\"absence-69dceeeea0bb5-student-teacher\" class=\"block mb-2\">\n                                Student's Teacher <span class=\"font-bold text-red-600\">*<\/span>\n                            <\/label>\n                            <input \n                                type=\"text\" \n                                id=\"absence-69dceeeea0bb5-student-teacher\" \n                                name=\"student_teacher\" \n                                class=\"w-full p-2 border border-gray-300 rounded\" \n                                required \n                                x-model=\"formData.student_teacher\"\n                            >\n                        <\/div>\n                        \n                        <div class=\"md:w-1\/2\">\n                            <label for=\"absence-69dceeeea0bb5-student-grade\" class=\"block mb-2\">\n                                Student's Grade Level <span class=\"font-bold text-red-600\">*<\/span>\n                            <\/label>\n                            <select \n                                id=\"absence-69dceeeea0bb5-student-grade\" \n                                name=\"student_grade_level\" \n                                class=\"w-full p-2 border border-gray-300 rounded\" \n                                required \n                                x-model=\"formData.student_grade_level\"\n                            >\n                                <option value=\"\" selected disabled>\u2014Please choose an option\u2014<\/option>\n                                <option value=\"Preschool\">Preschool<\/option>\n                                <option value=\"TK\">TK<\/option>\n                                <option value=\"K\">K<\/option>\n                                <option value=\"1\">1<\/option>\n                                <option value=\"2\">2<\/option>\n                                <option value=\"3\">3<\/option>\n                                <option value=\"4\">4<\/option>\n                                <option value=\"5\">5<\/option>\n                                <option value=\"6\">6<\/option>\n                            <\/select>\n                        <\/div>\n                    <\/div>\n                <\/div>\n                \n                <!-- Parent\/Guardian Information -->\n                <div class=\"mt-6\">\n                    <h3 class=\"mb-2 text-xl font-semibold\">Parent\/Guardian Information<\/h3>\n                <\/div>\n                \n                <div class=\"block mb-4 md:flex md:items-center gap-x-5\">\n                    <div class=\"mb-4 md:mb-0 md:w-1\/2\">\n                        <label for=\"absence-69dceeeea0bb5-parent-firstname\" class=\"block mb-2\">\n                            Your First Name <span class=\"font-bold text-red-600\">*<\/span>\n                        <\/label>\n                        <input \n                            type=\"text\" \n                            id=\"absence-69dceeeea0bb5-parent-firstname\" \n                            name=\"parent_first_name\" \n                            class=\"w-full p-2 border border-gray-300 rounded\" \n                            required \n                            x-model=\"formData.parent_first_name\"\n                        >\n                    <\/div>\n                    \n                    <div class=\"md:w-1\/2\">\n                        <label for=\"absence-69dceeeea0bb5-parent-lastname\" class=\"block mb-2\">\n                            Your Last Name <span class=\"font-bold text-red-600\">*<\/span>\n                        <\/label>\n                        <input \n                            type=\"text\" \n                            id=\"absence-69dceeeea0bb5-parent-lastname\" \n                            name=\"parent_last_name\" \n                            class=\"w-full p-2 border border-gray-300 rounded\" \n                            required \n                            x-model=\"formData.parent_last_name\"\n                        >\n                    <\/div>\n                <\/div>\n                \n                <div class=\"block mb-4 md:flex md:items-center gap-x-5\">\n                    <div class=\"mb-4 md:mb-0 md:w-1\/2\">\n                        <label for=\"absence-69dceeeea0bb5-parent-email\" class=\"block mb-2\">\n                            Your Email <span class=\"font-bold text-red-600\">*<\/span>\n                        <\/label>\n                        <input \n                            type=\"email\" \n                            id=\"absence-69dceeeea0bb5-parent-email\" \n                            name=\"parent_email\" \n                            class=\"w-full p-2 border border-gray-300 rounded\" \n                            required \n                            x-model=\"formData.parent_email\"\n                        >\n                    <\/div>\n                    \n                    <div class=\"md:w-1\/2\">\n                        <label for=\"absence-69dceeeea0bb5-parent-phone\" class=\"block mb-2\">\n                            Your Phone <span class=\"font-bold text-red-600\">*<\/span>\n                        <\/label>\n                        <input \n                            type=\"tel\" \n                            id=\"absence-69dceeeea0bb5-parent-phone\" \n                            name=\"phone\" \n                            class=\"w-full p-2 border border-gray-300 rounded\" \n                            required \n                            x-model=\"formData.phone\"\n                        >\n                    <\/div>\n                <\/div>\n                \n                <!-- Absence Information -->\n                <div class=\"mt-6\">\n                    <h3 class=\"mb-2 text-xl font-semibold\">Absence Information<\/h3>\n                <\/div>\n                \n                <div class=\"mb-4\">\n                    <label for=\"absence-69dceeeea0bb5-absence-date\" class=\"block mb-2\">\n                        Date of Absence <span class=\"font-bold text-red-600\">*<\/span>\n                    <\/label>\n                    <input \n                        type=\"date\" \n                        id=\"absence-69dceeeea0bb5-absence-date\" \n                        name=\"date_of_absence_text\" \n                        class=\"w-full p-2 border border-gray-300 rounded\" \n                        required \n                        x-model=\"formData.date_of_absence_text\"\n                    >\n                <\/div>\n                \n                <div class=\"mb-4\">\n                    <label for=\"absence-69dceeeea0bb5-absence-reason\" class=\"block mb-2\">\n                        Reason for Absence <span class=\"font-bold text-red-600\">*<\/span>\n                    <\/label>\n                    <textarea \n                        id=\"absence-69dceeeea0bb5-absence-reason\" \n                        name=\"reason_for_absence\" \n                        rows=\"5\" \n                        class=\"w-full p-2 border border-gray-300 rounded\" \n                        required \n                        x-model=\"formData.reason_for_absence\"\n                    ><\/textarea>\n                <\/div>\n                \n                <div class=\"mb-4\">\n                    <p class=\"mb-2\">If you have a doctor's note please attach it below.<\/p>\n                    <label for=\"absence-69dceeeea0bb5-attachment\" class=\"block mb-2 font-bold\">\n                        Attachments\n                    <\/label>\n                    <input \n                        type=\"file\" \n                        id=\"absence-69dceeeea0bb5-attachment\" \n                        name=\"attachment\" \n                        class=\"w-full p-2 border border-gray-300 rounded\"\n                        @change=\"handleFileChange\"\n                    >\n                    <div class=\"mt-2 file-info\" x-show=\"fileName\">\n                        <span x-text=\"fileName\" class=\"font-medium\"><\/span>\n                        <span class=\"ml-2 text-gray-600 file-size\" x-show=\"fileSize\">(<span x-text=\"fileSize\"><\/span>)<\/span>\n                    <\/div>\n                    <p class=\"mt-1 text-sm italic text-gray-600\">File size limit: 1mb. Accepted file types: jpg, png, pdf<\/p>\n                <\/div>\n                \n                <!-- hCaptcha Integration -->\n                <div class=\"mb-4\">\n                    <div class=\"h-captcha\" data-sitekey=\"45240a02-755a-453c-9aa8-affca75a778a\"><\/div>\n                <\/div>\n                \n                <div class=\"relative block w-full mt-6 mb-6\">\n                    <label class=\"flex items-start\">\n                        <input \n                            type=\"checkbox\" \n                            name=\"acceptance\" \n                            class=\"mt-1 mr-2\" \n                            required \n                            x-model=\"formData.acceptance\"\n                        >\n                        <span>I agree that AESD may email, call or text me by any number\/email address I have provided.<\/span>\n                    <\/label>\n                <\/div>\n                \n                <div class=\"block mt-6 mb-4\">\n                    <div x-show=\"!submitting\">\n                        <button \n                            type=\"submit\" \n                            class=\"w-full p-3 font-bold text-center text-white uppercase transition bg-blue-700 rounded hover:bg-blue-800\"\n                        >\n                            Submit Form\n                        <\/button>\n                    <\/div>\n                    \n                    <div x-show=\"submitting\">\n                        <div class=\"w-full p-3 my-5 text-lg font-bold text-center text-gray-600 bg-gray-300 rounded\">\n                            <div role=\"status\" class=\"flex justify-center\">\n                                <div class=\"w-6 h-6 mr-3 border-2 border-blue-700 rounded-full border-t-transparent animate-spin\"><\/div>\n                                <span class=\"cursor-default\">Sending...<\/span>\n                            <\/div>\n                        <\/div>\n                    <\/div>\n                    \n                    <div class=\"my-4\">\n                        <div x-show=\"successMessage\" x-text=\"successMessage\" class=\"p-4 mt-4 text-green-700 bg-green-100 border border-green-400 rounded\" x-transition><\/div>\n                        <div x-show=\"errorMessage\" x-text=\"errorMessage\" class=\"p-4 mt-4 text-red-700 bg-red-100 border border-red-400 rounded\" x-transition><\/div>\n                    <\/div>\n                <\/div>\n            <\/form>\n        <\/div>\n    <\/div>\n<\/div>\n\n<script>\ndocument.addEventListener('alpine:init', () => {\n    Alpine.data('contactForm', (restUrl, restNonce, formId) => ({\n        formData: {\n            student_first_name: '',\n            student_last_name: '',\n            student_teacher: '',\n            student_grade_level: '',\n            parent_first_name: '',\n            parent_last_name: '',\n            parent_email: '',\n            phone: '',\n            date_of_absence_text: '',\n            reason_for_absence: '',\n            acceptance: false,\n        },\n        restNonce: restNonce,\n        fileName: '',\n        fileSize: '',\n        submitting: false,\n        successMessage: '',\n        errorMessage: '',\n        \n       handleFileChange(event) {\n          const file = event.target.files[0];\n          if (file) {\n              \/\/ Check file type\n              const acceptedTypes = ['image\/jpeg', 'image\/jpg', 'image\/png', 'application\/pdf'];\n              if (!acceptedTypes.includes(file.type)) {\n                  this.errorMessage = 'Invalid file type. Please upload a jpg, png, or pdf file.';\n                  event.target.value = ''; \/\/ Clear the input\n                  return;\n              }\n              \n              \/\/ Check file size (1MB = 1048576 bytes)\n              if (file.size > 1048576) {\n                  this.errorMessage = 'File is too large. Maximum size is 1MB.';\n                  event.target.value = ''; \/\/ Clear the input\n                  return;\n              }\n              \n              this.fileName = file.name;\n              this.fileSize = this.formatFileSize(file.size);\n              this.errorMessage = '';\n          } else {\n              this.fileName = '';\n              this.fileSize = '';\n          }\n      },\n        \n        formatFileSize(bytes) {\n            if (bytes === 0) return '0 Bytes';\n            \n            const k = 1024;\n            const sizes = ['Bytes', 'KB', 'MB', 'GB'];\n            const i = Math.floor(Math.log(bytes) \/ Math.log(k));\n            \n            return parseFloat((bytes \/ Math.pow(k, i)).toFixed(2)) + ' ' + sizes[i];\n        },\n        \n        async submitForm() {\n            this.submitting = true;\n            this.successMessage = '';\n            this.errorMessage = '';\n            \n            const formElement = document.getElementById(formId);\n            const formData = new FormData(formElement);\n            \n            \/\/ Get hCaptcha response token\n            const hcaptchaResponse = hcaptcha.getResponse();\n            if (!hcaptchaResponse) {\n                this.errorMessage = 'Please complete the hCaptcha verification';\n                this.submitting = false;\n                return;\n            }\n            \n            \/\/ Add hCaptcha response to form data\n            formData.append('h-captcha-response', hcaptchaResponse);\n            \n            try {\n                const response = await fetch(restUrl, {\n                    method: 'POST',\n                    body: formData,\n                    headers: {\n                        'X-WP-Nonce': this.restNonce\n                    },\n                    credentials: 'same-origin'\n                });\n                \n                const data = await response.json();\n                \n                if (response.ok && data.success) {\n                    this.successMessage = data.message;\n                    this.formData.student_first_name = '';\n                    this.formData.student_last_name = '';\n                    this.formData.student_teacher = '';\n                    this.formData.student_grade_level = '';\n                    this.formData.parent_first_name = '';\n                    this.formData.parent_last_name = '';\n                    this.formData.parent_email = '';\n                    this.formData.phone = '';\n                    this.formData.date_of_absence_text = '';\n                    this.formData.reason_for_absence = '';\n                    this.formData.acceptance = false;\n                    this.fileName = '';\n                    this.fileSize = '';\n                    formElement.reset();\n                    \n                    \/\/ Reset hCaptcha\n                    hcaptcha.reset();\n                } else {\n                    this.errorMessage = data.message || 'There was a problem with your submission. Please try again.';\n                    \n                    \/\/ Reset hCaptcha on error\n                    hcaptcha.reset();\n                }\n            } catch (error) {\n                this.errorMessage = 'An error occurred. Please try again later.';\n                console.error('Form submission error:', error);\n                \n                \/\/ Reset hCaptcha on error\n                hcaptcha.reset();\n            } finally {\n                this.submitting = false;\n            }\n        }\n    }));\n});\n<\/script>\n\n<script src=\"https:\/\/js.hcaptcha.com\/1\/api.js\" async defer><\/script>\n\n\n\n<h2 class=\"wp-block-heading\">What is a satisfactory explanation for an absence or what is an excused absence?<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li><u>Illness&nbsp;<\/u>(After five days of consecutive or nine days of cumulative absence for medical reasons in one school year, the parent may be required to provide written verification from a physician to excuse the absences.)<\/li>\n\n\n\n<li><u>Quarantine<\/u>&nbsp;under the direction of a county or city health officer<\/li>\n\n\n\n<li><u>Medical<\/u>, dental, optometric, or chiropractic appointments<\/li>\n\n\n\n<li><u>Attending a funeral<\/u>&nbsp;of a member of his or her immediate family (absence cannot be more than one day if the service is conducted in California and not more than three days if it is conducted outside of California)<\/li>\n\n\n\n<li><u>Personal reasons<\/u>&nbsp;for example, court appointments, observance of a holiday or ceremony of his or her religion or attendance of a religious retreat<\/li>\n\n\n\n<li>Spending time with a member of the pupil\u2019s immediate family, who is an active duty member of the uniformed services who has been called to duty for, is on leave from, or has immediately returned from deployment.&nbsp;<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">What is not a satisfactory explanation for an absence or what is an unexcused absence?<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Sleeping in late or being tired<\/li>\n\n\n\n<li>Vacation or going out of town (If trips out of town cannot be scheduled during non-school days speak to someone in the school office about Independent Study)<\/li>\n\n\n\n<li>Siblings or other family members being sick or having medical appointments<\/li>\n\n\n\n<li>Unexpected obligations or emergencies<\/li>\n\n\n\n<li>Celebrating birthdays<\/li>\n<\/ul>\n\n\n\n<p class=\"py-2\">Please contact the school\u2019s attendance liaison with questions or concerns about your child\u2019s attendance. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<\/p>\n\n\n\n<p class=\"py-2\">See <a class=\"font-semibold text-blue-900 underline hover:text-gray-500\"  href=\"https:\/\/anaheimelementary.org\/parent-student-handbook\/\">Parent-Student Rights and Responsibilities Handbook<\/a> for more details about excused and unexcused absences.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">What does the law say about school attendance?<\/h2>\n\n\n\n<p class=\"py-2\">Compulsory attendance is required by California Education Code 46010 and mandates that all students ages six through 18 attend school regularly.&nbsp; A student with three or more unexcused absences or tardies in excess of 30 minutes violates this code and is considered a truant.&nbsp; Districts are required to refer habitually truant students to the School Attendance Review Board (SARB) for remediation.&nbsp; If the student continues to miss school after attendance at SARB, the student and\/or parents will be referred to the District Attorney for prosecution.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Why is it important to attend school?<\/h2>\n\n\n\n<p class=\"py-2\"><strong>Every day counts<\/strong>&nbsp;in a child's education.&nbsp; Each day a student misses school, he gets more than two days behind his peers because he must make up missed learning and catch up with new learning at the same time.&nbsp; Every day a student is in school, she raises her chance to score well on tests.&nbsp; Every day a student goes to school, he learns a little more about responsibility.&nbsp;&nbsp;<strong>Every day counts<\/strong>&nbsp;toward funding for school supplies too.&nbsp; Every day a student misses school, even for excused absences, the school loses about $35 in income.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">What does Anaheim Elementary School District do to prevent attendance problems?<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Phone calls to verify absences<\/li>\n\n\n\n<li>Home visits to discuss attendance problems<\/li>\n\n\n\n<li>Letters to notify parents of excessive absences<\/li>\n\n\n\n<li>Parent education meetings with the Orange County District Attorney<\/li>\n\n\n\n<li>Student\/parent meetings with administrator or attendance liaison<\/li>\n\n\n\n<li>School Attendance Review Board (SARB) hearing<\/li>\n\n\n\n<li>If all else fails, referral to District Attorney<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">What can parents do to prevent attendance problems?<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Stress with your child the importance of regular school attendance.<\/li>\n\n\n\n<li>Teach your child to be on time for school each day.<\/li>\n\n\n\n<li>Maintain reasonable and regular bedtime hours on school nights.<\/li>\n\n\n\n<li>Schedule&nbsp;doctor\/dentist appointments before or after school hours.<\/li>\n\n\n\n<li>Bring your child to school before&nbsp;and\/or after daytime doctor appointments<\/li>\n\n\n\n<li>Plan family vacations when your child is&nbsp;off track.<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p class=\"py-2\">A parent or guardian must notify the school by phone, in person, or by written note with a satisfactory explanation for the absence.&nbsp; The explanation is required the day of or the day after the absence.&nbsp; What is a satisfactory explanation for an absence or what is an excused absence? What is not a satisfactory [&hellip;]<\/p>\n","protected":false},"author":3887,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"aesd-page-school.php","meta":{"_acf_changed":false,"_stopmodifiedupdate":false,"_modified_date":"","_relevanssi_hide_post":"","_relevanssi_pin_for_all":"","_relevanssi_pin_keywords":"","_relevanssi_unpin_keywords":"","_relevanssi_related_keywords":"","_relevanssi_related_include_ids":"","_relevanssi_related_exclude_ids":"","_relevanssi_related_no_append":"","_relevanssi_related_not_related":"","_relevanssi_related_posts":"27214,1606,3064,2348,27221,26196","_relevanssi_noindex_reason":"","footnotes":""},"class_list":["post-2863","page","type-page","status-publish","hentry"],"acf":[],"publishpress_future_action":{"enabled":false,"date":"2026-04-20 06:26:06","action":"change-status","newStatus":"draft","terms":[],"taxonomy":"","extraData":[]},"publishpress_future_workflow_manual_trigger":{"enabledWorkflows":[]},"_links":{"self":[{"href":"https:\/\/anaheimelementary.org\/juarez\/wp-json\/wp\/v2\/pages\/2863","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/anaheimelementary.org\/juarez\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/anaheimelementary.org\/juarez\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/anaheimelementary.org\/juarez\/wp-json\/wp\/v2\/users\/3887"}],"replies":[{"embeddable":true,"href":"https:\/\/anaheimelementary.org\/juarez\/wp-json\/wp\/v2\/comments?post=2863"}],"version-history":[{"count":11,"href":"https:\/\/anaheimelementary.org\/juarez\/wp-json\/wp\/v2\/pages\/2863\/revisions"}],"predecessor-version":[{"id":4269,"href":"https:\/\/anaheimelementary.org\/juarez\/wp-json\/wp\/v2\/pages\/2863\/revisions\/4269"}],"wp:attachment":[{"href":"https:\/\/anaheimelementary.org\/juarez\/wp-json\/wp\/v2\/media?parent=2863"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}