Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

"Thank you for supporting the MIT Shakespeare Ensemble
All performances are in La <La Sala de Puerto Rico (W20-202) on the second floor of the MIT Stratton Student Center (84 Massachusetts Ave) / Kresge Little Theater (W16-035) on MIT's campus (48 Massachusetts Ave)>.

Tickets prices are:
    $5 for MIT, Harvard, and Wellesley students
    $9 for MIT affiliates and other students
    $12 for general public

Payment for tickets is cash only and will be handled at the door on the day of the performance.

Reservations close for a show an hour before the show starts. You can still get tickets at the door!

A reservation will guarantee you a seat admission as long as you arrive 15 minutes before the performance to claim it. Other than that, our performances Specific seating and other ticket sales are first come, first serve. We may need to give your ticket away if you arrive late.

<Any content warnings, the length of the show, etc.>"

The confirmation page should say something like the following:

...

The above code essentially takes an event (that will be the form submission) and sends an email confirmation based on the information in the form. However, the thing that triggers the script (the form submission) has not yet been defined. While in the script editor, go to the "ResourcesEdit" menu and select "Current Projectproject's Triggerstriggers". This should open a window that says "No triggers set up. Click here to add one now". Click on thatresults" in the middle. Click on the "+ Add Trigger" button in the lower right hand corner, and create a trigger : Run: SendConfirmationMail; Events: From spreadsheet; On form submit.with the following properties:

  • Under "Choose which function to run" select "SendConfirmationMail" (this should already be selected by default, but double-check just to be sure)
  • Under "Choose which deployment should run" select "Head" (again, this should be selected by default)
  • Under "Select event source" select "From spreadsheet" (again, this should be selected by default)
  • Under "Select event type" select "On form submit"
  • Under "Failure notification settings" select "Notify me immediately"

Leave all other fields the same.

Press "Save," Press save, then grant the script whatever access to the Ensemble Account that it asks for. Now the trigger should be set up, even if your browser tells you that the app is unverified and potentially unsafe.

Update ensemble-tickets@mit.edu

...