Skip to content
Gallery
nytgames
CreativeTech Wiki (internal)
Share
Explore
Advertising Website

icon picker
Contact Form

Some information about the website forms functioning.

Introduction

The and the pages have a form that submits the lead data to Salesforce.

Salesforce

Salesforce data:
PROD OID: 00D3000000060xn
NON-PROD OID: 00D8K0000004ccT (in the .env file I do not have this, but I don’t want to delete important info)
NON-PROD OID: 00D590000004dWN

Front-end

The form front-end is part of the Next.js application powering the website. Please be careful with the input names and the existent data as they are required for the Salesforce integration.
Main files: , , helpers folder (to be linked once in main).

Back-end

The submission is managed by a , that is also .
Blank diagram (1).svg
This function checks the submission (request type, existence of main lead data, valid captcha validation), lightly sanitises the data and post it to the Salesforce endpoint. Based on the success or failure of the request, the user is redirected to a message page.

Runtime environment variables

Please be sure that the environment variables are set in the right way. They are saved as a backup in .
To decode them:
base64 -D -i inputFile.b64 > outputFile.txt

Captcha

We use Google reCAPTCHA, v2 Checkbox to prevent spam. This is the main information for its functioning.

Dashboard

Keys

SITE KEY: 6LcUoD0mAAAAAGfgDEVRoCKek91GqvbwScL3-Ffy SECRET KEY: 6LcUoD0mAAAAACtEEVwD4DobXxsHUUclRc1__UKO

Domains

Owners


Want to print your doc?
This is not the way.
Try clicking the ⋯ next to your doc name or using a keyboard shortcut (
CtrlP
) instead.