CINXE.COM
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <script src="/form/static/111213/js/perf/stub.js" type="text/javascript"></script><script src="/form/jslibrary/1698336665252/sfdc/NetworkTracking.js" type="text/javascript"></script><script>try{ NetworkTracking.init('/form/_ui/networks/tracking/NetworkTrackingServlet', 'network', '0666g000007mswB'); }catch(x){}</script><script>(function(UITheme) { UITheme.getUITheme = function() { return UserContext.uiTheme; }; }(window.UITheme = window.UITheme || {}));</script><meta HTTP-EQUIV="PRAGMA" CONTENT="NO-CACHE" /> <meta HTTP-EQUIV="Expires" content="Mon, 01 Jan 1990 12:00:00 GMT" /> <script src="/form/resource/1732248764000/TargetX_Eventsb__JSresources/jquery.min.3.0.0.js"></script> <script src="/form/resource/1732248764000/TargetX_Eventsb__JSresources/jquery-ui.min.1.12.0.js"></script> <script type="text/javascript"> function getUrlVars() { var vars = {}; var parts = window.location.href.replace(/[?&]+([^=&]+)=([^&]*)/gi, function(m,key,value) { vars[key] = value; }); return vars; } function preventEnterSubmission() { $(document).on("keypress", ":input:not(textarea)", function (event) { if (event.keyCode == 13) { event.preventDefault(); } }); } var params = getUrlVars() ; if (params['hideSubmit'] == '1') { var newStyle = document.createElement("STYLE"); var hideSupportInfoStyle = document.createTextNode(".supportInfo {display:none}"); var hideCaptchaActionsStyle = document.createTextNode(".actions .primaryAction, #disabled-explanation {display:none !important}"); newStyle.appendChild(hideSupportInfoStyle); newStyle.appendChild(hideCaptchaActionsStyle); document.head.appendChild(newStyle); preventEnterSubmission(); } function sizeiFrame() { // Only run if we're sure we're iframed, to prevent issues if(!params['hideSubmit'] == '1') return ; var cont = document.getElementsByClassName('wFormContainer')[0] ; parent.resizeIframe(cont.scrollHeight); var lastHeight = cont.scrollHeight ; setInterval(function(){ if (cont.scrollHeight != lastHeight) { lastHeight = cont.scrollHeight; parent.resizeIframe(cont.scrollHeight); } }, 1000); } </script><!-- FORM: HEAD SECTION --> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta name="referrer" content="no-referrer-when-downgrade"> <!-- THIS SCRIPT NEEDS TO BE LOADED FIRST BEFORE wforms.js --> <script type="text/javascript" data-for="FA__DOMContentLoadedEventDispatch" src="https://valenciacollegeflorida.tfaforms.net/js/FA__DOMContentLoadedEventDispatcher.js" defer></script> <style> .captcha { padding-bottom: 1em !important; } .wForm .captcha .oneField { margin: 0; padding: 0; } </style> <script type="text/javascript"> // initialize our variables var captchaReady = 0; var wFORMSReady = 0; var isConditionalSubmitEnabled = false; // when wForms is loaded call this var wformsReadyCallback = function () { // using this var to denote if wForms is loaded wFORMSReady = 1; isConditionalSubmitEnabled = document.getElementById('submit_button').hasAttribute('data-condition'); // call our recaptcha function which is dependent on both // wForms and an async call to google // note the meat of this function wont fire until both // wFORMSReady = 1 and captchaReady = 1 onloadCallback(); } var gCaptchaReadyCallback = function() { // using this var to denote if captcha is loaded captchaReady = 1; isConditionalSubmitEnabled = document.getElementById('submit_button').hasAttribute('data-condition'); // call our recaptcha function which is dependent on both // wForms and an async call to google // note the meat of this function wont fire until both // wFORMSReady = 1 and captchaReady = 1 onloadCallback(); }; // add event listener to fire when wForms is fully loaded document.addEventListener("wFORMSLoaded", wformsReadyCallback); var enableSubmitButton = function() { var submitButton = document.getElementById('submit_button'); var explanation = document.getElementById('disabled-explanation'); var isConditionalSubmitConditionMet = wFORMS.behaviors.condition.isConditionalSubmitConditionMet; if ( submitButton != null && (isConditionalSubmitEnabled && isConditionalSubmitConditionMet) || !isConditionalSubmitEnabled ) { submitButton.removeAttribute('disabled'); if (explanation != null) { explanation.style.display = 'none'; } } }; var disableSubmitButton = function() { var submitButton = document.getElementById('submit_button'); var explanation = document.getElementById('disabled-explanation'); if (submitButton != null) { submitButton.disabled = true; if (explanation != null) { explanation.style.display = 'block'; } } }; // call this on both captcha async complete and wforms fully // initialized since we can't be sure which will complete first // and we need both done for this to function just check that they are // done to fire the functionality var onloadCallback = function () { // if our captcha is ready (async call completed) // and wFORMS is completely loaded then we are ready to add // the captcha to the page if (captchaReady && wFORMSReady) { grecaptcha.enterprise.render('g-recaptcha-render-div', { 'sitekey': '6LfMg_EaAAAAAMhDNLMlgqDChzmtYHlx1yU2y7GI', 'theme': 'light', 'size': 'normal', 'callback': 'enableSubmitButton', 'expired-callback': 'disableSubmitButton' }) var oldRecaptchaCheck = parseInt('1'); if (oldRecaptchaCheck === -1) { var standardCaptcha = document.getElementById("tfa_captcha_text"); standardCaptcha = standardCaptcha.parentNode.parentNode.parentNode; standardCaptcha.parentNode.removeChild(standardCaptcha); } if (!wFORMS.instances['paging']) { document.getElementById("g-recaptcha-render-div").parentNode.parentNode.parentNode.style.display = "block"; //document.getElementById("g-recaptcha-render-div").parentNode.parentNode.parentNode.removeAttribute("hidden"); } document.getElementById("g-recaptcha-render-div").getAttributeNode('id').value = 'tfa_captcha_text'; var captchaError = ''; if (captchaError == '1') { var errMsgText = 'The CAPTCHA was not completed successfully.'; var errMsgDiv = document.createElement('div'); errMsgDiv.id = "tfa_captcha_text-E"; errMsgDiv.className = "err errMsg"; errMsgDiv.innerText = errMsgText; var loc = document.querySelector('.g-captcha-error'); loc.insertBefore(errMsgDiv, loc.childNodes[0]); /* See wFORMS.behaviors.paging.applyTo for origin of this code */ if (wFORMS.instances['paging']) { var b = wFORMS.instances['paging'][0]; var pp = base2.DOM.Element.querySelector(document, wFORMS.behaviors.paging.CAPTCHA_ERROR); if (pp) { var lastPage = 1; for (var i = 1; i < 100; i++) { if (b.behavior.isLastPageIndex(i)) { lastPage = i; break; } } b.jumpTo(lastPage); } } } } } </script> <script src='https://www.google.com/recaptcha/enterprise.js?onload=gCaptchaReadyCallback&render=explicit&hl=en_US' async defer></script> <script type="text/javascript"> document.addEventListener("DOMContentLoaded", function() { var warning = document.getElementById("javascript-warning"); if (warning != null) { warning.parentNode.removeChild(warning); } var oldRecaptchaCheck = parseInt('1'); if (oldRecaptchaCheck !== -1) { var explanation = document.getElementById('disabled-explanation'); var submitButton = document.getElementById('submit_button'); if (submitButton != null) { submitButton.disabled = true; if (explanation != null) { explanation.style.display = 'block'; } } } }); </script> <script type="text/javascript"> document.addEventListener("FA__DOMContentLoaded", function(){ const FORM_TIME_START = Math.floor((new Date).getTime()/1000); let formElement = document.getElementById("tfa_0"); if (null === formElement) { formElement = document.getElementById("0"); } let appendJsTimerElement = function(){ let formTimeDiff = Math.floor((new Date).getTime()/1000) - FORM_TIME_START; let cumulatedTimeElement = document.getElementById("tfa_dbCumulatedTime"); if (null !== cumulatedTimeElement) { let cumulatedTime = parseInt(cumulatedTimeElement.value); if (null !== cumulatedTime && cumulatedTime > 0) { formTimeDiff += cumulatedTime; } } let jsTimeInput = document.createElement("input"); jsTimeInput.setAttribute("type", "hidden"); jsTimeInput.setAttribute("value", formTimeDiff.toString()); jsTimeInput.setAttribute("name", "tfa_dbElapsedJsTime"); jsTimeInput.setAttribute("id", "tfa_dbElapsedJsTime"); jsTimeInput.setAttribute("autocomplete", "off"); if (null !== formElement) { formElement.appendChild(jsTimeInput); } }; if (null !== formElement) { if(formElement.addEventListener){ formElement.addEventListener('submit', appendJsTimerElement, false); } else if(formElement.attachEvent){ formElement.attachEvent('onsubmit', appendJsTimerElement); } } }); </script> <link href="https://valenciacollegeflorida.tfaforms.net/dist/form-builder/5.0.0/wforms-layout.css?v=cce090a370aef980bf1ffc5ccb5c9b9185cbd8b1" rel="stylesheet" type="text/css" /> <link href="https://valenciacollegeflorida.tfaforms.net/uploads/themes/theme-25.css" rel="stylesheet" type="text/css" /> <link href="https://valenciacollegeflorida.tfaforms.net/dist/form-builder/5.0.0/wforms-jsonly.css?v=cce090a370aef980bf1ffc5ccb5c9b9185cbd8b1" rel="alternate stylesheet" title="This stylesheet activated by javascript" type="text/css" /> <script type="text/javascript" src="https://valenciacollegeflorida.tfaforms.net/wForms/3.11/js/wforms.js?v=cce090a370aef980bf1ffc5ccb5c9b9185cbd8b1"></script> <script type="text/javascript"> if(wFORMS.behaviors.prefill) wFORMS.behaviors.prefill.skip = true; </script> <script type="text/javascript" src="https://valenciacollegeflorida.tfaforms.net/wForms/3.11/js/localization-en_US.js?v=cce090a370aef980bf1ffc5ccb5c9b9185cbd8b1"></script> <script> var FAoldJQ; if (typeof $ != 'undefined' && $.noConflict) FAoldJQ = $.noConflict(true); </script> <script src="https://valenciacollegeflorida.tfaforms.net/dist/jquery/jquery.0416573c648d279fd758.js"></script> <script src="https://valenciacollegeflorida.tfaforms.net/js/typeahead/v1.2.0/typeahead.bundle.js"></script> <script> var FA$ = $.noConflict(true); if (FAoldJQ) $ = FAoldJQ; </script> <link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.4.0/css/font-awesome.min.css" rel="stylesheet" type="text/css" /> </head> <body onload="sizeiFrame()"> <meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0" name="viewport" /> <script src="/soap/ajax/23.0/connection.js"></script> <link href="/form/resource/1732248764000/TargetX_Eventsb__JSresources/themes.1.12.0/smoothness/jquery-ui.min.css" rel="stylesheet" /><span class="default wFormWebPage"> <div class="wFormContainer" > <div class="wFormHeader"></div> <style type="text/css"> #tfa_70, *[id^="tfa_70["] { width: 256px !important; } #tfa_70-D, *[id^="tfa_70["][class~="field-container-D"] { width: auto !important; } #tfa_70-L, label[id^="tfa_70["] { width: 108px !important; min-width: 0px; } #tfa_68, *[id^="tfa_68["] { width: 86px !important; } #tfa_68-D, *[id^="tfa_68["][class~="field-container-D"] { width: auto !important; } #tfa_72, *[id^="tfa_72["] { width: 296px !important; } #tfa_72-D, *[id^="tfa_72["][class~="field-container-D"] { width: auto !important; } #tfa_72-L, label[id^="tfa_72["] { width: 68px !important; min-width: 0px; } #tfa_5, *[id^="tfa_5["] { width: 308px !important; } #tfa_5-D, *[id^="tfa_5["][class~="field-container-D"] { width: auto !important; } #tfa_6, *[id^="tfa_6["] { width: 308px !important; } #tfa_6-D, *[id^="tfa_6["][class~="field-container-D"] { width: auto !important; } #tfa_8, *[id^="tfa_8["] { width: 308px !important; } #tfa_8-D, *[id^="tfa_8["][class~="field-container-D"] { width: auto !important; } #tfa_34, *[id^="tfa_34["] { width: 308px !important; } #tfa_34-D, *[id^="tfa_34["][class~="field-container-D"] { width: auto !important; } #tfa_10, *[id^="tfa_10["] { width: 308px !important; } #tfa_10-D, *[id^="tfa_10["][class~="field-container-D"] { width: auto !important; } #tfa_41, *[id^="tfa_41["] { width: 300px !important; } #tfa_41-D, *[id^="tfa_41["][class~="field-container-D"] { width: auto !important; } #tfa_16, *[id^="tfa_16["] { width: 314px !important; } #tfa_16-D, *[id^="tfa_16["][class~="field-container-D"] { width: auto !important; } #tfa_20, *[id^="tfa_20["] { width: 299px !important; } #tfa_20-D, *[id^="tfa_20["][class~="field-container-D"] { width: auto !important; } #tfa_36, *[id^="tfa_36["] { width: 314px !important; } #tfa_36-D, *[id^="tfa_36["][class~="field-container-D"] { width: auto !important; } #tfa_38, *[id^="tfa_38["] { width: 700px !important; } #tfa_38-D, *[id^="tfa_38["][class~="field-container-D"] { width: auto !important; } #tfa_38, *[id^="tfa_38["] { height: !important } #tfa_38-D, *[id^="tfa_38["][class~="field-container-D"] { height: auto !important; } #tfa_38-L, label[id^="tfa_38["], *[id^="tfa_38["][id$="-L"] { height: auto !important; } </style><div class=""><div class="wForm" id="217726-WRPR" data-language="en_US" dir="ltr"> <div class="codesection" id="code-217726"> </div> <form method="post" action="https://valenciacollegeflorida.tfaforms.net/api_v2/rest/workflow/processor" class="hintsBelow labelsAbove" id="217726"> <div class="htmlSection" id="tfa_3"><div class="htmlContent" id="tfa_3-HTML">Thank you for your interest in Valencia College. Please complete the following request form to receive information from our international staff members. </div></div> <fieldset id="tfa_69" class="section wf-acl-hidden"> <div id="tfa_71" class="section inline group"> <div class="oneField field-container-D labelsLeftAligned " id="tfa_70-D"> <label id="tfa_70-L" class="label preField " for="tfa_70">Form Name</label><div class="inputWrapper"><input type="text" id="tfa_70" name="tfa_70" value="INTL - Prospect Inquiry Form" default="INTL - Prospect Inquiry Form" title="Form Name" class=""></div> </div> <div class="oneField field-container-D labelsLeftAligned " id="tfa_68-D"> <label id="tfa_68-L" class="label preField " for="tfa_68"><span style="font-size:11.0pt;line-height:107%; font-family:"Calibri",sans-serif;mso-fareast-font-family:"Times New Roman"; color:black;mso-ansi-language:EN-US;mso-fareast-language:EN-US;mso-bidi-language: AR-SA">GPCE</span></label><div class="inputWrapper"><input type="text" id="tfa_68" name="tfa_68" value="ISRGE" default="ISRGE" title="GPCE" class=""></div> </div> </div> <div class="oneField field-container-D labelsLeftAligned " id="tfa_72-D"> <label id="tfa_72-L" class="label preField " for="tfa_72">Source</label><div class="inputWrapper"><select id="tfa_72" name="tfa_72" title="Source" class=""><option value="">Please select...</option> <option value="tfa_74" id="tfa_74" class="" selected data-default-value="true">Web Inquiry Form</option></select></div> </div> </fieldset> <fieldset id="tfa_4" class="section"> <legend id="tfa_4-L">Contact Information</legend> <div id="tfa_24" class="section inline group"> <div class="oneField field-container-D " id="tfa_5-D"> <label id="tfa_5-L" class="label preField reqMark" for="tfa_5">First Name</label><br><div class="inputWrapper"><input aria-required="true" type="text" id="tfa_5" name="tfa_5" value="" title="First Name" class="validate-custom /[a-zA-Z,-,\s]$/ required"></div> <script type="text/javascript"> if(typeof wFORMS != 'undefined') { if(wFORMS.behaviors.validation) { wFORMS.behaviors.validation.rules['customtfa_5'] = { selector: '*[id="tfa_5"]', check: 'validateCustom'}; wFORMS.behaviors.validation.messages['customtfa_5'] = "Please update First Name without special characters."; } }</script> </div> <div class="oneField field-container-D " id="tfa_6-D"> <label id="tfa_6-L" class="label preField reqMark" for="tfa_6">Last Name</label><br><div class="inputWrapper"><input aria-required="true" type="text" id="tfa_6" name="tfa_6" value="" title="Last Name" class="validate-custom /[a-zA-Z,-,\s ]$/ required"></div> <script type="text/javascript"> if(typeof wFORMS != 'undefined') { if(wFORMS.behaviors.validation) { wFORMS.behaviors.validation.rules['customtfa_6'] = { selector: '*[id="tfa_6"]', check: 'validateCustom'}; wFORMS.behaviors.validation.messages['customtfa_6'] = "Please update Last Name without special characters."; } }</script> </div> </div> <div id="tfa_39" class="section inline group"> <div class="oneField field-container-D " id="tfa_8-D"> <label id="tfa_8-L" class="label preField reqMark" for="tfa_8">Email Address</label><br><div class="inputWrapper"><input aria-required="true" type="text" id="tfa_8" name="tfa_8" value="" title="Email Address" class="validate-email required"></div> </div> <div class="oneField field-container-D hintsBelow " id="tfa_34-D"> <label id="tfa_34-L" class="label preField " for="tfa_34">Date of Birth</label><br><div class="inputWrapper"> <input type="text" id="tfa_34" name="tfa_34" value="" aria-describedby="tfa_34-HH" autoformat="##/##/####" title="Date of Birth" class="validate-date"><span class="field-hint-inactive" id="tfa_34-H"><span id="tfa_34-HH" class="hint">MM/DD/YYYY</span></span> </div> </div> </div> <div id="tfa_42" class="section inline group"> <div class="oneField field-container-D " id="tfa_10-D"> <label id="tfa_10-L" class="label preField reqMark" for="tfa_10">Country of Citizenship</label><br><div class="inputWrapper"> <input aria-required="true" type="text" id="tfa_10" name="tfa_10" value="" title="Country of Citizenship" data-dataset-allow-free-responses="0" data-dataset-clear-cache="" autocomplete="off" data-dataset-parameters="undefined" data-dataset-timestamp="1607996202" data-dataset-id="1e2c322d-7a3d-425f-9fd4-87e065f6f4a5" data-dataset-map="" data-dataset-type="salesforce-picklist" data-dataset-url="https://valenciacollegeflorida.tfaforms.net/api_v2/datasets" class="required wfAutosuggest"><i class="fa fa-spinner fa-pulse fa-fw tt-spinner"></i><i class="fa fa-search tt-search" aria-hidden="true"></i><i class="fa fa-times-circle tt-clear no-input" tabindex="0" aria-label="Clear field" role="button"></i> </div> </div> <div class="oneField field-container-D " id="tfa_41-D"> <label id="tfa_41-L" class="label preField " for="tfa_41">Gender</label><br><div class="inputWrapper"> <input type="text" id="tfa_41" name="tfa_41" value="" title="Gender" data-dataset-allow-free-responses="0" data-dataset-clear-cache="" autocomplete="off" data-dataset-parameters="undefined" data-dataset-timestamp="1607996177" data-dataset-id="975e1c01-45a5-4051-b356-6455733bb306" data-dataset-map="" data-dataset-type="salesforce-picklist" data-dataset-url="https://valenciacollegeflorida.tfaforms.net/api_v2/datasets" class="wfAutosuggest"><i class="fa fa-spinner fa-pulse fa-fw tt-spinner"></i><i class="fa fa-search tt-search" aria-hidden="true"></i><i class="fa fa-times-circle tt-clear no-input" tabindex="0" aria-label="Clear field" role="button"></i> </div> </div> </div> </fieldset> <fieldset id="tfa_15" class="section"> <legend id="tfa_15-L">Program of Interest</legend> <div id="tfa_26" class="section inline group"> <div class="oneField field-container-D " id="tfa_16-D"> <label id="tfa_16-L" class="label preField " for="tfa_16">Anticipated Start Term</label><br><div class="inputWrapper"><select id="tfa_16" name="tfa_16" title="Anticipated Start Term" class=""><option value="">Please select...</option> <option value="tfa_84" id="tfa_84" class="">Fall 2023</option> <option value="tfa_85" id="tfa_85" class="">Spring 2024</option> <option value="tfa_86" id="tfa_86" class="">Summer 2024</option> <option value="tfa_87" id="tfa_87" class="">Fall 2024</option> <option value="tfa_88" id="tfa_88" class="">Spring 2025</option> <option value="tfa_89" id="tfa_89" class="">Summer 2025</option> <option value="tfa_90" id="tfa_90" class="">Fall 2025</option> <option value="tfa_92" id="tfa_92" class="">Spring 2026</option></select></div> </div> <div class="oneField field-container-D " id="tfa_20-D"> <label id="tfa_20-L" class="label preField " for="tfa_20">Area of Interest</label><br><div class="inputWrapper"><select id="tfa_20" name="tfa_20" title="Area of Interest" class=""><option value="">Please select...</option> <option value="tfa_21" id="tfa_21" class="">General Studies</option> <option value="tfa_22" id="tfa_22" class="">Arts and Entertainment</option> <option value="tfa_23" id="tfa_23" class="">Business</option> <option value="tfa_43" id="tfa_43" class="">Communications</option> <option value="tfa_48" id="tfa_48" class="">Education</option> <option value="tfa_49" id="tfa_49" class="">Engineering and Technology</option> <option value="tfa_50" id="tfa_50" class="">Health Sciences and Nursing</option> <option value="tfa_51" id="tfa_51" class="">Hospitality and Culinary</option> <option value="tfa_52" id="tfa_52" class="">Information Technology</option> <option value="tfa_53" id="tfa_53" class="">Plant Science and Agricultural Technology</option> <option value="tfa_54" id="tfa_54" class="">Public Safety and Paralegal Studies</option> <option value="tfa_55" id="tfa_55" class="">Science and Mathematics</option> <option value="tfa_56" id="tfa_56" class="">Social Sciences</option> <option value="tfa_91" id="tfa_91" class="">Intensive English Program (IEP)</option></select></div> </div> </div> </fieldset> <fieldset id="tfa_37" class="section"> <div class="oneField field-container-D " id="tfa_36-D"> <label id="tfa_36-L" class="label preField " for="tfa_36">How did you hear about us?</label><br><div class="inputWrapper"> <input type="text" id="tfa_36" name="tfa_36" value="" title="How did you hear about us?" data-dataset-allow-free-responses="0" data-dataset-clear-cache="" autocomplete="off" data-dataset-parameters="undefined" data-dataset-timestamp="1603979932" data-dataset-id="dc836e68-a4a3-4e1d-b5ff-72b916e301a6" data-dataset-map="" data-dataset-type="salesforce-picklist" data-dataset-url="https://valenciacollegeflorida.tfaforms.net/api_v2/datasets" class="wfAutosuggest"><i class="fa fa-spinner fa-pulse fa-fw tt-spinner"></i><i class="fa fa-search tt-search" aria-hidden="true"></i><i class="fa fa-times-circle tt-clear no-input" tabindex="0" aria-label="Clear field" role="button"></i> </div> </div> <div class="oneField field-container-D " id="tfa_38-D"> <label id="tfa_38-L" class="label preField " for="tfa_38">Questions</label><br><div class="inputWrapper"><textarea id="tfa_38" name="tfa_38" title="Questions" class=""></textarea></div> </div> </fieldset> <div class="actions" id="217726-A" data-contentid="submit_button"> <div id="google-captcha" style="display: none"> <br><div class="captcha"> <div class="oneField"> <div class="g-recaptcha" id="g-recaptcha-render-div"></div> <div class="g-captcha-error"></div> <br> </div> <div class="captchaHelp">reCAPTCHA helps prevent automated form spam.<br> </div> <div id="disabled-explanation" class="captchaHelp" style="display: none">The submit button will be disabled until you complete the CAPTCHA.</div> </div> </div> <input type="submit" data-label="Submit" class="primaryAction" id="submit_button" value="Submit"> </div> <div style="clear:both"></div> <input type="hidden" value="671-8fe9b35883f48e3b93078e1368d67ff5" name="tfa_dbCounters" id="tfa_dbCounters" autocomplete="off"><input type="hidden" value="217726" name="tfa_dbFormId" id="tfa_dbFormId"><input type="hidden" value="" name="tfa_dbResponseId" id="tfa_dbResponseId"><input type="hidden" value="17ca962953fd11d27de1a6824d117fa0" name="tfa_dbControl" id="tfa_dbControl"><input type="hidden" value="" name="tfa_dbWorkflowSessionUuid" id="tfa_dbWorkflowSessionUuid"><input type="hidden" value="1733224846" name="tfa_dbTimeStarted" id="tfa_dbTimeStarted" autocomplete="off"><input type="hidden" value="54" name="tfa_dbVersionId" id="tfa_dbVersionId"><input type="hidden" value="" name="tfa_switchedoff" id="tfa_switchedoff"> </form> </div></div><div class="wFormFooter"><p class="supportInfo"><br></p></div> <p class="supportInfo" > </p> </div> <script id="analytics-collector-script" type="text/javascript" src="https://valenciacollegeflorida.tfaforms.net/dist/analytics/data-collector.7d8063f6d7e0501034b5.js" data-customer-id="41013" data-endpoint="https://analytics.formassembly.com/v1/traces" ></script> </span> <script> fieldCounter = 0; function makeSchoolpicker(fieldname, accType) { fieldname = fieldname.replace(" ",""); fieldname = 'tfa_'+fieldname; var fullNewId = fieldname + "[lookupField" + fieldCounter ; var idEscaped = fieldname + "\\[lookupField" + fieldCounter ; $("#"+fieldname).attr("name",fullNewId);//Rename old field $("#"+fieldname).attr("id",fullNewId); document.getElementById(fullNewId).value = "" ; // Even though it won't do anything, we need to set this on the fake field to avoid javascript errors var con = document.getElementById(fullNewId).getAttribute('data-condition') ; $("#"+fieldname+"-D").append('<input id="'+fieldname+'" name="'+fieldname+'" type="text" style="display:none;" data-condition="' + con + '">'); var respLookup = new Array(); $('#' + idEscaped).autocomplete( { source: function( request, response ) { $.ajax( { url: "/form/TargetX_Eventsb__schoolPicker", type: "POST", dataType: "json", data: { nl: "yes", otl: "Account", term: request.term, type: accType }, success: function( data ) { var respJSON = data; for(var key in respJSON) { var row = respJSON[key]; respLookup[row.value] = row.id; } response(data); } }); }, select:function(event,ui) { $("#"+fieldname).val(respLookup[ui.item.label]); } }); $('#' + idEscaped).blur(function(){ if ($(this).parent().parent().children('input').val()=='') $(this).val(''); }) // Validate that the hidden field actually got a value wFORMS.behaviors.validation.messages['clickedSchoolpicker' + fieldCounter] = "Please select a value from the dropdown"; wFORMS.behaviors.validation.rules['clickedSchoolpicker' + fieldCounter] = { selector: "#"+fieldname, check: function(element) { if(document.getElementById(fieldname+"-D").className.indexOf("required")>0) { var c=document.getElementById(fieldname); if(element.value=='' || element.value==null) { return false ; } } return true; }}; fieldCounter++ ; } function verifyFieldMatch(fieldNum1, fieldNum2) { var field1 = "tfa_" + fieldNum1 ; var field2 = "tfa_" + fieldNum2 ; wFORMS.behaviors.validation.messages['areSame' + fieldCounter] = "The given values do not match"; wFORMS.behaviors.validation.rules['areSame' + fieldCounter] = { selector: "#"+field2, check: function(element) { var c=document.getElementById(field1); if(element.value!=c.value) { return false ; } return true; }}; fieldCounter++ ; } function preventPaste(field) { fieldId = 'tfa_' + field; $('#'+fieldId).bind('paste', function(e) { e.preventDefault(); alert('Copy/Paste not permitted.'); }); } $(function() { // Grey out submit button var _pv = wFORMS.behaviors.validation.onPass; wFORMS.behaviors.validation.onPass = function(f,e){; var submit = base2.DOM.Element.querySelector(document,'.actions .primaryAction[type="submit"]'); if(e && e.type=="submit"){ submit.setAttribute('disabled','disabled'); submit.setAttribute('style','color: grey'); submit.setAttribute('value','Sending...'); } return _pv(f,e); }; }); function addSubmitFunc(submitFunc) { var _pv = wFORMS.behaviors.validation.onFail; wFORMS.behaviors.validation.onFail = function(f,e){; var submit = base2.DOM.Element.querySelector(document,'.actions .primaryAction[type="submit"]'); if(e && e.type=="submit"){ submitFunc() ; } return _pv(f,e); }; } </script> <script type="text/javascript"> if(document.domain.indexOf('force.com')>-1) { document.domain='force.com'; } $("body").addClass("default wFormWebPage"); if(params['loadFunc'] != null && params['loadFunc'] != '') { parent[params['loadFunc']]() ; } </script> <style> .ui-autocomplete { max-height: 100px; overflow-y: auto; /* prevent horizontal scrollbar */ overflow-x: hidden; /* add padding to account for vertical scrollbar */ padding-right: 20px; z-index: 500 !important;/* Make schoolpicker appear above masked fields below it*/ font-size: 75%; } html, body { -webkit-overflow-scrolling: touch; } </style> </body> </html>