CINXE.COM

Login

<!DOCTYPE html> <html dir="ltr" lang="en-GB" class="js svg svgfilters placeholder inlinesvg supports cssfilters"> <!--<![endif]--> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <title> Login </title> <link rel="stylesheet" href="https://www.w3schools.com/w3css/4/w3.css"> <link rel="shortcut icon" href="https://www.ifst.org/sites/all/themes/custom/IFST_IE/favicon.ico"> <script src="https://code.jquery.com/jquery-1.12.0.min.js"></script> <script src="https://code.jquery.com/ui/1.12.0/jquery-ui.min.js"></script> <link rel="stylesheet" href="https://code.jquery.com/ui/1.12.0/themes/smoothness/jquery-ui.css" /> <link type="text/css" rel="stylesheet" href="/Content/A.style.min.css,qver=091720191212.pagespeed.cf.15_eI4yjpj.css" /> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.0/css/bootstrap.min.css" /> <!-- Latest compiled and minified JavaScript --> <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.0/js/bootstrap.min.js" type="text/javascript"></script> <link rel="profile" href="http://www.w3.org/1999/xhtml/vocab" /> <link href="../../Content/oomiWeb.css" rel="stylesheet" /> <link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css" rel="stylesheet"> <link rel="stylesheet" href="../../Content/theme.css"> <link href="../../Content/ifstCustom.css" rel="stylesheet" /> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/multi-select/0.9.12/css/multi-select.css"> <link href="https://fonts.googleapis.com/css2?family=Open+Sans&display=swap" rel="stylesheet"> <link rel="stylesheet" href="/Content/application.css?rijxol"> <link rel="stylesheet" href="/Content/superfish.css?rijxol"> <link rel="stylesheet" href="/Content/cocomoon.css?rijxol"> <style> .tm-main { padding: 0px; } #ui-datepicker-div { width: 335px; } .ui-widget-content { border: 0px !important; } .uk-navbar-nav > .uk-parent:nth-child(2) { display: block !important; } .ui-dialog-titlebar-close { color: black; font-size: 11px !important; padding: 0px !important; } @media (min-width: 1200px) { .container { width: 1200px !important; } } header { border-bottom: 1px solid #f2f2f2 !important; } </style> </head> <body class="tm-isblog"> <style> .w3-modal-content { margin: auto; background-color: #fff; position: relative; padding: 0; outline: 0; width: 550px; } .w3-teal{ background-color:rgba(182, 192, 0, 0.5) !important } .ModelForm-Footer{ padding-top: 5px; padding-bottom: 5px; } .ModelForm-Footer-ButtonWidth{ width: 100px; } </style> <div id="ModelForm" class="w3-modal"> <div class="w3-modal-content"> <header class="w3-container w3-teal"> <span onclick="document.getElementById('ModelForm').style.display='none'" class="w3-button w3-display-topright">&times;</span> <h2 id="ModelForm_HeaderText">Alert!</h2> </header> <div class="w3-container"> <br /> <p id="ModelForm_BodyText">Some text..</p> <br /> </div> <footer class="w3-container w3-teal ModelForm-Footer"> <input type="button" id="ModelForm_btnOK" onclick="HideModelForm()" value="Ok" class="user-menu-button ModelForm-Footer-ButtonWidth" /> </footer> </div> </div> <script> function ShowModelForm(HeaderText, BodyText) { document.getElementById('ModelForm_HeaderText').innerHTML = HeaderText; document.getElementById('ModelForm_BodyText').innerHTML = BodyText; document.getElementById('ModelForm').style.display = 'block'; } function HideModelForm() { document.getElementById('ModelForm').style.display = 'none'; } </script> <div id="preLoaderDiv" style="z-index: 1; height: 100%; width: 100%; position: fixed; opacity: 0.5; background-color: white; display: none; text-align: center;"> <div id="preLoaderDiv1" style="z-index: 1; margin-top: 20%; margin-right: 5px; height: 100%; width: 100%;"> <img id="img444" style="height: 40px;" src="/Images/ajax-loader.gif"> </div> </div> <header id="navbar" role="banner" class="navbar container-fluid navbar-default"> <div class="container"> <div class="navbar-header"> <!-- .btn-navbar is used as the toggle for collapsed navbar content --> <!--[if lte IE 9]> <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse"> <![endif]--> <!--[if gt IE 9]><!--> <button type="button" class="navbar-toggle menu-trigger pull-left" id="trigger-menu"> <!--<![endif]--> <span class="sr-only">Toggle navigation</span> <span class="icon-bar"></span> <span class="icon-bar"></span> <span class="icon-bar"></span> </button> <a href="/search/node" class="search-btn-xs visible-xs pull-left"><i class="fal fa-search"></i></a> <a class="logo navbar-btn pull-left" href="https://www.ifst.org/" title="Home"> <img src="https://www.ifst.org/sites/all/themes/custom/IFST_IE/logo.png" alt="Home"> </a> </div> <div class="navbar-collapse collapse"> <nav role="navigation"> <div class="nav-top-right"> </div> <div class="region region-navigation"> <section id="block-system-user-menu" class="block block-system block-menu clearfix"> <ul class="menu nav"> <li class="first last leaf"><a href="/account/login" title="" class="user-menu-button">Log in</a></li> <li class="first last leaf"><a href="/account/register" title="" class="user-menu-button">Register</a></li> </ul> </section> <!-- /.block --> <section id="block-superfish-1" class="block block-superfish clearfix"> <ul id="superfish-1" class="menu sf-menu sf-main-menu sf-horizontal sf-style-none sf-total-items-8 sf-parent-items-7 sf-single-items-1 superfish-processed sf-js-enabled"> <li id="menu-4744-1" class="first odd sf-item-1 sf-depth-1 sf-total-children-4 sf-parent-children-1 sf-single-children-3 menuparent"><a href="https://www.ifst.org/about" class="sf-depth-1 menuparent">About</a><ul class="sf-hidden" style="float: none; width: 21.8571em;"> <li id="menu-4751-1" class="first odd sf-item-1 sf-depth-2" style=""><a href="https://www.ifst.org/about/how-we-are-run-our-governance" class="sf-depth-2" style="">How we are run: our governance</a></li> <li id="menu-4742-1" class="middle even sf-item-2 sf-depth-2 sf-no-children" style=""><a href="https://www.ifst.org/about-ifst/our-background" class="sf-depth-2" style="">Our background</a></li> <li id="menu-3063-1" class="middle odd sf-item-3 sf-depth-2 sf-no-children" style=""><a href="https://www.ifst.org/about-ifst/past-officers-ifst" class="sf-depth-2" style="">Past Officers of IFST</a></li> <li id="menu-4748-1" class="last even sf-item-4 sf-depth-2 sf-no-children" style=""><a href="https://www.ifst.org/about-ifst/professional-conduct" class="sf-depth-2" style="">Professional conduct</a></li> </ul> </li> <li id="menu-5967-1" class="active-trail middle even sf-item-2 sf-depth-1 sf-total-children-4 sf-parent-children-2 sf-single-children-2 menuparent"><a href="/membership/index" class="sf-depth-1 menuparent">Membership</a><ul class="sf-hidden" style="float: none; width: 24.0714em;"> <li id="menu-773-1" class="first odd sf-item-1 sf-depth-2 sf-no-children" style=""><a href="/account/dashboard" class="sf-depth-2" style="">My IFST</a></li> <li id="menu-1056-1" class="active-trail middle even sf-item-2 sf-depth-2" style=""><a href="https://www.ifst.org/membership/membership-levels" class="sf-depth-2 active" style="">Membership levels</a></li> <li id="menu-4691-1" class="middle odd sf-item-3 sf-depth-2" style=""><a href="https://www.ifst.org/membership/professional-recognition" class="sf-depth-2" style="">Professional Recognition (Registers)</a></li> <li id="menu-7264-1" class="last even sf-item-4 sf-depth-2 sf-no-children" style=""><a href="https://community.ifst.org/" title="" class="sf-depth-2" style="">Login to IFST Community</a></li> </ul> </li> <li id="menu-4554-1" class="middle odd sf-item-3 sf-depth-1 sf-no-children"><a href="https://www.ifst.org/news" title="New listing page" class="sf-depth-1">News</a></li> <li id="menu-1313-1" class="middle even sf-item-4 sf-depth-1 sf-total-children-3 sf-parent-children-1 sf-single-children-2 menuparent"><a href="/event/list" class="sf-depth-1 menuparent">Events</a><ul class="sf-hidden" style="float: none; width: 26.4286em; display: block;"> <li id="menu-6002-1" class="first odd sf-item-1 sf-depth-2" style=""><a href="https://www.ifst.org/events/webinars" class="sf-depth-2" style="">Webinar Recordings</a></li> <li id="menu-6766-1" class="middle even sf-item-2 sf-depth-2 sf-no-children" style=""><a href="https://www.ifst.org/events/sponsorship-opportunities-webinars" class="sf-depth-2" style="">Sponsorship Opportunities for Webinars</a></li> <li id="menu-6730-1" class="last odd sf-item-3 sf-depth-2 sf-no-children" style=""><a href="https://www.ifst.org/home/accessibility" class="sf-depth-2" style="">Accessibility</a></li> </ul> </li> <li id="menu-4552-1" class="middle odd sf-item-5 sf-depth-1 sf-total-children-6 sf-parent-children-3 sf-single-children-3 menuparent"><a href="https://www.ifst.org/organisations" title="Landing page for For Your Organisation" class="sf-depth-1 menuparent">For Organisations</a><ul class="sf-hidden" style="float: none; width: 27em; display: block;"> <li id="menu-992-1" class="first odd sf-item-1 sf-depth-2" style=""><a href="https://www.ifst.org/organisations/accreditation-schemes" class="sf-depth-2" style="">Accreditation</a></li> <li id="menu-4692-1" class="middle even sf-item-2 sf-depth-2 sf-no-children" style=""><a href="https://www.ifst.org/organisations/consultants" class="sf-depth-2" style="">Find a Consultant</a></li> <li id="menu-2888-1" class="middle odd sf-item-3 sf-depth-2 sf-no-children" style=""><a href="https://www.ifst.org/organisations/corporate-supporters" class="sf-depth-2" style="">Corporate Supporters</a></li> <li id="menu-779-1" class="middle even sf-item-4 sf-depth-2" style=""><a href="https://www.ifst.org/organisations/group-schemes-organisations" class="sf-depth-2" style="">Group Schemes for Organisations</a></li> <li id="menu-4693-1" class="middle odd sf-item-5 sf-depth-2 sf-no-children" style=""><a href="https://www.ifst.org/organisations/group-schemes-universities" class="sf-depth-2" style="">Groups Schemes for Universities</a></li> <li id="menu-825-1" class="last even sf-item-6 sf-depth-2" style=""><a href="https://www.ifst.org/accreditation-schemes/safe" title="SALSA is a food-safety standard operated throughout the UK by IFST. SALSA certification is only granted to suppliers who are able to demonstrate to an auditor that they are able to produce safe and legal food and are committed to continually meeting the requirements of the SALSA standard. Only those on the IFST Register of Professional Food Auditors and Mentors may become a SALSA auditor or mentor." class="sf-depth-2" style="">Safe and Local Supplier Approval (SALSA)</a></li> </ul> </li> <li id="menu-4533-1" class="middle even sf-item-6 sf-depth-1 sf-total-children-6 sf-parent-children-4 sf-single-children-2 menuparent"><a href="https://www.ifst.org/education-careers" title="Landing page for develop your career" class="sf-depth-1 menuparent">Education &amp; Careers</a><ul class="sf-hidden" style="float: none; width: 27em;"> <li id="menu-4690-1" class="first odd sf-item-1 sf-depth-2" style=""><a href="https://www.ifst.org/education-careers/ifst-networks" class="sf-depth-2" style="">IFST Networks</a></li> <li id="menu-5916-1" class="middle even sf-item-2 sf-depth-2" style=""><a href="https://www.ifst.org/education-careers/students-apprentices" class="sf-depth-2" style="">Students &amp; Apprentices</a></li> <li id="menu-7279-1" class="middle odd sf-item-3 sf-depth-2" style=""><a href="https://www.ifst.org/education-careers/career-mapping-and-resources" class="sf-depth-2" style="">Career Mapping and Resources</a></li> <li id="menu-7282-1" class="middle even sf-item-4 sf-depth-2 sf-no-children" style=""><a href="https://www.ifst.org/membership/professional-recognition" title="" class="sf-depth-2" style="">Professional Recognition (Registers)</a></li> <li id="menu-993-1" class="middle odd sf-item-5 sf-depth-2" style=""><a href="https://www.ifst.org/education-careers/continuous-professional-development-cpd" class="sf-depth-2" style="">Continuous Professional Development (CPD)</a></li> <li id="menu-7281-1" class="last even sf-item-6 sf-depth-2 sf-no-children" style=""><a href="https://www.ifst.org/lovefoodlovescience" title="" class="sf-depth-2" style="">Love Food Love Science Teacher Resources</a></li> </ul> </li> <li id="menu-5968-1" class="middle odd sf-item-7 sf-depth-1 sf-total-children-4 sf-parent-children-3 sf-single-children-1 menuparent"><a href="https://www.ifst.org/resources-policy" class="sf-depth-1 menuparent">Resources &amp; Policy</a><ul class="sf-hidden" style="float: none; width: 23.0714em; display: block;"> <li id="menu-4808-1" class="first odd sf-item-1 sf-depth-2" style=""><a href="https://www.ifst.org/resources-policy/science-technology-resources" title="" class="sf-depth-2" style="">Science and Technology Resources</a></li> <li id="menu-958-1" class="middle even sf-item-2 sf-depth-2" style=""><a href="https://www.ifst.org/resources-policy/publications" class="sf-depth-2" style="">Publications</a></li> <li id="menu-6946-1" class="middle odd sf-item-3 sf-depth-2" style=""><a href="https://www.ifst.org/resources-policy/ifst-policy" class="sf-depth-2" style="">IFST Policy</a></li> <li id="menu-4569-1" class="last even sf-item-4 sf-depth-2 sf-no-children" style=""><a href="https://www.ifst.org/resources-policy/ifst-formal-responses" class="sf-depth-2" style="">IFST formal responses</a></li> </ul> </li> <li id="menu-6977-1" class="last even sf-item-8 sf-depth-1 sf-total-children-4 sf-parent-children-4 sf-single-children-0 menuparent"><a href="https://www.ifst.org/knowledge-hubs" class="sf-depth-1 menuparent">Knowledge Hubs</a><ul class="sf-hidden" style="float: none; width: 21.2857em;"> <li id="menu-5991-1" class="first odd sf-item-1 sf-depth-2" style=""><a href="https://www.ifst.org/knowledge-hubs/covid-19-knowledge-hub" class="sf-depth-2" style="">COVID-19 Knowledge Hub</a></li> <li id="menu-6996-1" class="middle even sf-item-2 sf-depth-2" style=""><a href="https://www.ifst.org/knowledge-hubs/food-allergens-knowledge-hub" class="sf-depth-2" style="">Food Allergens Knowledge Hub</a></li> <li id="menu-7433-1" class="middle odd sf-item-3 sf-depth-2" style=""><a href="https://www.ifst.org/knowledge-hubs/food-safety-knowledge-hub" class="sf-depth-2" style="">Food Safety Knowledge Hub</a></li> <li id="menu-7266-1" class="last even sf-item-4 sf-depth-2" style=""><a href="https://www.ifst.org/knowledge-hubs/sustainability-knowledge-hub" class="sf-depth-2" style="">Sustainability Knowledge Hub</a></li> </ul> </li> </ul> </section> <!-- /.block --> </div> </nav> </div> </div> </header> <div class="tm-page"> <div class="tm-block tm-block-light"> <div class="uk-container uk-container-center"> <div class="uk-grid data-uk-grid-match data-uk-grid-margin"> <div class="tm-main uk-width-medium-1-1"> <main class="tm-content"> <div class="container_24"> <style> label { display: inline-block; margin: 10px 0; } #ctl00_ctl00_CorePlaceHolder_DisplayPagePlaceHolder_pnlShowWhenLoggedOut { padding: 10px; } #ctl00_ctl00_CorePlaceHolder_DisplayPagePlaceHolder_pnlShowWhenLoggedOut p { font-size: 12px !important; padding: 4.2px; } .tm-page { width: 100%; max-width: 100%; margin: 0 auto; } .container_24, .tm-block-light > .uk-container { width: 100%; max-width: 100%; padding: 0 !important; } #TopMessageBar { position: relative; top: -22px; } </style> <div class="ifst-login-hero-image"></div> <div class="ifst-login-main"> <section class="ifst-login-container"> <h1 class="ifst-login-title">Welcome to your Dashboard</h1> <p class="ifst-login-subtitle"><strong>Log in to continue</strong></p> <form action="/home/login" method="post" class="form ifst-login-form" id="login" name="login" novalidate> <label for="LoginUserName1" class="ifst-login-label">Email:</label> <input class="form-text" id="LoginUserName1" name="LoginUserName1" placeholder="Username" style="text-transform: none;cursor:text;background-color:white;" type="text" value="" /> <span id="for_LoginUserName1" class="validation"><i class='uk-icon uk-icon-warning'>&nbsp;</i>Email is missing.</span> <label for="LoginPassword1">Password:</label> <span class="ifst-login-forgotpassword"><a tabindex="-1" href="/Account/ForgotPassword">Forgot your password?</a></span> <input class="form-text Validation-Password" id="LoginPassword1" name="LoginPassword1" placeholder="Password" style="cursor:text;background-color:white;" type="password" value="" /> <span id="for_LoginPassword1" class="validation"><i class='uk-icon uk-icon-warning'>&nbsp;</i>Password is missing</span> <div style="padding: 5px;"> <input id="IsCompanyLogin" name="IsCompanyLogin" type="checkbox" value="true" /><input name="IsCompanyLogin" type="hidden" value="false" /> <span class="ifst-login-company-span" style="display: inline-flex; vertical-align: sub;">Login as an organisation.</span> </div> <p class="uk-text-center" style="margin-top:10px;"> <input type="submit" id="loginsubmit" class="ifst-login-button loginbtn" value="Log in" /></p> </form> <p class="ifst-login-noaccount"> <small>Don't have an account? <a href="/account/register">Register now to access your Dashboard</a>.</small> <div class="uk-alert uk-alert-info"><small>If you are having trouble logging into our website, please be advised that we have recently upgraded our system, and you may need to <strong><a href="/account/forgotPassword">reset your password</a></strong>. </small></div> </p> </section> <section class="rpcsg-login-noaccount-container ifst-login-well"> <h2><i class="uk-icon uk-icon-user-plus">&nbsp;</i> Don't have an account?</h2> <p>New users must register before logging in. You do not need to be a member of IFST in order to register.</p> <p class=""> <a class="uk-button uk-button-primary" href="/account/register"><i class="uk-icon uk-icon-user-plus">&nbsp;</i> Register </a> </p> </section> <section class="ifst-login-needhelp ifst-login-well"> <h2><i class="uk-icon uk-icon-question-circle">&nbsp;</i> Help logging in</h2> <p>You don't have to register again if you have forgotten your password. Please try to <strong><a href="/account/forgotPassword">reset your password</a></strong>, or <strong><a target="_blank" rel="noopener noreferrer" href="/help/contact">contact us</a></strong> if you need any help.</p> <a href="/Account/ForgotPassword" class="uk-button uk-button-primary"><i class="uk-icon uk-icon-refresh">&nbsp;</i> Reset your password</a> </section> </div> </div> </main> </div> </div> </div> </div> </div> <footer class="footer container"> <div class="region region-footer"> <section id="block-menu-block-10" class="block block-menu-block clearfix"> <div class="menu-block-wrapper menu-block-10 menu-name-menu-main-menu-footer parent-mlid-0 menu-level-1"> <ul class="menu nav"> <li class="first expanded menu-mlid-4544"><a href="https://www.ifst.org/about" title="">About us</a><ul class="menu nav"> <li class="first leaf menu-mlid-5274"><a href="https://www.ifst.org/about" title="">About us </a></li> <li class="leaf menu-mlid-5220"><a href="https://www.ifst.org/meet-board" title="">Meet the Board</a></li> <li class="leaf menu-mlid-4750"><a href="https://www.ifst.org/about-ifst/our-background" title="Information on IFST's history">Our background</a></li> <li class="leaf menu-mlid-4752"><a href="https://www.ifst.org/about/how-we-are-run-our-governance" title="">How we are run</a></li> <li class="last leaf menu-mlid-4568"><a href="https://www.ifst.org/about-ifst/professional-conduct" title="">Professional Conduct</a></li> </ul> </li> <li class="expanded menu-mlid-4670"><a href="https://www.ifst.org/contact-us" title="">Contact us</a><ul class="menu nav"> <li class="first leaf menu-mlid-4695"><a href="https://www.ifst.org/meet-the-team" title="">Meet the team</a></li> <li class="leaf menu-mlid-4786"><a href="https://www.ifst.org/contact-us" title="">Contact us </a></li> <li class="leaf menu-mlid-6986"><a href="https://www.ifst.org/media-pack" title="">Media and advertising information</a></li> <li class="last leaf menu-mlid-7001"><a href="https://www.ifst.org/membership/membership-levels/frequently-asked-questions-faqs" title="">Frequently Asked Questions (FAQs)</a></li> </ul> </li> <li class="expanded menu-mlid-4548"><a href="https://www.ifst.org/career-development/membership-levels" title="">Members</a><ul class="menu nav"> <li class="first leaf menu-mlid-5969"><a href="https://www.ifst.org/career-development/membership-levels" title="">Become a member</a></li> <li class="leaf menu-mlid-4556"><a href="https://www.ifst.org/user/login?destination=/myIFST" title="">Member Login</a></li> <li class="leaf menu-mlid-4574"><a href="https://www.ifst.org/career-development/what-cpd/mycpd" title="">MyCPD</a></li> <li class="leaf menu-mlid-5971"><a href="https://www.ifst.org/career-development/networks-and-communities/regional-branches" title="">Branches</a></li> <li class="leaf menu-mlid-5970"><a href="https://www.ifst.org/career-development/networks-and-communities/special-interest-groups" title="">Special Interest Groups</a></li> <li class="last leaf menu-mlid-6976"><a href="https://www.ifst.org/about/how-we-are-run-our-governance/useful-information-members" title="">Useful information for members</a></li> </ul> </li> <li class="last expanded menu-mlid-4770"><a href="/resources/resource-search" title="">Useful Links</a><ul class="menu nav"> <li class="first leaf menu-mlid-4771"><a href="https://www.ifst.org/resources/resource-search" title="">Resource Search</a></li> <li class="leaf menu-mlid-4785"><a href="https://www.ifst.org/ecotrophelia" title="">Ecotrophelia Competition</a></li> <li class="last leaf menu-mlid-4783"><a href="https://www.ifst.org/lovefoodlovescience" title="">Love Food Love Science Teacher Resources</a></li> </ul> </li> </ul> </div> </section> <!-- /.block --> <section id="block-block-247" class="block block-block footer-social clearfix"> <div class="row"> <div class="col-sm-6 bottom-links"> <!--<a href="/cookies">Cookies</a>--> <p><a href="/privacy">Privacy</a> </p> <!--<a href="/accessibility">Accessibility</a>--> <p><a href="https://www.northbridgedigital.co.uk/" target="_blank">Website and digital experience&nbsp;managed by Northbridge Digital</a></p> </div> <div class="col-sm-6"><a class="far fa-twitter" href="https://twitter.com/ifstnews" target="_blank">Twitter</a> <a class="far fa-linkedin" href="https://www.linkedin.com/company/institute-of-food-science-and-technology" target="_blank">LinkedIn</a> <a class="far fa-facebook" href="https://en-gb.facebook.com/InstituteofFoodScienceandTechnology/" target="_blank">Facebook</a>&nbsp;<a class="far fa-youtube" href="https://www.youtube.com/user/TheIFST" target="_blank">YouTube</a>&nbsp;<a class="far fa-instagram" href="https://www.instagram.com/institute_of_food_science/" target="_blank">Instagram</a></div> </div> </section> <!-- /.block --> </div> </footer> <div id="dialog"></div> <script type="text/javascript"> function updateUsername() { $('#username').val($('#PrimaryEmail').val()); $('#pass1').focus(); } $(document).ready(function () { //alert("start"); $('#logout').hide(); // show Loading Div $('#LoginPassword1').val(''); $('#LoginPassword1').attr('value',''); }); $(window).load(function () { $('#LoginPassword1').val(''); $('#LoginPassword1').attr('value',''); }); $('#regsubmitbtn').click(function (e) { if ($('#pass2').val() != $('#pass1').val()) { $('#errorMessage').css('display', 'block'); e.preventDefault(); } else { $('#errorMessage').css('display', 'none'); } startAnim(); if (!validateForm('', 'register ')) { e.preventDefault(); stopAnim(); } }); $('#loginsubmit').click(function (e) { startAnim(); //if (!validateForm('', 'login ')) { // e.preventDefault(); // stopAnim(); //} }); function validateForm(id, form) { var bln = true; bln = p_validateForm(id, form); return bln; } function check() { $('#errorMessage').css('display', 'none'); } </script> </body> </html> <script type="text/javascript"> $(document).ready(function () { $("#Resetbtn").click(function () { $('.ui-dialog-titlebar-close').append('x'); }); setTimeout(keepAlive, 60000); $('#submitbtn').click(function (e) { startAnim(); var isFormValid = validateForm(''); if (!isFormValid) { stopAnim(); e.preventDefault(); } }); $('#nextbtn').click(function (e) { startAnim(); //var parentId = ""; //if (typeof curPage !== 'undefined') { // if (curPage != null && curPage > 0) { // parentId = "#content_" + curPage + " "; // } //} //var isFormValid = true; //isFormValid = p_validateForm('', parentId); var isFormValid = validateForm(''); if (isFormValid) { if (typeof gridValidationPageNo !== 'undefined' && typeof gridValidationGroupName !== 'undefined') { if (gridValidationPageNo != undefined && gridValidationPageNo != null && gridValidationPageNo != 0 && gridValidationGroupName != undefined && gridValidationGroupName != null && gridValidationGroupName != "" && curPage != undefined && curPage != null && curPage != 0) { if (curPage == gridValidationPageNo) { if ($("#ACC_CONTENT_" + gridValidationGroupName).length > 0) { if ($("#ACC_CONTENT_" + gridValidationGroupName).find(".uk-grid").length == 0) { $("#for_" + gridValidationGroupName).show(); if ($(document).height() > 1500) { $('html, body').animate({ scrollTop: $("#ACC_CONTENT_" + gridValidationGroupName).offset().top - 250 }, 500); } toggleAccordion(gridValidationGroupName); isFormValid = false; } } } } } } if (!isFormValid) { stopAnim(); e.preventDefault(); } }); $('#savebtn').click(function () { TurnOffRequired(); }); $('#btnRegister').click(function () { TurnOffRequired(); }); $('select, input, textarea').change(function () { validateForm($(this).attr('id')); }); //$('select, input, textarea').change(function () { // if ($(this).attr('groupreq') == 'groupreq') { // validateFormGroup($(this).attr('id')); // } // else { // validateForm($(this).attr('id')); // } //}); $("#logoutHref").click(function (event) { startAnim(); }); $('form').submit(function (e) { startAnim(); }); }); function jAlert(text, title) { if (title == '') { title = 'IFST'; } $('#dialog').prop('title', title); $('.ui-dialog-title').html(title); $('#dialog').html(text); $('#dialog').dialog({ width: 400 }); } function jAlertAct(text, title, url1, url2) { if (title == '') { title = 'Alert'; } $('#dialog').prop('title', title); $('.ui-dialog-title').html(title); $('#dialog').html(text); $("#dialog").dialog({ resizable: false, height: 160, modal: true, buttons: { Submit: function () { window.parent.location.href = url1; $(this).dialog("close"); } } }); } function newToggleRequiredFalse(divId) { $('#' + divId + ' input, #' + divId + ' select, #' + divId + ' textarea').each(function () { if ($(this).attr('required') == 'required') { $(this).removeAttr('required'); $('#for_' + $(this).attr('id')).css('display', 'none'); $(this).attr('nr', '1') } }); } function newToggleRequiredTrue(divId) { $('#' + divId + ' input, #' + divId + ' select, #' + divId + ' textarea').each(function () { if ($(this).attr('nr') == '1') { $(this).attr('required', 'required'); $(this).removeAttr('nr'); } }); } function ToggleRequiredFalse(fieldId) { if ($('#' + fieldId).attr('required') == 'required') { $('#' + fieldId).removeAttr('required'); $('#for_' + fieldId).css('display', 'none'); $('#' + fieldId).attr('nr', '3') } } function ToggleRequiredTrue(fieldId) { if ($('#' + fieldId).attr('nr') == '3') { $('#' + fieldId).attr('required', 'required'); $('#' + fieldId).removeAttr('nr'); } } function newToggleReadonlyFalse(divId) { $('#' + divId + ' input, #' + divId + ' select, #' + divId + ' textarea').each(function () { if ($(this).attr('readonly') == 'readonly') { $(this).removeAttr('readonly'); } }); } function newToggleReadonlyTrue(divId) { $('#' + divId + ' input, #' + divId + ' select, #' + divId + ' textarea').each(function () { if ($(this).attr('readonly') != 'readonly') { $(this).attr('readonly', 'readonly'); } }); } function emptyFields(divId) { $('#' + divId + ' input, #' + divId + ' select, #' + divId + ' textarea').each(function () { $(this).val(''); }); } function isNumberKey(evt) { var charCode = (evt.which) ? evt.which : event.keyCode if (charCode > 31 && (charCode < 48 || charCode > 57)) return false; return true; } function TurnOffRequired() { $("#register").attr('novalidate', true); } function scrollerById(id, offset) { if (offset == "") offset = 500; $('html, body').animate({ scrollTop: $('#' + id).offset().top }, offset); } function scrollerByClass(id) { $('html, body').animate({ scrollTop: $('.' + id).offset().top }, 500); } function checkForScriptTags(val, id) { //var regex = /(&nbsp;|<([^>]+)>)/ig; //var body = val; /* $('#' + id).val(body.replace(regex, ""));*/ } function p_validateForm(id, thisform) { if (thisform == null) { thisform = ''; } var bln = true; var scrolled = false; var requiredFields = $(thisform + "[required='required']"); //var requiredFields = $(thisform + "[groupreq='groupreq']"); if (id == "") { $.each(requiredFields, function (key, value) { var id = $(this).attr('id'); if ($(this).is(':checkbox')) { if (!$(this).is(':checked')) { $('#for_' + id).css('display', 'inline-block'); if (!scrolled && $(document).height() > 1500) { $('html, body').animate({ scrollTop: $('#for_' + id).offset().top - 250 }, 500); scrolled = true; } bln = false; } else { $('#for_' + id).css('display', 'none'); } } else if ($(this).is(':radio')) { var val = false; $("[name='" + $(this).attr('name') + "']").not("[type='hidden']").each(function (index, value) { if ($(value).is(':checked')) { val = true; } }) if (!val) { $('#for_' + id).css('display', 'inline-block'); if (!scrolled && $(document).height() > 1500) { $('html, body').animate({ scrollTop: $('#for_' + id).offset().top - 250 }, 500); scrolled = true; } bln = false; } else { $('#for_' + id).css('display', 'none'); //bln = true; } } else if ($(this).is('select, input, textarea')) { var val = $(this).val(); if ($(this).is('input, textarea')) { checkForScriptTags(val, id); } if (val == '') { $('#for_' + id).css('display', 'inline-block'); if (!scrolled && $(document).height() > 1500) { $('html, body').animate({ scrollTop: $('#for_' + id).offset().top - 250 }, 500); scrolled = true; } bln = false; } else { $('#for_' + id).css('display', 'none'); } } }); } else { var blnCheckIfExist = false; $.each(requiredFields, function (key, value) { var exId = $(this).attr('id'); if (id == exId) { blnCheckIfExist = true; } }); if (blnCheckIfExist) { if ($('#' + id).is(':checkbox')) { if (!$('#' + id).is(':checked')) { $('#for_' + id).css('display', 'inline-block'); if (!scrolled && $(document).height() > 1500) { $('html, body').animate({ scrollTop: $('#for_' + id).offset().top - 250 }, 500); scrolled = true; } bln = false; } else { $('#for_' + id).css('display', 'none'); } } else if ($('#' + id).is(':radio')) { var val = false; $("[name='" + id + "']").not("[type='hidden']").each(function (index, value) { if ($(value).is(':checked')) { val = true; } }) if (!val) { $('#for_' + id).css('display', 'inline-block'); if (!scrolled && $(document).height() > 1500) { $('html, body').animate({ scrollTop: $('#for_' + id).offset().top - 250 }, 500); scrolled = true; } bln = false; } else { $('#for_' + id).css('display', 'none'); } } else if ($('#' + id).is('select, input, textarea')) { if ($('#' + id).is('input, textarea')) { checkForScriptTags($('#' + id).val(), id); } if ($('#' + id).val() == '') { $('#for_' + id).css('display', 'inline-block'); if (!scrolled && $(document).height() > 1500) { $('html, body').animate({ scrollTop: $('#for_' + id).offset().top - 250 }, 500); scrolled = true; } bln = false; } else { $('#for_' + id).css('display', 'none'); } } } } return bln; } function p_validateFormGroup(id, thisform) { var scrolled = false; if (thisform == null) { thisform = ''; } var requiredFields = $(thisform + "[groupreq='groupreq']"); if (id == "") { $.each(requiredFields, function (key, value) { var id = $(this).attr('id'); if ($(this).is(':checkbox')) { if (!$(this).is(':checked')) { $('#for_' + id).css('display', 'inline-block'); if (!scrolled && $(document).height() > 1500) { $('html, body').animate({ scrollTop: $('#for_' + id).offset().top - 250 }, 500); scrolled = true; } } else { $('#for_' + id).css('display', 'none'); } } else if ($(this).is(':radio')) { var val = false; $("[name='" + $(this).attr('name') + "']").not("[type='hidden']").each(function (index, value) { if ($(value).is(':checked')) { val = true; } }) if (!val) { $('#for_' + id).css('display', 'inline-block'); if (!scrolled && $(document).height() > 1500) { $('html, body').animate({ scrollTop: $('#for_' + id).offset().top - 250 }, 500); scrolled = true; } } else { $('#for_' + id).css('display', 'none'); //bln = true; } } else if ($(this).is('select, input, textarea')) { var val = $(this).val(); if (val == '') { $('#for_' + id).css('display', 'inline-block'); if (!scrolled && $(document).height() > 1500) { $('html, body').animate({ scrollTop: $('#for_' + id).offset().top - 250 }, 500); scrolled = true; } } else { $('#for_' + id).css('display', 'none'); } } }); } else { var blnCheckIfExist = false; $.each(requiredFields, function (key, value) { var exId = $(this).attr('id'); if (id == exId) { blnCheckIfExist = true; } }); if (blnCheckIfExist) { if ($('#' + id).is(':checkbox')) { if (!$('#' + id).is(':checked')) { $('#for_' + id).css('display', 'inline-block'); if (!scrolled && $(document).height() > 1500) { $('html, body').animate({ scrollTop: $('#for_' + id).offset().top - 250 }, 500); scrolled = true; } } else { $('#for_' + id).css('display', 'none'); } } else if ($('#' + id).is(':radio')) { var val = false; $("[name='" + id + "']").not("[type='hidden']").each(function (index, value) { if ($(value).is(':checked')) { val = true; } }) if (!val) { $('#for_' + id).css('display', 'inline-block'); if (!scrolled && $(document).height() > 1500) { $('html, body').animate({ scrollTop: $('#for_' + id).offset().top - 250 }, 500); scrolled = true; } } else { $('#for_' + id).css('display', 'none'); } } else if ($('#' + id).is('select, input, textarea')) { if ($('#' + id).val() == '') { $('#for_' + id).css('display', 'inline-block'); if (!scrolled && $(document).height() > 1500) { $('html, body').animate({ scrollTop: $('#for_' + id).offset().top - 250 }, 500); scrolled = true; } } else { $('#for_' + id).css('display', 'none'); } } } } } function validateForm(id) { var bln = true; bln = p_validateForm(id); return bln; } function validateFormGroup(id) { p_validateFormGroup(id); } var isLoginRequest = false; function startAnim() { $('#preLoaderDiv').show(); // show Loading Div } function stopAnim() { $('#preLoaderDiv').hide(); // hide loading div } $(document).ajaxStart(function () { $('#preLoaderDiv').show(); // show Loading Div }) $(document).ajaxStop(function () { if (!isLoginRequest) { stopAnim(); // hide loading div } else { isLoginRequest = false; } }); $(window).load(function (e) { $('#preLoaderDiv').hide(); // hide loading div }); function AssignDiv(divId, placeholder) { jQuery("#" + divId).detach().appendTo('#' + placeholder); } $.date = function (dateObject) { var d = new Date(dateObject); var day = d.getDate(); var month = d.getMonth() + 1; var year = d.getFullYear(); if (day < 10) { day = "0" + day; } if (month < 10) { month = "0" + month; } var date = day + "/" + month + "/" + year; return date; }; function keepAlive() { $.ajax({ url: '/account/KeepSessionAlive', async: true, dataType: "json", type: "GET", contentType: "application/json; charset=utf-8", success: function (data) { } }); } function makeAfdCompatible() { $('input, select, textarea').each( function (index) { var name = $(this).attr("name"); if (typeof name != 'undefined') { if (name.toLowerCase().indexOf("postcode") >= 0) { $(this).attr("data-afd-result", "Postcode"); //$(this).attr("name", $(this).attr("name") + " " + "Postcode"); } else if (name.toLowerCase().indexOf("country") >= 0) { $(this).attr("data-afd-result", "Country"); //$(this).attr("name", $(this).attr("name") + " " + "Country"); } else if (name.toLowerCase().indexOf("line1") >= 0) { $(this).attr("data-afd-result", "Property"); //$(this).attr("name", $(this).attr("name") + " " + "Property"); } else if (name.toLowerCase().indexOf("line2") >= 0) { $(this).attr("data-afd-result", "Street"); //$(this).attr("name", $(this).attr("name") + " " + "Street"); } else if (name.toLowerCase().indexOf("line3") >= 0) { $(this).attr("data-afd-result", "Locality"); //$(this).attr("name", $(this).attr("name") + " " + "Locality"); } else if (name.toLowerCase().indexOf("town") >= 0) { $(this).attr("data-afd-result", "Town"); //$(this).attr("name", $(this).attr("name") + " " + "Town"); } else if (name.toLowerCase().indexOf("county") >= 0) { $(this).attr("data-afd-result", "PostalCounty"); //$(this).attr("name", $(this).attr("name") + " " + "PostalCounty"); } } } ); } $('.menuparent').mouseover(function () { var ul = $(this).find("ul"); $(ul).css('top', '64px'); $(ul).removeClass('sf-hidden').slideDown(); }) $('.menuparent').mouseleave(function () { var ul = $(this).find("ul"); $(ul).addClass('sf-hidden').slideUp(); $(ul).css('top', '-9999px'); }) </script> <script src="../../Javascript/jquery.unobtrusive-ajax.js"></script> <script src="../../Scripts/afdConfig.js"></script> <script src="../../Scripts/fieldValidations.js?v=1.0"></script>

Pages: 1 2 3 4 5 6 7 8 9 10