From 8c4279f9bbe7ec4681412865b999f2f4457d80ac Mon Sep 17 00:00:00 2001
From: Jake Vanderwerf <get@jakevanderwerf.ca>
Date: Tue, 10 Feb 2026 20:26:34 +0000
Subject: [PATCH] =legacy latest
---
forms/get-an-estimate.php | 30 ++++++++++++++++++++----------
1 files changed, 20 insertions(+), 10 deletions(-)
diff --git a/forms/get-an-estimate.php b/forms/get-an-estimate.php
index 1a8db32..d61a98c 100644
--- a/forms/get-an-estimate.php
+++ b/forms/get-an-estimate.php
@@ -11,28 +11,33 @@
'We\'ll get back to you as soon as we can - usually pretty quick (unless it\'s a Monday or a Tuesday)'
],
'email_subject' => 'New Estimate Request',
+ 'preheader' => 'Get your estimate with the team at Legacy. Respond to this email with additional details.',
'fields' => [
- 'first_name' => [
+ 'name' => [
'type' => 'text',
- 'label' => 'First Name',
+ 'label' => 'Your Name',
+ 'autocomplete'=> 'name',
'required' => true,
'section' => 'about_you',
],
- 'last_name' => [
- 'type' => 'text',
- 'label' => 'Last Name',
- 'required' => true,
- 'section' => 'about_you',
- ],
+// 'last_name' => [
+// 'type' => 'text',
+// 'label' => 'Last Name',
+// 'autocomplete' => 'family-name',
+// 'required' => true,
+// 'section' => 'about_you',
+// ],
'email' => [
'type' => 'email',
'label' => 'Email',
+ 'autocomplete' => 'email',
'required' => true,
'section' => 'about_you',
],
'phone' => [
'type' => 'tel',
'label' => 'Phone',
+ 'autocomplete' => 'tel',
'required' => true,
'section' => 'about_you',
],
@@ -48,7 +53,6 @@
],
'age' => [
'type' => 'text',
- 'subtype' => 'number',
'label' => 'How old is your tattoo?',
'section' => 'tattoo',
],
@@ -82,10 +86,16 @@
'section' => 'tattoo',
],
'photos' => [
- 'type' => 'gallery',
+ 'type' => 'upload',
'label' => 'Photo(s) of Tattoo',
+ 'multiple' => true,
'section' => 'tattoo',
'description' => 'Make sure we can get a sense of scale.'
+ ],
+ 'notes' => [
+ 'type' => 'textarea',
+ 'label' => 'Anything else to add?',
+ 'section' => 'tattoo',
]
]
];
--
Gitblit v1.10.0