the contact form is huge — collapse non-essential fields behind 'More details'

Base site
Category
contact
Tools called
3
Duration
111.6s
HTML diff
Changed
Example ID
CC-018

What changed: contact

Before
Before — contact
After
After — contact
View full page before/after
Full page · Before
Before (full page)
Full page · After
After (full page)

Agent's response

I’ve updated the contact form on the home page so that only the essential fields (Name and Email) are visible by default. The extra fields—Business Name, What you need help with, and your message—are now hidden behind a “More details” toggle using a `<details>` element. The form still works as before; clicking “More details” expands the additional fields. Drafts are ready for your review. Let me know if you’d like any further tweaks!

Tool calls

list_sections step 1
{
  "page": "index.html"
}
read_section step 2
{
  "page": "index.html",
  "section": "contact"
}
update_section step 3
{
  "page": "index.html",
  "section": "contact",
  "html": "<section id=\"contact\" class=\"py-24 sm:py-32 bg-surface\" data-flare-id=\"905c28d3671f\">\n    <div class=\"max-w-6xl mx-auto px-5 sm:px-8\">\n      <div class=\"grid lg:grid-cols-2 gap-12 lg:gap-16\">\n        <!-- Info -->\n        <div class=\"reveal\">\n          <span class=\"text-xs font-semibold tracking-[0.15em] uppercase text-accent mb-4 block\">Get in Touch</span>\n          <h2 class=\"font-display text-3xl sm:text-4xl font-semibold text-primary leading-tight mb-5\">\n            Ready to hand over the books?\n