Merge pull request #2268 from alphagov/request-to-go-live-better-data

Make the data we get from the go live requests more useful
This commit is contained in:
Chris Hill-Scott
2018-09-04 16:25:59 +01:00
committed by GitHub
6 changed files with 99 additions and 88 deletions

View File

@@ -569,24 +569,26 @@ class Triage(StripWhitespaceForm):
class RequestToGoLiveForm(StripWhitespaceForm):
channel_email = BooleanField('Emails')
channel_sms = BooleanField('Text messages')
channel_letter = BooleanField('Letters')
start_date = StringField(
'When will you be ready to start sending messages?',
volume_email = StringField(
'How many emails do you expect to send in the next year?',
validators=[DataRequired(message='Cant be empty')]
)
start_volume = StringField(
'How many messages do you expect to send to start with?',
volume_sms = StringField(
'How many text messages do you expect to send in the next year?',
validators=[DataRequired(message='Cant be empty')]
)
peak_volume = StringField(
'Will the number of messages increase and when will that start?',
volume_letter = StringField(
'How many letters do you expect to send in the next year?',
validators=[DataRequired(message='Cant be empty')]
)
method_one_off = BooleanField('One at a time')
method_upload = BooleanField('Upload a spreadsheet of recipients')
method_api = BooleanField('Integrate with the GOV.UK Notify API')
research_consent = RadioField(
'Can we contact you when were doing user research?',
choices=[
('yes', 'Yes'),
('no', 'No'),
],
validators=[DataRequired()]
)
class ProviderForm(StripWhitespaceForm):