Releases: twotenstudio/eyworks-enquiry-form
Releases · twotenstudio/eyworks-enquiry-form
Release list
v3.0.0
What's Changed
- Multi-nursery support: nursery shortcode attribute (v3.0.0) by @twotenstudio in #3
Full Changelog: v2.12.0...v3.0.0
v2.12.0
You can now decide which fields are mandatory.
v2.11.0
All form fields are now required
Previously, only Child Name, Parent First Name, Email, Phone, and the consent checkbox were mandatory. The following fields are now also required:
- Child Date of Birth / Expected DOB
- Legal Gender
- Parent Last Name
- Postal Code
- Preferred Start Date
- How did you hear about us?
- Validation is enforced at all three layers: HTML attributes, client-side JavaScript, and server-side PHP. These fields are also now always included in the EYWorks API payload.
Fixed section title spacing
The "Child Details" heading now correctly sits flush at the top of the form container. Previously the CSS selector (:first-child) didn't match because a hidden input preceded the heading in the DOM.
v2.10.0
v2.8.0
v2.7.0
- Headings changed from
to
- Border-bottom removed from .eyworks-section-title
- Sub-labels (First, Last) now styled to display below their inputs — small grey text with margin-top: 4px
v2.6.0
New setting: "Log Submissions Locally" (under Settings > Data Storage)
- Checkbox on (default) — submissions saved to WP database, visible in Tour Enquiries dashboard, exportable as CSV
- Checkbox off — DB insert is skipped entirely, but submissions still go to EYWorks API and email notifications still fire
v2.5.0
- Version 2.5.0 in the code now matches the GitHub release
- Original styling restored for all fields
- GF name fieldsets kept for Child Name and Parent Name only
- Fallback CSS removed
- Custom CSS textarea still available in Settings for your tweaks
v2.4.0
Custom CSS
- New Appearance section on the Settings page with a CSS textarea
- Users can enter custom CSS (e.g. .eyworks-submit { background: #333; }) to override default form styles
- Styles are output via wp_add_inline_style so they load after the base stylesheet and are properly scoped
- Input is sanitized with wp_strip_all_tags to prevent script injection