[%# This Source Code Form is subject to the terms of the Mozilla Public # License, v. 2.0. If a copy of the MPL was not distributed with this # file, You can obtain one at http://mozilla.org/MPL/2.0/. # # This Source Code Form is "Incompatible With Secondary Licenses", as # defined by the Mozilla Public License, v. 2.0. #%] [% PROCESS global/variables.none.tmpl %] [% inline_style = BLOCK %] #custom_form .field_name { margin-bottom: 2px; } #custom_form .field_input { margin-bottom: 0.5em; } #custom_form th { text-align: right; font-weight: normal; white-space: nowrap; } #custom_form .heading { text-align: left; font-weight: bold; border-top: 2px dotted #969696; } #custom_form input[type="text"], #custom_form textarea { width: 300px; font-family: "Fira Sans","Open Sans","Helvetica Neue",Arial,Helvetica,sans-serif; font-size: 1em; } #custom_form input.short { width: 100px; } #custom_form .field_input p { margin: 2px 0; } .mandatory:after { content: " *"; color: red; } [% END %] [% inline_javascript = BLOCK %] function validateAndSubmit() { var Dom = YAHOO.util.Dom; var alert_text = ''; if (!isFilledOut('requester_name')) alert_text += "Please enter your name\n"; if (!isFilledOut('requester_email')) alert_text += "Please enter your Email address\n"; if (!isFilledOut('requester_profile')) alert_text += "Please provide your Mozillian Profile\n"; if (!isFilledOut('responsible')) { alert_text += "Please provide your Mozillian Profile\n"; } else { if (Dom.get('responsible').value == 'No' && !isFilledOut('responsible_other')) { alert_text += "Please provide the person responsible for the costume\n"; } } if (!isFilledOut('event_count')) alert_text += "Please enter the number of events\n"; if (!isFilledOut('event_dates')) alert_text += "Please enter date(s) of the event\n"; if (!isFilledOut('event_type')) alert_text += "Please enter the type of event and attendance\n"; if (!isFilledOut('goal')) alert_text += "Please select the Mozilla Goal\n"; if (!isFilledOut('event_audience')) alert_text += "Please enter event's main audience\n"; if (!isFilledOut('ship_firstname')) alert_text += "Please enter the shipping First name\n"; if (!isFilledOut('ship_lastname')) alert_text += "Please enter the shipping Last name\n"; if (!isFilledOut('ship_address1')) alert_text += "Please enter the shipping Address 1\n"; if (!isFilledOut('ship_city')) alert_text += "Please enter the shipping City\n"; if (!isFilledOut('ship_country')) alert_text += "Please enter the shipping Country\n"; if (!isFilledOut('ship_phone')) alert_text += "Please enter the shipping Phone number\n"; if (!isFilledOut('ship_email')) alert_text += "Please enter the shipping Email address\n"; if (isFilledOut('requester_email') && !isValidEmail(Dom.get('requester_email').value)) alert_text += "Please enter a valid Email address.\n"; if (isFilledOut('ship_email') && !isValidEmail(Dom.get('ship_email').value)) alert_text += "Please enter a valid shipping Email address.\n"; if (alert_text != '') { alert(alert_text); return false; } Dom.get('short_desc').value = 'Firefox Costume Request - ' + YAHOO.util.Dom.get('requester_name').value; return true; } function on_responsible_change() { if (YAHOO.util.Dom.get('responsible').value == 'No') { YAHOO.util.Dom.removeClass('responsible_who', 'bz_default_hidden'); } else { YAHOO.util.Dom.addClass('responsible_who', 'bz_default_hidden'); } } YAHOO.util.Event.onDOMReady(function() { YAHOO.util.Event.addListener('responsible', 'change', on_responsible_change); on_responsible_change(); }); [% END %] [% PROCESS global/header.html.tmpl title = "Firefox Costume Request Form" style = inline_style javascript = inline_javascript javascript_urls = [ 'extensions/BMO/web/js/form_validate.js', 'js/field.js', 'js/util.js' ] %]
Looking to get a Firefox Costume for your upcoming event(s)? Please use this form to tell us about your event(s). Filling out this form does not guarantee that you will receive the Fox costume. Requests are reviewed weekly. We will get back to you with next steps after we have reviewed.
Before submitting your request, please make sure to review the Firefox Costume wiki pages. You’ll find all the information you ever imagined needing, including details about what we’re looking for in your request, how it’s decided where a costume will be sent, and details about the actual costumes.
Required Field
[% PROCESS global/footer.html.tmpl %]