Session objective
Confirm the live Contact Us form works like the homepage intake form and that a submission directs to a thank-you page.
What was accomplished
- Verified the contact and homepage forms share the same base form implementation: contact-form id, sa-homepage-custom-form class, POST method, and the same /sal/v1/contact-intake REST endpoint.
- Verified the contact form uses the same homepage case category options: Case Type, Car Accident, Truck Accident, Motorcycle Accident, Rideshare Accident, Pedestrian Accident, Wrongful Death, and Other.
- Confirmed the contact form has the added Details textarea.
- Found and fixed a WP Rocket issue where the Details injector was delayed. The script now uses nowprocket.
- Found and fixed a delayed attribution-script conflict that reset contact success_redirect to same-page success. The contact-page script now forces /thank-you/ on hydration and submit.
- Verified the thank-you page exists and the browser-level submit flow now lands on https://aguiarinjurylawyers.com/thank-you/.
Backend evidence
Early QA created clearly labeled Codex QA Intake records before submit interception was added: a0CUV00006jCGd02AG, a0CUV00006jA11l2AC, and a0CUV00006jCims2AC. Live SOQL confirmed those records exist in litify_pm__Intake__c.
Caveat requiring follow-up
The test Intake records showed both first and last name as Codex QA Test, null Source Type, null Exact Source, and no matching Web_Form__c records. That means the form can submit and the contact page now redirects correctly, but the intake relay attribution/name-splitting path needs a separate repair pass.
Local evidence
- Submit/redirect QA log: /Users/samaguiar/Documents/Projects/admin/session_logs/contact-form-details-2026-05-28/contact-form-submit-redirect-qa-2026-05-28.md
- QA script: /Users/samaguiar/Documents/Projects/admin/session_logs/contact-form-details-2026-05-28/contact-form-submit-qa.js
- WordPress page ID: 56
- Latest contact page modified timestamp after redirect fix: 2026-05-28T22:23:13
Suggested next steps
A useful next pass would repair the intake relay mapping so public form submissions split names correctly, set Source Type to Internet, set a real Litify source/exact source, and create/link Web_Form__c records with page URL, referrer, GCLID, and UTM data. The three Codex QA Intake records should be cleaned up or marked as test data only with approval because they are production Litify records.