From 76d68c97f572120dc75d0501cc82acf4022d6b33 Mon Sep 17 00:00:00 2001
From: Jake Vanderwerf <get@jakevanderwerf.ca>
Date: Tue, 23 Dec 2025 20:14:14 +0000
Subject: [PATCH] =legacy rebrand finished

---
 forms/nlp.php |   16 +++++++++-------
 1 files changed, 9 insertions(+), 7 deletions(-)

diff --git a/forms/nlp.php b/forms/nlp.php
index 5bf3ede..798555c 100644
--- a/forms/nlp.php
+++ b/forms/nlp.php
@@ -15,6 +15,7 @@
         'fields'        => [
             'first_name'    => [
                 'type'  => 'text',
+                'autocomplete' => 'given-name',
                 'label' => 'First Name',
                 'required' => true,
                 'section'   => 'about_you',
@@ -22,6 +23,7 @@
             'last_name'     => [
                 'type'  => 'text',
                 'label' => 'Last Name',
+                'autocomplete'  => 'family-name',
                 'required' => true,
                 'section'   => 'about_you',
             ],
@@ -29,11 +31,13 @@
                 'type'  => 'email',
                 'label' => 'Email',
                 'required' => true,
+                'autocomplete'  => 'email',
                 'section'   => 'about_you',
             ],
             'phone'         => [
                 'type'  => 'tel',
                 'label' => 'Phone',
+                'autocomplete'=> 'tel',
                 'required' => true,
                 'section'   => 'about_you',
             ],
@@ -56,7 +60,7 @@
                     'dv'    => 'Domestic Violence',
                     'trafficking'   => 'Human Trafficking',
                     'prison'        => 'Prison or Jail',
-                    'other'
+                    'other' => 'Other',
                 ],
                 'section'   => 'tattoo',
             ],
@@ -70,13 +74,12 @@
                     'doctor'   => 'Doctor',
                     'mental_health' => 'Mental Health Worker',
                     'sponsor' => 'Sponsor',
-                    'other'
+                    'other' => 'Other',
                 ],
                 'section'   => 'tattoo',
             ],
             'age'   => [
                 'type'      => 'text',
-                'subtype'   => 'number',
                 'label'     => 'How old is your tattoo?',
                 'section'   => 'tattoo',
             ],
@@ -100,14 +103,14 @@
                 'section'   => 'tattoo',
             ],
             'photos'        => [
-                'type'  => 'gallery',
+                'type'  => 'upload',
                 'label' => 'Photo(s) of Tattoo',
                 'section'   => 'tattoo',
                 'hint'   => 'Make sure we can get a sense of scale.'
             ],
             'docs'        => [
-                'type'  => 'files',
-                'subtype'   => '.doc,.pdf,.txt,.jpg',
+                'type'  => 'upload',
+                'subtype'   => 'document',
                 'label' => 'Letter of Support',
                 'section'   => 'tattoo',
                 'hint'   => 'Please provide a letter written by one of the above mentioned people that referred you who are working alongside you building your New Legacy.'
@@ -115,7 +118,6 @@
             'notes' => [
                 'type'  => 'textarea',
                 'label' => 'Anything else to add?',
-                'quill' => true,
                 'section'   => 'tattoo',
             ]
         ]

--
Gitblit v1.10.0