Last active
December 25, 2015 16:49
-
-
Save thecodeite/7008703 to your computer and use it in GitHub Desktop.
The schema for collecting data for my wedding
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
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'] } | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
{
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'] }
}