mirror of
https://github.com/System-End/site.git
synced 2026-04-19 23:22:49 +00:00
Reapply "Add postal code field to /fiscal-sponsorship/apply (#1185)"
This reverts commit 05ab34cbc0.
This commit is contained in:
parent
05ab34cbc0
commit
d893388137
3 changed files with 15 additions and 0 deletions
|
|
@ -54,6 +54,18 @@ export default function OrganizationInfoForm({ requiredFields }) {
|
|||
))}
|
||||
</Select>
|
||||
</Field>
|
||||
<Field
|
||||
name="eventPostalCode"
|
||||
label={`ZIP code / postal code`}
|
||||
description="If your organization runs online, please put your own postal code."
|
||||
requiredFields={requiredFields}
|
||||
>
|
||||
<Input
|
||||
name="eventPostalCode"
|
||||
id="eventPostalCode"
|
||||
placeholder="90069"
|
||||
/>
|
||||
</Field>
|
||||
<Field
|
||||
name="transparent"
|
||||
label="Transparency mode"
|
||||
|
|
|
|||
|
|
@ -16,6 +16,7 @@ export default async function handler(req, res) {
|
|||
email: data.userEmail,
|
||||
name: data.eventName,
|
||||
country: getCode(data.eventLocation) || '',
|
||||
postal_code: data.eventPostalCode || '',
|
||||
transparent: data.transparent,
|
||||
}),
|
||||
method: 'POST',
|
||||
|
|
@ -34,6 +35,7 @@ export default async function handler(req, res) {
|
|||
'Date of Birth': data.userBirthday,
|
||||
'Event Name': data.eventName,
|
||||
'Event Website': data.eventWebsite,
|
||||
'Event Postal Code': data.eventPostalCode,
|
||||
'Tell us about your event': data.eventDescription,
|
||||
'Mailing Address': data.userAddress,
|
||||
'Address Line 1': data.addressLine1,
|
||||
|
|
|
|||
|
|
@ -23,6 +23,7 @@ export default function Apply() {
|
|||
const requiredFields = [
|
||||
'eventName',
|
||||
'eventLocation',
|
||||
'eventPostalCode',
|
||||
'eventDescription',
|
||||
'firstName',
|
||||
'lastName',
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue