@section('page_title') OSAA - Forms @stop @section('page_sub_title') {{ $information['form_name'] }} @stop @section('scripts') @parent @stop @section('jquery_init') // Success bar $('.success_bar').animate({ 'top' : 32, 'background-color' : 'rgba(176, 255, 190, 1.0)'}, 1600, 'easeOutQuad', function () { $(this).delay(6000).fadeOut(4000); $(this).hover(function () { $(this).stop(true).css('opacity', '1.0'); }, function () { $(this).fadeOut(4000); }) }); // Close button $('.close_button') .button({'icons':{'primary':'ui-icon-circle-close'}}) .css({'font-size' : '9pt', 'margin-left' : '10px'}); // Back button $('.back_button') .button({'icons':{'primary':'ui-icon-arrowthick-1-w'}}) .css({'font-size' : '9pt', 'margin-left' : '10px'}); // Next button $('.next_button') .button() .css({'font-size' : '9pt', 'position' : 'relative', 'top' : '-2px'}); // Required field marker $('[data-required]').after('*'); {{-- Scripts for selecting the league --}} @if (is_null($information['league'])) /* Disable the next button and hide the loading icon */ $('#select_league_form input[type="submit"]') .button('disable') .addClass('ui-state-error'); $('#select_league_form img').hide(); /* When a code is input, check it's value */ $('#select_league_form [name="code"]').on('change input', function () { $('#select_league_form img').show(); var code = $(this).val(); // Skip for now, to make it process faster var jqxhr = $.ajax( { type : 'POST', url : '/forms/check-code', data : {'activity' : 'SOL', 'code' : code}, dataType : 'html' }) .fail(function () { $('#select_league_form input[type="submit"]') .button('disable') .addClass('ui-state-error'); $('#select_league_form img').hide(); }) .success(function () { $('#select_league_form input[type="submit"]') .button('enable') .removeClass('ui-state-error'); $('#select_league_form img').hide(); }); }); @if (Auth::check() and Auth::user()->isOsaaUser()) $('.download_button') .button({'icons' : {'primary' : 'ui-icon-circle-arrow-s'}}) .css({'font-size' : '9pt'}); $('#select_league_form [name="code"]') .val('STATEREGISTRATION') .change(); @endif // Only submit the form if the submit button is enabled $('#select_league_form').submit(function () { if ($('#select_league_form input[type="submit"]').is(':enabled')) { $('#select_league_form [name="code"]').remove(); return true; } else { return false; } }); {{-- Access to additional information form is allowed --}} @if (Helpers::strEqual($information['user_status'], 'OK')) /* saveFormData * * Given a form field and a value, this function will do a * JSON POST request to save the form's information. The optional * third parameter will determine if the page will be reloaded or not. */ function saveFormData(field, value, type, reload, form_id) { // Ensure the field and value parameters are provided if (typeof field == 'undefined' || typeof value == 'undefined' || typeof type == 'undefined') { alert('Scripting error. Unable to save form data.'); } // Get the optional reload parameter reload = typeof reload !== 'undefined' ? reload : false; $('*').css({'cursor':'wait'}); var jqxhr = $.ajax( { type : 'POST', url : '{{ url('/forms/league-forms') }}/' + form_id + '/update', data : { 'field' : field, 'value' : value, 'type' : type }, dataType : 'html' }) .done(function(returned_data) { // Success console.log("Successfully saved {'" + form_id + "|" + field + "' : '" + value + "'}"); var info = $.parseJSON(returned_data); $('#updated_at').html(info.updated_at); $('#updated_by').html(info.updated_by); if (info.force_reload) { reload = true; } }) .fail(function(jqXHR, status, error) { // Error var response = jqXHR.responseText; var errorData = $.parseJSON(response); console.log(errorData); alert("There was an error saving this form's data.\n\n" + errorData.error.message + "\n\nPlease try again. Please note, that if you try to reload this page, your unsaved data will be lost."); }) .complete(function () { // Reload if necessary if (reload) { location.reload(); } else { $('*').css({'cursor':''}); } }); } // View/Edit button $('.view_edit_qualifier') .css({'font-size' : '9pt', 'margin-top' : '1.75em', 'margin-bottom' : '0.20em'}) .button() .click(function(event) { var button = $(this); var option = $('#qualifier option:selected'); // Get the qualifier's data into an object payload var data = { league_form : parseInt($(option).attr('data-league-form')), index : parseInt($(option).val()), name : ($(option).text()).trim(), ap_id : parseInt($(option).attr('data-ap')), ap_verify_id : parseInt($(option).attr('data-ap-verify')), ap_access : parseInt($(option).attr('data-ap-access')) }; var load_url = '{{ url('forms/league-forms') }}/' + data.league_form + '/edit-solo-qualifier/' + data.index + '/additional-information'; $('
') .appendTo('body') .dialog( { modal : true, draggable : true, resizable : false, height : 700, width : 725, title : 'View/Edit Additional Information', buttons: [{ text : "Save", 'class' : "float_left", icons : { primary : 'ui-icon-disk'}, click : function() { var dialog_object = $(this); var form = $('form', dialog_object); var index = $('input[name="index"]', form).val(); var record = { 'registered' : $('input[name="registered"]', form).val(), 'notes' : $('textarea[name="notes"]', form).val(), 'selected' : $('input[name="selected"]', form).val(), 'first_name' : $('input[name="first_name"]', form).val(), 'last_name' : $('input[name="last_name"]', form).val(), 'grade' : $('select[name="grade"] option:checked', form).val(), 'school' : $('[name="school"]', form).val(), 'category' : $('[name="category"]', form).val(), 'placement' : $('[name="placement"]', form).val(), 'director_name' : $('input[name="director_name"]', form).val(), 'director_email' : $('input[name="director_email"]', form).val(), 'director_phone' : $('input[name="director_phone"]', form).val(), 'accompanist_name' : $('input[name="accompanist_name"]', form).val(), 'accompanist_email' : $('input[name="accompanist_email"]', form).val(), 'accompanist_phone' : $('input[name="accompanist_phone"]', form).val(), 'selection_1_title' : $('input[name="selection_1_title"]', form).val(), 'selection_1_composer' : $('input[name="selection_1_composer"]', form).val(), 'selection_2_title' : $('input[name="selection_2_title"]', form).val(), 'selection_2_composer' : $('input[name="selection_2_composer"]', form).val() }; var errors = []; // Check for required fields if (record.first_name == "") { errors.push("The qualifier's first name is required."); } if (record.last_name == "") { errors.push("The qualifier's last name is required."); } if (record.grade == "") { errors.push("The qualifier's grade in school is required."); } if (record.school == "") { errors.push("The qualifier's school is required."); } if (record.category == "") { errors.push("You did not select which category this individual was qualified for state."); } if (record.placement == "") { errors.push("You did not select the qualification placement for this individual."); } if (record.director_name == "") { errors.push("The name of the qualifier's director."); } if (record.director_email == "") { errors.push("The director's email address is required."); } if (record.accompanist_name == "") { errors.push("The name of the qualifier's accompanist is required. You can type in \"N/A\" if there is no accompanist."); } if (errors.length < 1) { var field = "data->qualifiers[" + index + "]"; var value = JSON.stringify(record); var type = "OBJECT"; var reload = true; saveFormData(field, value, type, reload, data.league_form); } else { var error_message = "Unable to save this qualifier because some information is missing.\n\n"; for (var i = 0; i < errors.length; i++) { error_message += errors[i] + "\n"; } alert(error_message); } } }, { text : "Cancel", 'class' : "float_right", 'data-autofocus' : "true", icons : { primary : 'ui-icon-cancel'}, click : function() { // Close the dialog box $(this).dialog("close"); $(this).remove(); } }], open : function () { var dialog_object = $(this); // Show the loading image dialog_object.html("
"); // Disable dialog buttons $('.ui-dialog-buttonset button').button('disable'); // Get the AJAX form var jqxhr = $.ajax( { type : 'GET', url : load_url, dataType : 'html' }) .done(function (returned_data) { dialog_object.html(returned_data); // Enable dialog buttons $('.ui-dialog-buttonset button').button('enable'); // Verify qualifier information var verify = { ap_id : parseInt($('div.ai_dialog', dialog_object).attr('data-ap-id')), ap_verify_id : parseInt($('div.ai_dialog', dialog_object).attr('data-ap-verify-id')), index : parseInt($('div.ai_dialog', dialog_object).attr('data-index')), name : $('div.ai_dialog', dialog_object).attr('data-name-verification'), league_form : parseInt($('div.ai_dialog', dialog_object).attr('data-form-id')) }; // Debug console.log(data); console.log(verify); var errors = []; // Ensure values match if (data.ap_id !== verify.ap_id) { errors.push("Activity program ID number mismatch"); } if (data.ap_verify_id !== verify.ap_verify_id) { errors.push("Activity program ID number verification failure"); } if (data.index !== verify.index) { errors.push("Array index mismatch"); } if (data.league_form !== verify.league_form) { errors.push("League form ID number mismatch"); } if (data.name.localeCompare(verify.name) !== 0) { errors.push("Qualifier name mismatch"); } // Abort on errors if (errors.length > 0) { dialog_object.remove(); $('
').addClass('ui-widget-overlay ui-front').appendTo('body'); var error_message = "There were verification errors when loading the selected qualifier: "; for (var i = 0; i < errors.length; i++) { error_message += "\n - " + errors[i]; } error_message += "\n\nThis page will reload."; alert(error_message); location.reload(); return false; } // Setup form behavior // Limit input to numbers only $('[data-format="numbers_only"]', dialog_object).bind('input', function() { $(this).val($(this).val().replace(/[^0-9]/gi, '')); }); // Custom label behavior $('[data-for]', dialog_object) .css({'cursor' : 'default'}) .click(function(event) { var target_selector = $(this).attr('data-for'); var target = $('[name="' + target_selector + '"]'); target.focus(); }); // Add a match row $('.add_match_row') .css({'font-size' : '8pt', 'margin-top' : '0.5em'}) .button({'icons':{'primary' : ' ui-icon-plusthick'}}) .click(function() { var table = $('.matches', dialog_object); var row = $(''); // Add a date picker var dp = $(''); $(dp).datepicker({'dateFormat' : 'mm/dd/yy', 'minDate' : min, 'maxDate' : max}); $('td:eq(0)', row).html(dp); // Add an opponent text field var op = $(''); $('td:eq(1)', row).html(op); // Add a match type drop down var mt = $(''); $('td:eq(2)', row).html(mt); // Add a score text field var ms = $(''); $('td:eq(3)', row).html(ms); // Add a result drop down var mr = $(''); $('td:eq(4)', row).html(mr); // Add this new row to the table row.appendTo(table); }); }) .fail(function (jqXHR, status, error) { // There was an error var response = jqXHR.responseText; var errorData = $.parseJSON(response); //console.log(errorData); alert("There was an error loading the required information.\n\n" + errorData.error.message + "\n\nThis page will reload."); location.reload(); }) .complete(function () { // Form logic bindings on open $('[name="director_phone"]').mask("(999) 999-9999"); $('[name="accompanist_phone"]').mask("(999) 999-9999"); }); $('.ui-dialog-buttonpane').css('padding', '0 0.5em').css('font-size', '9pt'); $('.ui-dialog-buttonpane .ui-dialog-buttonset').css('width', '100%'); }, close : function () { var dialog_object = $(this); $(dialog_object).remove(); } }); }); @endif @else // Submit button $('.submit_button') .button() .css({'font-size' : '11pt'}); /* alertRequiredField * * Shows an alert box when attempting to save a blank value to a required field. */ function alertRequiredField() { $('
') .appendTo('body') .dialog( { modal : true, draggable : false, resizable : false, height : 275, width : 415, title : 'Required Field', buttons: [ { text : "OK", 'class' : "float_right", icons : { primary : 'ui-icon-check'}, click : function() { // Close the dialog box $(this).dialog("close"); } } ], open : function () { var dialog_object = $(this); dialog_object.html('
You\'ve entered in a blank value for a required field. Required fields cannot be empty.
The original value has been restored.
'); $('.ui-dialog-buttonpane').css('padding', '0 0.5em').css('font-size', '9pt'); $('.ui-dialog-buttonpane .ui-dialog-buttonset').css('width', '100%'); $('.ui-dialog-buttonpane .ui-dialog-buttonset').append('
Still having trouble?
(503) 682-6722 x228
'); }, close : function () { var dialog_object = $(this); $(dialog_object).remove(); } }); } /* saveFormData * * Given a form field and a value, this function will do a * JSON POST request to save the form's information. The optional * third parameter will determine if the page will be reloaded or not. */ function saveFormData(field, value, type, reload) { // Ensure the field and value parameters are provided if (typeof field == 'undefined' || typeof value == 'undefined' || typeof type == 'undefined') { alert('Scripting error. Unable to save form data.'); } // Get the optional reload parameter reload = typeof reload !== 'undefined' ? reload : false; // Get the form ID (same across all pages for this form) var form_id = {{ $information['submission']->id }}; $('*').css({'cursor':'wait'}); var jqxhr = $.ajax( { type : 'POST', url : '{{ url('/forms/league-forms/') }}/' + form_id + '/update', data : { 'field' : field, 'value' : value, 'type' : type }, dataType : 'html' }) .done(function(returned_data) { // Success console.log("Successfully saved {'" + form_id + "|" + field + "' : '" + value + "'}"); var info = $.parseJSON(returned_data); $('#updated_at').html(info.updated_at); $('#updated_by').html(info.updated_by); if (info.force_reload) { reload = true; } }) .fail(function(jqXHR, status, error) { // Error var response = jqXHR.responseText; var errorData = $.parseJSON(response); console.log(errorData); alert("There was an error saving this form's data.\n\n" + errorData.error.message + "\n\nPlease try again. Please note, that if you try to reload this page, your unsaved data will be lost."); }) .complete(function () { // Reload if necessary if (reload) { location.reload(); } else { $('*').css({'cursor':''}); } }); } // Autosave text fields function autoSaveTextField(input_field) { clearTimeout(autoSaveTextField.timeout); autoSaveTextField.timeout = setTimeout(function (){ var value = input_field.val(); var original_value = input_field.attr('data-original'); var field = input_field.attr('data-field'); var type = input_field.attr('data-type'); var readonly_attr = input_field.attr('readonly'); if (typeof readonly_attr !== typeof undefined && readonly_attr !== false) { return false; } var reload = false; var reload_attr = input_field.attr('data-reload'); if (typeof reload_attr !== typeof undefined && reload_attr !== false) { reload = true; } var required = false; var required_attr = input_field.attr('data-required'); if (typeof required_attr !== typeof undefined && required_attr !== false) { required = true; } if (required && value == '' && !(original_value == '' || typeof original_value === typeof undefined || original_value === false)) { input_field.val(original_value); input_field.focus(); alertRequiredField(); return; } if (value != original_value && ((required && value != '') || !required)) { saveFormData(field, value, type, reload); input_field.attr('data-original', value); } }, 50); } // Autosave text fields and textareas $('input[type="text"][data-autosave]').on('change blur autocompletechange', function (event) { autoSaveTextField ($(this)); }); $('textarea[data-autosave]').on('change blur autocompletechange', function (event) { autoSaveTextField ($(this)); }); // Autosave select fields $('select[data-autosave]').on('change', function(event) { var select_field = $(this); var selected = $(':selected', select_field); var value = selected.val(); var original_value = select_field.attr('data-original'); var field = select_field.attr('data-field'); var type = select_field.attr('data-type'); var readonly_attr = select_field.attr('readonly'); if (typeof readonly_attr !== typeof undefined && readonly_attr !== false) { return false; } var reload = false; var reload_attr = select_field.attr('data-reload'); if (typeof reload_attr !== typeof undefined && reload_attr !== false) { reload = true; } if (value != original_value) { saveFormData(field, value, type, reload); select_field.attr('data-original', value); } }); // Autosave check-box fields $('input[type="checkbox"][data-autosave]').on('change', function(event) { var checkbox_field = $(this); var value = checkbox_field.is(':checked'); var original_value = checkbox_field.attr('data-original'); var field = checkbox_field.attr('data-field'); var type = checkbox_field.attr('data-type'); var readonly_attr = checkbox_field.attr('readonly'); if (typeof readonly_attr !== typeof undefined && readonly_attr !== false) { return false; } var reload = false; var reload_attr = checkbox_field.attr('data-reload'); if (typeof reload_attr !== typeof undefined && reload_attr !== false) { reload = true; } if (value != original_value) { saveFormData(field, value, type, reload); checkbox_field.attr('data-original', value); } }); // Phone field $('[data-phone-field]').mask("(999) 999-9999"); // Add/edit qualifier function add_edit_qualifier(index) { var form_id = {{ $information['submission']->id }}; if (index == "NEW") { var load_url = '{{ url('forms/league-forms') }}/' + form_id + '/edit-solo-qualifier/new'; } else { var load_url = '{{ url('forms/league-forms') }}/' + form_id + '/edit-solo-qualifier/' + index; } $('
') .appendTo('body') .dialog( { modal : true, draggable : true, resizable : false, height : 650, width : 715, title : 'Add/Edit Qualifier', buttons: [ { text : "Save", 'class' : "float_left", icons : { primary : 'ui-icon-disk'}, click : function() { var dialog_object = $(this); var form = $('form', dialog_object); var index = $('input[name="index"]', form).val(); var record = { 'registered' : $('input[name="registered"]', form).val(), 'notes' : $('input[name="notes"]', form).val(), 'selected' : $('input[name="selected"]', form).val(), 'first_name' : $('input[name="first_name"]', form).val(), 'last_name' : $('input[name="last_name"]', form).val(), 'grade' : $('select[name="grade"] option:checked', form).val(), 'school' : $('select[name="school"] option:checked', form).val(), 'category' : $('select[name="category"] option:checked', form).val(), 'placement' : $('select[name="placement"] option:checked', form).val(), 'director_name' : $('input[name="director_name"]', form).val(), 'director_email' : $('input[name="director_email"]', form).val(), 'director_phone' : $('input[name="director_phone"]', form).val(), 'accompanist_name' : $('input[name="accompanist_name"]', form).val(), 'accompanist_email' : $('input[name="accompanist_email"]', form).val(), 'accompanist_phone' : $('input[name="accompanist_phone"]', form).val(), 'selection_1_title' : $('input[name="selection_1_title"]', form).val(), 'selection_1_composer' : $('input[name="selection_1_composer"]', form).val(), 'selection_2_title' : $('input[name="selection_2_title"]', form).val(), 'selection_2_composer' : $('input[name="selection_2_composer"]', form).val() }; var errors = []; // Check for required fields if (record.first_name == "") { errors.push("The qualifier's first name is required."); } if (record.last_name == "") { errors.push("The qualifier's last name is required."); } {{-- if (record.grade == "") { errors.push("The qualifier's grade in school is required."); } --}} if (record.school == "") { errors.push("The qualifier's school is required."); } if (record.category == "") { errors.push("You did not select which category this individual was qualified for state."); } if (record.placement == "") { errors.push("You did not select the qualification placement for this individual."); } {{-- if (record.director_name == "") { errors.push("The name of the qualifier's director."); } if (record.director_email == "") { errors.push("The director's email address is required."); } if (record.accompanist_name == "") { errors.push("The name of the qualifier's accompanist is required. You can type in \"N/A\" if there is no accompanist."); } --}} if (errors.length < 1) { var field = "data->qualifiers[" + index + "]"; var value = JSON.stringify(record); var type = "OBJECT"; var reload = true; saveFormData(field, value, type, reload); } else { var error_message = "Unable to save this qualifier because some information is missing.\n\n"; for (var i = 0; i < errors.length; i++) { error_message += errors[i] + "\n"; } alert(error_message); } } }, { text : "Cancel", 'class' : "float_right", 'data-autofocus' : "true", icons : { primary : 'ui-icon-cancel'}, click : function() { // Close the dialog box $(this).dialog("close"); $(this).remove(); } } ], open : function () { var dialog_object = $(this); dialog_object.html("
"); var jqxhr = $.ajax( { type : 'GET', url : load_url, dataType : 'html' }) .done(function (returned_data) { dialog_object.html(returned_data); }) .fail(function (jqXHR, status, error) { var response = jqXHR.responseText; var errorData = $.parseJSON(response); //console.log(errorData); alert("There was an error loading the required information.\n\n" + errorData.error.message + "\n\nThis page will reload."); location.reload(); }) .complete(function () { // Form logic bindings on open $('[name="director_phone"]').mask("(999) 999-9999"); $('[name="accompanist_phone"]').mask("(999) 999-9999"); {{-- var director_name_field = $('[name="director_name"]'); var director_name_options = director_name_field.attr('data-options'); var director_names = $.makeArray(director_name_options); console.log(director_name_field.attr('data-options')); $('[name="director_name"]') .autocomplete({'source' : director_names, 'minLength' : 3}); --}} }); $('.ui-dialog-buttonpane').css('padding', '0 0.5em').css('font-size', '9pt'); $('.ui-dialog-buttonpane .ui-dialog-buttonset').css('width', '100%'); }, close : function () { var dialog_object = $(this); $(dialog_object).remove(); } }); } $('.add_qualifier') .button({'icons':{'primary' : 'ui-icon-circle-plus'}}) .css({'font-size': '9pt'}) .click(function(event) { event.preventDefault(); var button = $(this); add_edit_qualifier("NEW"); }); $('.edit_qualifier') .button({'icons':{'primary' : 'ui-icon-pencil'}, 'text' : false}) .css({'width' : '18px', 'height' : '18px'}) .click(function(event) { event.preventDefault(); var button = $(this); var index = button.attr('data-qualifier-index'); add_edit_qualifier(index); }); $('.delete_qualifier') .button({'icons':{'primary' : 'ui-icon-closethick'}, 'text' : false}) .css({'width' : '18px', 'height' : '18px', 'margin-left' : '5px'}) .click(function(event) { event.preventDefault(); var button = $(this); var form_id = {{ $information['submission']->id }}; var index = button.attr('data-qualifier-index'); $('
') .appendTo('body') .dialog( { modal : true, draggable : true, resizable : false, height : 215, width : 400, title : 'Confirm', buttons: [ { text : "Delete", 'class' : "float_left", icons : { primary : 'ui-icon-closethick'}, click : function() { $('
') .addClass('ui-widget-overlay ui-front') .appendTo('body'); $('
').appendTo('body') .css('width', '225px') .css('height', '170px') .css('text-align', 'center') .css('padding', '0.5em') .position({my : "center center", at : "center center", of : window}) .addClass('ui-dialog ui-widget ui-widget-content ui-corner-all ui-front ui-di buttons') .html('
Updating...

Please wait, this may take a while to process...
'); // Submit the change var jqxhr = $.ajax( { type : 'GET', url : '{{ url('forms/league-forms') }}/' + form_id + '/delete-solo-qualifier/' + index, dataType : 'html' }) .done(function (data) { // Reload of refresh is specified location.reload(); }) .fail(function (jqXHR, status, error) { var response = jqXHR.responseText; var errorData = $.parseJSON(response); //console.log(errorData); alert ("There was an error saving changes.\n\nThis page will be reloaded."); location.reload(); }); } }, { text : "Cancel", 'class' : "float_right", 'data-autofocus' : "true", icons : { primary : 'ui-icon-cancel'}, click : function() { // Close the dialog box $(this).dialog("close"); $(this).remove(); } } ], open : function () { var dialog_object = $(this); var html = '
'; html += ''; html += 'Are you sure you want to remove this qualifier?'; html += '

'; html += '
This cannot be undone.
'; html += '
'; dialog_object.html(html); $('.ui-dialog-buttonpane').css('padding', '0 0.5em').css('font-size', '9pt'); $('.ui-dialog-buttonpane .ui-dialog-buttonset').css('width', '100%'); $('[data-autofocus="true"]').focus(); }, close : function () { var dialog_object = $(this); $(dialog_object).remove(); } }); }); @endif @stop @section('page_functions') @if (!is_null($information['league'])) Back @else @if (Auth::check() and Auth::user()->isOsaaUser()) Download Entries @endif Close @endif @stop @section('main_content') {{-- Success Bar --}} @if (Session::has('success'))
{{ Session::get('success') }}
@endif @if ($information['is_past_due'])
This form was due by {{ date('g:i A l, F j, Y', strtotime($information['activity_form']->due_at)) }} and is now past the deadline. Please submit your entries now before the form closes and becomes unavailable.
@endif {{-- Need to select a league --}} @if (is_null($information['league']))
{{-- Select League Form --}}

District Results - For District Directors


This form is for District Directors to submit district results and name state qualifying participants.

Instructions
  1. Select the special district from the drop-down list.
  2. Type in the password provided by the OSAA.
  3. Click Next to continue with submitting entries.
  4. Note: All entries must be submitted by {{ date('g:i A l, F j, Y', strtotime($information['activity_form']->due_at . ' -4 days')) }} using this online form.

For questions, contact {{ $information['staff']->first_name }} {{ $information['staff']->last_name }} at (503) 682-6722 x239 or by e-mail to {{ Helpers::obfuscateEmailLink ($information['staff']->email) }}. For technical assistance, you can email {{ Helpers::obfuscateEmailLink ("support@osaa.org") }}.

Special Districts

{{ Form::open(array('url' => url('/forms/registration/' . strtolower($information['activity']->slug)), 'method' => 'get', 'id' => 'select_league_form')) }}
District
{{ Form::select('league', $information['leagues_list'], null, array('style' => 'margin-top: 0.5em;')) }}
Key Code/Password
{{ Form::text('code', null, array('style' => 'margin-top: 0.5em; width: 170px;')) }}

{{ Form::submit('Next', array('class' => 'next_button', 'style' => 'font-size: 9pt; margin-top: 0.5em;')) }}
{{ Form::close() }}


Note to District Directors

Use this form to submit your district's results. You may resubmit this form as many times as needed until the deadline. To complete this form, you will need to supply the following information.

  • Your contact information (name, e-mail address, phone number)
  • State qualifiers' information (name, school, grade, category, placement)

{{-- Additional Information Form for Coaches/ADs --}}

Additional Information - For Schools


This form is for Schools to submit additional information for their school's state qualifying participants.

Instructions
    @if (Helpers::strEqual($information['user_status'], 'NOT LOGGED IN'))
  1. You must be logged into your OSAA website account in order to access this form.
  2. Click here to log in, after which you will be redirected back to this page.
  3. @elseif (Helpers::strEqual($information['user_status'], 'NOT LINKED'))
  4. Your account is not linked to any music program so you will not be able to access this form.
  5. Click here to link your account to a new school/role for music.
  6. For additional assistance with OSAA website accounts, please refer to the OSAA Help page. @elseif (Helpers::strEqual($information['user_status'], 'NO QUALIFIERS'))
  7. No participants from your school have been submitted as state qualifiers. You must wait for your special district results to be submitted before accessing this form.
  8. @elseif (Helpers::strEqual($information['user_status'], 'OK'))
  9. Select your state qualifier from the list below.
  10. Click the View/Edit button to add or modify additional information for the selected participant.
  11. @endif
  12. Note: All additional information must be submitted by {{ date('g:i A l, F j, Y', strtotime($information['activity_form']->due_at)) }} using this online form.

For questions, contact {{ $information['staff']->first_name }} {{ $information['staff']->last_name }} at (503) 682-6722 x239 or by e-mail to {{ Helpers::obfuscateEmailLink ($information['staff']->email) }}. For technical assistance, you can email {{ Helpers::obfuscateEmailLink ("support@osaa.org") }}.

@if (Helpers::strEqual($information['user_status'], array('NOT LOGGED IN', 'NOT LINKED')))

This Form Is Unavailable - No Access





@elseif (Helpers::strEqual($information['user_status'], array('NO QUALIFIERS')))

This Form Is Unavailable - No Qualifiers





@else

{{ Helpers::getActivityName($information['activity']->slug) }} State Qualifiers

{{ Form::open(array('url' => url('/forms/registration/' . strtolower($information['activity']->slug)), 'method' => 'post', 'id' => 'asi_form')) }}
Qualifiers
View/Edit
{{ Form::close() }}

@endif @if (Session::has('ai_error_message'))
There was an error; unable to save additional information:
{{ Session::get('ai_error_message') }}

@endif

Note to Schools

Use this form to edit your participants' information. You may resubmit this form as many times as needed until the deadline. You must provide the following information:

  • Participant's grade in school and their musical selections
  • Accompanist's name and contact information
  • Director's contact information




{{-- A league is selected --}} @else
Form ID {{ $information['submission']->id }}
Created at {{ date('g:i a m/d/Y', strtotime($information['submission']->created_at)) }}
Updated at {{ date('g:i a m/d/Y', strtotime($information['submission']->updated_at)) }}
@if (!is_null($information['submission']->submitted_at)) Submitted at {{ date('g:i a m/d/Y', strtotime($information['submission']->submitted_at)) }}
@endif
Fatal error: Call to undefined function asset() in /home/osaa/web_app/dev/app/views/forms/sol_registration.blade.php on line 1537