From 6069a31663361d0875645fcd028eec677de8673e Mon Sep 17 00:00:00 2001 From: David Lawrence Date: Tue, 11 Mar 2014 22:34:01 +0000 Subject: Bug 960830 - Update Brand Engagement Initiation Form --- .../default/bug/create/create-creative.html.tmpl | 83 +++++++++++++++++----- 1 file changed, 66 insertions(+), 17 deletions(-) (limited to 'extensions/BMO/template/en/default/bug/create/create-creative.html.tmpl') diff --git a/extensions/BMO/template/en/default/bug/create/create-creative.html.tmpl b/extensions/BMO/template/en/default/bug/create/create-creative.html.tmpl index 130e232e5..c2c968b1b 100644 --- a/extensions/BMO/template/en/default/bug/create/create-creative.html.tmpl +++ b/extensions/BMO/template/en/default/bug/create/create-creative.html.tmpl @@ -52,10 +52,22 @@ function validateAndSubmit() { if (!isFilledOut('overview')) alert_text += 'Please enter a value for Project Overview.\n'; if (!isFilledOut('short_desc')) alert_text += 'Please enter a value for Request Title.\n'; if (!isFilledOut('specs')) alert_text += 'Please enter a value for Creative Specs.\n'; + if (!isFilledOut('cta_design')) alert_text += 'Please enter a value for CTA Design.\n'; + if (!isFilledOut('cf_due_date')) alert_text += 'Please enter a value for the creative due date.\n'; if (!isFilledOut('goal')) alert_text += 'Please select a value for Mozilla Goal.\n'; if (YAHOO.util.Dom.get('goal').value == 'Other') { if (!isFilledOut('goal_other')) alert_text += 'Please select a value for Mozilla Goal Other.\n'; } + if (YAHOO.util.Dom.get('type_copy').checked == false + && YAHOO.util.Dom.get('type_design').checked == false + && YAHOO.util.Dom.get('type_video').checked == false + && YAHOO.util.Dom.get('type_other').checked == false) + { + alert_text += 'Please select at least one type of help needed.\n'; + } + if (YAHOO.util.Dom.get('type_other').checked == true) { + if (!isFilledOut('type_other_text')) alert_text += 'Please enter a value for other type of help needed.\n'; + } if (alert_text != '') { alert(alert_text); return false; @@ -71,6 +83,17 @@ function toggleGoalOther() { YAHOO.util.Dom.addClass('goal_other','bz_default_hidden'); } } +function toggleTypeOther(element) { + var other_text = YAHOO.util.Dom.get('type_other_text'); + if (element.checked == true) { + other_text.disabled = false; + other_text.focus(); + } + else { + other_text.disabled = true; + } +} + [% END %] [% PROCESS global/header.html.tmpl @@ -123,17 +146,35 @@ function toggleGoalOther() {
- What is the final deliverable (e.g. copy, snippet graphic, email template, website design, video, etc.) - and what format should it be delivered in? (e.g. PSD file, 403x403 transparent PNG/JPG, etc.) Be as - specific as you can. We like details. + Select what sort of help you need (check at least one or more) +
+ Copy
+ Design
+ Video
+ Other   +
+
+
+ Specs
+ What is the final deliverable and what format should it be delivered in? + Please include information on the format, image/file size, word count, video length, + etc. We like details here.
+
+
+
+ CTAs and design directions
+ Provide as much information as possible. Make sure to include links to documents with copy, + mock-ups, wireframes, or any other information or assets that could help with direction. +
+
- +
- When will your project go forth into the world? + Working backwards from your launch/go-live date, when do you need final assets?
@@ -149,20 +190,20 @@ function toggleGoalOther() {
- +
- Working backwards from your launch/go-live date, when do you need final assets? + When will your project go forth into the world?
- -
+
@@ -174,13 +215,21 @@ function toggleGoalOther() {