Skip to content

Instantly share code, notes, and snippets.

View thecodeite's full-sized avatar

Sam Plews thecodeite

  • Codeite Ltd
  • Cheltenham, UK
View GitHub Profile
@thecodeite
thecodeite / gist:7008703
Last active December 25, 2015 16:49
The schema for collecting data for my wedding
{
Email: { type: 'Text', validators: ['required', 'email'] },
Name: { type: 'Text', validators: ['required'] },
MobileNumber: { type: 'Text', validators: ['required'] },
Address: { type: 'TextArea' },
Attendance: { type: 'Select', options: ['Yes', 'No', 'Maybe'], validators: ['required'] },
SpecialRequirements: { type: 'TextArea'},
NameOfGuest: { type: 'Text', validators: ['required'] }
}