-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
switch to generating a unique but recognisable email when autofilling…
- Loading branch information
1 parent
fa92b2a
commit b844e08
Showing
5 changed files
with
9 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,7 +17,7 @@ | |
* | ||
* ENGRID PAGE TEMPLATE ASSETS | ||
* | ||
* Date: Wednesday, July 31, 2024 @ 13:07:52 ET | ||
* Date: Thursday, August 1, 2024 @ 06:43:59 ET | ||
* By: michael | ||
* ENGrid styles: v0.18.18 | ||
* ENGrid scripts: v0.18.18 | ||
|
@@ -21758,7 +21758,8 @@ const options = { | |
|
||
if ([64320].includes(App.getPageID())) { | ||
if (App.getFieldValue('supporter.emailAddress') === '') { | ||
App.setFieldValue('supporter.emailAddress', '[email protected]'); | ||
const email = `${App.getFieldValue('supporter.firstName')}${App.getFieldValue('supporter.lastName')}${Date.now()}[email protected]`; | ||
App.setFieldValue('supporter.emailAddress', email); | ||
} | ||
} | ||
}, | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -68,7 +68,8 @@ const options: Options = { | |
// Optional email field on specific pages | ||
if ([64320].includes(App.getPageID())) { | ||
if (App.getFieldValue('supporter.emailAddress') === '') { | ||
App.setFieldValue('supporter.emailAddress', '[email protected]'); | ||
const email = `${App.getFieldValue('supporter.firstName')}${App.getFieldValue('supporter.lastName')}${Date.now()}[email protected]` | ||
App.setFieldValue('supporter.emailAddress', email); | ||
} | ||
} | ||
}, | ||
|