Corvina · Google Forms with Apps Script

Size forms

Two size forms and the PDFs their script produces. The forms and scripts run in a Google account and cannot run here, so this page shows their headers and sample output, with a description read from the code.

Crew uniform sizes

A Google Form sent to crew before they join. The answers go to a Google Sheet, and an Apps Script project turns them into PDFs.

  • Asks for name, a required email address, position, department, joining date, height and weight, then men's or women's sizes. The answer to that question picks the next page.
  • Numeric clothing and shoe sizes are EU (men's EU 42 to 64, women's EU 32 to 50, footwear EU 35 to 48 with half sizes). Letter sizes stay international. Each numeric question also takes an unsure answer, which prints as CHECK for the Chief Stew to confirm.
  • On each answer the script rebuilds one PDF for the Chief Stew and emails it: clothing sizes and PPE in tables, crew in alphabetical order, then size requirements by item with the names against each size, then one large-print profile per person. Fit notes get their own page.
  • The person who answered gets a separate PDF with only their own sizes, sent to the address they gave.
  • A repeat answer from the same name replaces the earlier one. Unticking Active on the Crew tab of the sheet takes a person off the list and rebuilds the PDF without sending an email.
  • Old answers given before the move to EU sizes are tracked by response ID, so an unclear size asks for confirmation and is not converted silently.

The pages below are the script's own sample output, made with invented crew and no emails sent. The lettering and the footer line have been set again.

Crew uniform sizes form header
Crew uniform sizes form header

Sample: the Chief Stew's PDF

Eight A4 landscape pages from the sample.

Chief Stew's crew list, page 1
Chief Stew's crew list, page 1
Chief Stew's crew list, page 2
Chief Stew's crew list, page 2
Chief Stew's crew list, page 3
Chief Stew's crew list, page 3
Chief Stew's crew list, page 4
Chief Stew's crew list, page 4
Chief Stew's crew list, page 5
Chief Stew's crew list, page 5
Chief Stew's crew list, page 6
Chief Stew's crew list, page 6
Chief Stew's crew list, page 7
Chief Stew's crew list, page 7
Chief Stew's crew list, page 8
Chief Stew's crew list, page 8

Sample: the personal copy

What a crew member receives after answering.

Personal copy, page 1
Personal copy, page 1

Water sports sizes

A Google Form for the owner's family, one answer per person, with the same Apps Script set-up.

  • Asks adult or child, age for children, height and weight, then wetsuit type and size, shoe size (one choice per size showing EU, UK and US together), booties, swim shoes, gloves, crash helmet, impact vest, rash vest and notes.
  • Each answer rebuilds a kit list PDF and emails it to the Mate, Captain and Purser. Page 1 lists sizes by person, page 2 gives order totals for each item and size with the names, then one large-print page per person.
  • If a name is submitted twice the latest answer is used. Separate functions make a sample from invented people or rebuild from the real answers without emailing.

No sample kit list PDF is kept with the source files, so only the header is shown.

Water sports sizes form header
Water sports sizes form header