From f383c3a4325bc173b6f9676274bc19694be6f9c0 Mon Sep 17 00:00:00 2001
From: Jake Vanderwerf <get@jakevanderwerf.ca>
Date: Fri, 05 Jun 2026 16:49:44 +0000
Subject: [PATCH] =Modified the Feed Fields config in Registrar, to utilize the built in functionality there
---
forms/nlp.php | 17 ++++++++++-------
1 files changed, 10 insertions(+), 7 deletions(-)
diff --git a/forms/nlp.php b/forms/nlp.php
index 5bf3ede..62d8017 100644
--- a/forms/nlp.php
+++ b/forms/nlp.php
@@ -12,9 +12,11 @@
'We\'ll get back to you as soon as we can - usually pretty quick (unless it\'s a Monday or a Tuesday)'
],
'email_subject' => '[NLP] Application',
+ 'preheader' => 'New message with the team at Legacy. Respond to this email with additional details.',
'fields' => [
'first_name' => [
'type' => 'text',
+ 'autocomplete' => 'given-name',
'label' => 'First Name',
'required' => true,
'section' => 'about_you',
@@ -22,6 +24,7 @@
'last_name' => [
'type' => 'text',
'label' => 'Last Name',
+ 'autocomplete' => 'family-name',
'required' => true,
'section' => 'about_you',
],
@@ -29,11 +32,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 +61,7 @@
'dv' => 'Domestic Violence',
'trafficking' => 'Human Trafficking',
'prison' => 'Prison or Jail',
- 'other'
+ 'other' => 'Other',
],
'section' => 'tattoo',
],
@@ -70,13 +75,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 +104,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 +119,6 @@
'notes' => [
'type' => 'textarea',
'label' => 'Anything else to add?',
- 'quill' => true,
'section' => 'tattoo',
]
]
--
Gitblit v1.10.0