CINXE.COM
Login
<!DOCTYPE HTML> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" itemscope itemtype="http://schema.org/Thing"> <head> <script type="application/ld+json"> { "@context": "https://schema.org", "@type": "Organization", "name": "GoodTherapy LLC", "alternateName": "Good Therapy", "description": "GoodTherapy.org is an online resource dedicated to connecting individuals with therapists and mental health professionals across various specialties. " + "Founded on the principles of ethics, inclusivity, and quality care, it offers a comprehensive directory of therapists who adhere to strict guidelines " + "and ethical standards. Beyond listings, GoodTherapy.org provides valuable educational resources, articles, and tools aimed at empowering individuals " + "to make informed decisions about their mental health care. With a commitment to promoting healthy therapy practices and fostering a supportive community, " + "it serves as a trusted platform for those seeking effective and compassionate mental health support.", "url": "https://www.goodtherapy.org/", "telephone": "1-888-563-2112", "logo": "https://www.goodtherapy.org/images/gt-logoTransparent.png", "sameAs": [ "https://www.facebook.com/GoodTherapy.org", "https://x.com/good_therapy", "https://www.instagram.com/good_therapy/", "https://www.instagram.com/good_therapy/", "https://www.pinterest.com/goodtherapyorg/" ] } </script> <!-- Google Tag Manager --> <script>(function (w, d, s, l, i) { w[l] = w[l] || []; w[l].push({ 'gtm.start': new Date().getTime(), event: 'gtm.js' }); var f = d.getElementsByTagName(s)[0], j = d.createElement(s), dl = l != 'dataLayer' ? '&l=' + l : ''; j.async = true; j.src = 'https://www.googletagmanager.com/gtm.js?id=' + i + dl; f.parentNode.insertBefore(j, f); })(window, document, 'script', 'dataLayer', 'GTM-NBFNRL9');</script> <!-- End Google Tag Manager --> <!-- <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> --> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <!--RSS FEED--> <link rel="alternate" type="application/rss+xml" title="GoodTherapy Mental Health Blog" href="https://www.goodtherapy.org/blog/feed/" /> <link rel="alternate" type="application/rss+xml" title="GoodTherapy Therapy News" href="https://www.goodtherapy.org/blog/newsfeed/" /> <!--Favicons--> <link rel="apple-touch-icon" sizes="57x57" href="https://www.goodtherapy.org/favicons/apple-icon-57x57.png"> <link rel="apple-touch-icon" sizes="60x60" href="https://www.goodtherapy.org/favicons/apple-icon-60x60.png"> <link rel="apple-touch-icon" sizes="72x72" href="https://www.goodtherapy.org/favicons/apple-icon-72x72.png"> <link rel="apple-touch-icon" sizes="76x76" href="https://www.goodtherapy.org/favicons/apple-icon-76x76.png"> <link rel="apple-touch-icon" sizes="114x114" href="https://www.goodtherapy.org/favicons/apple-icon-114x114.png"> <link rel="apple-touch-icon" sizes="120x120" href="https://www.goodtherapy.org/favicons/apple-icon-120x120.png"> <link rel="apple-touch-icon" sizes="144x144" href="https://www.goodtherapy.org/favicons/apple-icon-144x144.png"> <link rel="apple-touch-icon" sizes="152x152" href="https://www.goodtherapy.org/favicons/apple-icon-152x152.png"> <link rel="apple-touch-icon" sizes="180x180" href="https://www.goodtherapy.org/favicons/apple-icon-180x180.png"> <link rel="icon" type="image/png" sizes="192x192" href="https://www.goodtherapy.org/favicons/android-icon-192x192.png"> <link rel="icon" type="image/png" sizes="32x32" href="https://www.goodtherapy.org/favicons/favicon-32x32.png"> <link rel="icon" type="image/png" sizes="96x96" href="https://www.goodtherapy.org/favicons/favicon-96x96.png"> <link rel="icon" type="image/png" sizes="16x16" href="https://www.goodtherapy.org/favicons/favicon-16x16.png"> <link rel="manifest" href="https://www.goodtherapy.org/favicons/manifest.json"> <meta name="msapplication-TileColor" content="#ffffff"> <meta name="msapplication-TileImage" content="https://www.goodtherapy.org/favicons/ms-icon-144x144.png"> <meta name="theme-color" content="#ffffff"> <!--Favicons--> <title> Login </title> <meta name="description" content="" /> <meta name="robots" content="index, follow" /> <meta name="verify-v1" content="ynqqWvH+JyeltVLp1K0k1Ae0Y9+FN4CUQRRf8jqW1Kw=" /> <link href="https://www.goodtherapy.org/css/custom-style.css?1732227782" type="text/css" rel="stylesheet" /> <script src="https://www.goodtherapy.org/scripts/jquery-3.6.4.min.js"></script> <script src="https://code.jquery.com/ui/1.12.1/jquery-ui.min.js" integrity="sha256-VazP97ZCwtekAsvgPBSUwPFKdrwD3unUfSGVYrahUqU=" crossorigin="anonymous"></script> <link rel="stylesheet" href="https://www.goodtherapy.org/scripts/jquery-ui-1.13.2.css" type="text/css" media="screen" /> <!-- New Materialize Includes --> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/materialize/1.0.0-beta/css/materialize.min.css"> <script src="https://cdnjs.cloudflare.com/ajax/libs/materialize/1.0.0-beta/js/materialize.min.js"></script> <link href="https://www.goodtherapy.org/css/new-style.css?1732227782" type="text/css" rel="stylesheet" /> <!-- Fonts --> <link rel="preconnect" href="https://fonts.gstatic.com/" crossorigin /> <link href="https://fonts.googleapis.com/css?family=Exo:400,500,600,700&subset=latin-ext&display=swap" rel="stylesheet"> <link href="https://fonts.googleapis.com/css?family=Oxygen&subset=latin-ext&display=swap" rel="stylesheet"> <link rel="preload" as="style" onload="this.rel='stylesheet'" href="https://use.fontawesome.com/releases/v5.0.13/css/all.css" integrity="sha384-DNOHZ68U8hZfKXOrtjWvjxusGo9WQnrNx2sqG0tfsghAvtVlRW3tvkXWZh58N9jp" crossorigin="anonymous"> <link rel="preload" as="style" onload="this.rel='stylesheet'" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css"> <meta property="og:image" content="https://www.goodtherapy.org/images/new-banner.jpg" /> <link rel="image_src" href="https://www.goodtherapy.org/images/new-banner.jpg" /> <!-- End Facebook Like Thumbnail --> <link rel="canonical" href="https://www.goodtherapy.org/login.html"> <link rel="stylesheet" href="https://www.goodtherapy.org/scripts/chosen/chosen.min.css" type="text/css" media="screen" /> <link rel="stylesheet" href="https://www.goodtherapy.org/scripts/chosen/prism.css" type="text/css" media="screen" /> <!-- Mediavine script --> <script type="text/javascript" async="async" data-noptimize="1" data-cfasync="false" src="//scripts.mediavine.com/tags/good-therapy.js"></script> <!-- End Mediavine script --> </head> <body> <!-- Google Tag Manager (noscript) --> <noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-NBFNRL9" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript> <!-- End Google Tag Manager (noscript) --> <amp-auto-ads type="adsense" data-ad-client="ca-pub-8103834247248416"></amp-auto-ads> <style type="text/css">.pac-container{ margin-top: -110px;}</style> <!-- START OF HTML CONTENT --> <div id="header" class="header"> <style> .select_therapy { font-size: 12px; } .headSearchInput.s5 input , .headSearchInput.s5{ font-size: 13px; } </style> <div class="row marginBottomFive"> <div class="container"> <div class="headLinks col right hide-on-med-and-down l6"> <ul> <li class="homeWhiteButton"><a href="https://www.goodtherapy.org/join-therapist-directory-membership.html">Sign up and Get Listed</a></li> <li><a href="https://www.goodtherapy.org/login.html">Login</a></li> </ul> </div> </div> </div> <div class="row paddingBottomFifteen noMargin"> <div class="container"> <div class="headLogo col s12 m5 l5 xl2"> <a href="https://www.goodtherapy.org/"><div id="logo" class="logo">Good<span>Therapy<i>庐</i></span></div></a> </div> <div class="headMenu col s1 m1 l1 xl6"> <div class="headMenuLinks "> <ul itemscope itemtype="https://www.schema.org/SiteNavigationElement"> <li itemprop="name"><span class="menu1" name="Get Help Menu">Get Help</span></li> <li itemprop="name"><span class="menu2" name="Learn Menu">Learn</span></li> <li itemprop="name"><span class="menu3" name="For Professionals Menu">Professionals</span></li> <li itemprop="name"><span><a href="/blog/" class="header-link">Blog</a></span></li> <li itemprop="name"><span class="menu4" name="About Menu">About</span></li> <li itemprop="name"><span class="menu5"><a href="https://www.goodtherapy.org/worksheets-resources.html" class="header-link">Worksheets</a></span></li> <li itemprop="name"><span class="menu6"><a href="https://www.goodtherapy.org/newsletter.html" class="header-link">News</a></span></li> </ul> </div> <div class="homeSideWhite"> </div> <div class="headMenuBurger mobMenuBurger hide-on-med-and-up"> <div id="burger" name="Mobile Main Menu"><span class="burgerMenu"><i class="fas fa-bars"></i></span></div> </div> <div class="headMenuLinksMob"> <ul itemscope itemtype="https://www.schema.org/SiteNavigationElement"> <ul class="mobMenuIcons col s12 noPadding"> <i class="fa fa-times-circle right-align col s12 noPadding close"></i> </ul> <li itemprop="name"><a itemprop="url" class="menuLogin color_green" href="https://www.goodtherapy.org/login.html">Login</a></li> <li itemprop="name"><a itemprop="url" class="menuListed color_green" href="https://www.goodtherapy.org/join-therapist-directory-membership.html">Sign up and Get Listed</a></li> <li itemprop="name"><span class="menu1 color_green" name="Get Help Menu">Get Help <i class="fas fa-angle-down"></i></span></li> <li itemprop="name"><span class="menu2" name="Learn Menu">Learn <i class="fas fa-angle-down"></i></span></li> <li itemprop="name"><span class="menu3" name="For Professionals Menu">For Professionals <i class="fas fa-angle-down"></i></span></li> <li itemprop="name"><span><a href="/blog" class="">Blog</a></span></li> <li itemprop="name"><span class="menu4" name="About Menu">About <i class="fas fa-angle-down"></i></span></li> <li itemprop="name"><span class="menu5"><a href="https://www.goodtherapy.org/worksheets-resources.html">Worksheets/Resources</a></span></li> <li itemprop="name"><span class="menu6"><a href="https://www.goodtherapy.org/newsletter.html">Newsletter</a></span></li> </ul> </div> </div> <div class="headSearch col s12 m6 l6 xl4" > <form action="https://www.goodtherapy.org/search-redirect.html" method="get" id="formsearchheader"> <div class="row center-align" style="margin:0 auto;"> <select id="searchTypeHeader" class="headSearchOpt col s12 m4 select_therapy" name="search[therapist_search]" style="margin-bottom:5px;padding-right:0;"> <option id="therapist" selected="selected">Find a Therapist By Zipcode/City</option> <option id="therapistbyname" value="6" >Find a Therapist By Name</option> <option value="4" id="telehealth" >Find Telehealth</option> <option value="2" id="rtc" >Find a Facility</option> <option value="3" id="event" >Find an Event</option> <option value="5" id="event" >Search Blog</option> <option id="supervisor" value="7" >Find a Supervisor</option> </select> <div class="col s12 m7 xl8 noPadding" style="position:relative;"> <div id="searchSelectHeader" class="headSearchInput noPadding" style="display:none;"> <input type="hidden" name="search[state]" id="search_autocomplete_telehealth" value="" required> <input type="text" placeholder="Enter ZIP or City" id="direccion_maps_header_telehealth" value="" autocomplete="nope" /> <input type="hidden" name="search[not_accept_new_clients]" id="not_accept_new_clients" value="1"> <input type="hidden" name="search[lat]" id="latt" value=""> <input type="hidden" name="search[lon]" id="longt" value=""> <button type="submit" id="header-widget_button_telehealth" class="orange-btn headSearchBut" name="TOS agreement" value="P" onclick="ga('send', 'event', 'FAT Widget', 'Submit Search', 'Head Banner', {nonInteraction: true});"> <i class="fas fa-search"></i> </button> <input type="hidden" name="fromheader" value="1"> </div> <div id="searchInputHeader" class="headSearchInput select_therapy noPadding" style="display:none;"> <input type="hidden" name="search[zipcode]" id="search_autocomplete" value="" required> <input type="text" placeholder="Enter ZIP or City" id="direccion_maps_header" value="" autocomplete="nope" /> <input type="hidden" name="search[serializedreturn]" id="serializedreturn" value=""> <input type="hidden" name="search[miles]" value="10"> <button type="submit" id="header-widget_button" class="orange-btn headSearchBut" name="TOS agreement" value="P" onclick="ga('send', 'event', 'FAT Widget', 'Submit Search', 'Head Banner', {nonInteraction: true});"> <i class="fas fa-search"></i> </button> </div> <div id="searchInputHeaderByName" class="headSearchInput noPadding" style="display:none;"> <input type="text" name="search[name]" placeholder="Enter Name" id="direccion_maps_header_byname" value="" required /> <button type="submit" id="header_byname-widget_button" class="orange-btn headSearchBut" name="TOS agreement" value="P" onclick="ga('send', 'event', 'FAT Widget', 'Submit Search', 'Head Banner', {nonInteraction: true});"> <i class="fas fa-search"></i> </button> </div> <div id="searchInputBlog" class="headSearchInput noPadding" style="display:none;"> <input type="text" name="blogSearchTerm" id="blogSearchTerm" placeholder="Enter Search term" value="" required autocomplete="nope" /> <button type="submit" id="" class="orange-btn" name="TOS agreement" value="P" onclick="ga('send', 'event', 'FAT Widget', 'Submit Search', 'Head Banner', {nonInteraction: true});"> <i class="fas fa-search"></i> </button> </div> <div class="findNearby hide-on-med-and-up" style="display:none;"><a href="#" title="Find Nearby Therapists"> <i class="fas fa-map-marker-alt"></i></a> </div> </div> <div class="headMenuBurger col m1 hide-on-small-only"> <div id="burger" name="Mobile Main Menu"><span class="burgerMenu"><i class="fas fa-bars"></i></span></div> </div> </div> </form> <p> <a href="https://www.goodtherapy.org/international-search.html" style="float:left;padding-left: 50px; ">Outside of US & canada</a> </p> <p>Be found at the exact moment they are searching. <a href="https://www.goodtherapy.org/register-step1.html" style="text-decoration:underline;">Sign up and Get Listed</a></p> </div> <div class="headSubmenuLinks"> <ul class="submenu1 submenu" itemscope itemtype="https://www.schema.org/SiteNavigationElement"> <ul class="mobMenuIcons col s12"> <i class="fa fa-chevron-circle-left left-align col s6 noPadding back"></i> <i class="fa fa-times-circle right-align col s6 noPadding close"></i> </ul> <ul class=" col s12 m12 l12 xl4"> <li itemprop="name"><a itemprop="url" href="https://www.goodtherapy.org/find-therapist.html">Find a Therapist</a></li> <li itemprop="name"><a itemprop="url" href="https://www.goodtherapy.org/treatment-centers">Find a Treatment Center</a></li> <li itemprop="name"><a itemprop="url" href="https://www.goodtherapy.org/learn-about-therapy/modes/marriage-counseling">Find a Marriage Counselor</a></li> <li itemprop="name"><a itemprop="url" href="https://www.goodtherapy.org/find-child-therapists-counselors.html">Find a Child Counselor</a></li> <li itemprop="name"><a itemprop="url" href="https://www.goodtherapy.org/workshops/support-group">Find a Support Group</a></li> <li itemprop="name"><a itemprop="url" href="https://www.goodtherapy.org/find-psychologists.html">Find a Psychologist</a></li> <li itemprop="name"><a itemprop="url" href="https://www.goodtherapy.org/in-crisis.html">If You Are in Crisis</a></li> </ul> <ul class=" col s12 m12 l12 xl4"> <strong>Common Issues</strong> <li itemprop="name"><a itemprop="url" href="https://www.goodtherapy.org/learn-about-therapy/issues/depression">Depression</a></li> <li itemprop="name"><a itemprop="url" href="https://www.goodtherapy.org/learn-about-therapy/issues/abuse">Abuse</a></li> <li itemprop="name"><a itemprop="url" href="https://www.goodtherapy.org/learn-about-therapy/issues/infidelity">Infidelity</a></li> <li itemprop="name"><a itemprop="url" href="https://www.goodtherapy.org/learn-about-therapy/issues/self-esteem">Self-Esteem</a></li> <li itemprop="name"><a itemprop="url" href="https://www.goodtherapy.org/learn-about-therapy/issues/sex-addiction">Sex Addiction</a></li> <li itemprop="name"><a itemprop="url" href="https://www.goodtherapy.org/learn-about-therapy/issues/relationships">Relationships</a></li> </ul> <ul class=" col s12 m12 l12 xl4"> <br> <li itemprop="name"><a itemprop="url" href="https://www.goodtherapy.org/learn-about-therapy/issues/child-and-adolescent-issues">Child and Adolescent Issues</a></li> <li itemprop="name"><a itemprop="url" href="https://www.goodtherapy.org/learn-about-therapy/issues/eating-disorders">Eating Disorders</a></li> <li itemprop="name"><a itemprop="url" href="https://www.goodtherapy.org/learn-about-therapy/issues/grief">Grief</a></li> <li itemprop="name"><a itemprop="url" href="https://www.goodtherapy.org/learn-about-therapy/issues/anxiety">Anxiety</a></li> <li itemprop="name"><a itemprop="url" href="https://www.goodtherapy.org/learn-about-therapy/issues/ptsd">PTSD</a></li> <li itemprop="name"><a itemprop="url" href="https://www.goodtherapy.org/learn-about-therapy/issues">See More</a></li> </ul> <li class="clear"></li> </ul> <ul class="submenu2 submenu" itemscope itemtype="https://www.schema.org/SiteNavigationElement"> <ul class="mobMenuIcons col s12"> <i class="fa fa-chevron-circle-left left-align col s6 noPadding back"></i> <i class="fa fa-times-circle right-align col s6 noPadding close"></i> </ul> <ul class=" col s12 m12 l12 xl4"> <li itemprop="name"><a itemprop="url" href="https://www.goodtherapy.org/blog/how-to-find-a-therapist/">How to Find the Right Therapist</a></li> <li itemprop="name"><a itemprop="url" href="https://www.goodtherapy.org/explore-therapy.html">Explore Therapy</a></li> <li itemprop="name"><a itemprop="url" href="https://www.goodtherapy.org/learn-about-therapy/issues">Issues Treated</a></li> <li itemprop="name"><a itemprop="url" href="https://www.goodtherapy.org/learn-about-therapy/modes">Modes of Therapy</a></li> <li itemprop="name"><a itemprop="url" href="https://www.goodtherapy.org/learn-about-therapy/types">Types of Therapy</a></li> <li itemprop="name"><a itemprop="url" href="https://www.goodtherapy.org/list-of-influential-psychologists-and-psychotherapists.html">Famous Psychologists</a></li> <li itemprop="name"><a itemprop="url" href="https://www.goodtherapy.org/drugs/psychotropic-medication.html">Psychotropic Medication</a></li> </ul> <ul class=" col s12 m12 l12 xl4"> <li itemprop="name"><a itemprop="url" href="https://www.goodtherapy.org/what-is-therapy.html">What Is Therapy?</a></li> <li itemprop="name"><a itemprop="url" href="https://www.goodtherapy.org/how-to-help.html">How to Help a Loved One</a></li> <li itemprop="name"><a itemprop="url" href="https://www.goodtherapy.org/blog/faq/how-much-does-therapy-cost">How Much Does Therapy Cost?</a></li> <li itemprop="name"><a itemprop="url" href="https://www.goodtherapy.org/become-a-therapist/">How to Become a Therapist</a></li> <li itemprop="name"><a itemprop="url" href="https://www.goodtherapy.org/blog/50-signs-good-therapy-0110119/">Signs of Healthy Therapy</a></li> <li itemprop="name"><a itemprop="url" href="https://www.goodtherapy.org/blog/warning-signs-of-bad-therapy/">Warning Signs in Therapy</a></li> </ul> <ul class=" col s12 m12 l12 xl4"> <strong>Blog</strong> <li itemprop="name"><a itemprop="url" href="https://www.goodtherapy.org/blog/">The GoodTherapy Blog</a></li> <li itemprop="name"><a itemprop="url" href="https://www.goodtherapy.org/blog/psychpedia/a-g">PsychPedia A-Z</a></li> <li itemprop="name"><a itemprop="url" href="https://www.goodtherapy.org/gt-newsletter-archive.html">Subscribe</a></li> </ul> </ul> <ul class="submenu3 submenu" itemscope itemtype="https://www.schema.org/SiteNavigationElement"> <ul class="mobMenuIcons col s12"> <i class="fa fa-chevron-circle-left left-align col s6 noPadding back"></i> <i class="fa fa-times-circle right-align col s6 noPadding close"></i> </ul> <ul class=" col s12 m12 l12 xl4"> <li itemprop="name"><a itemprop="url" href="https://www.goodtherapy.org/for-professionals/marketing/websites/article/marketing-your-professional-website-seo-best-practices-for-therapists">Marketing Your Therapy Website</a></li> <li itemprop="name"><a itemprop="url" href="https://www.goodtherapy.org/for-professionals/business-management/private-practices/article/your-checklist-for-starting-a-private-practice-in-counseling">Private Practice Checklist</a></li> <li itemprop="name"><a itemprop="url" href="https://www.goodtherapy.org/for-professionals/business-management/private-practices/article/how-to-create-a-solid-business-plan-for-your-private-therapy-practice">Private Practice Business Plan</a></li> </ul> <ul class=" col s12 m12 l12 xl4"> <li itemprop="name"><a itemprop="url" href="https://www.goodtherapy.org/for-professionals/software-technology/practice-management/article/why-use-practice-management-software">Practice Management Software for Therapists</a></li> <li itemprop="name"><a itemprop="url" href="https://www.goodtherapy.org/for-professionals/software-technology/telehealth/article/rules-and-ethics-of-online-therapy">Rules and Ethics of Online Therapy for Therapists</a></li> <li itemprop="name"><a itemprop="url" href="https://www.goodtherapy.org/for-professionals/business-management/continuing-education/">CE Courses for Therapists</a></li> </ul> <ul class=" col s12 m12 l12 xl4"> <li itemprop="name"><a itemprop="url" href="https://www.goodtherapy.org/for-professionals/software-technology/hipaa-security/article/hipaa-for-mental-health-professionals-the-basics">HIPAA Basics for Therapists</a></li> <li itemprop="name"><a itemprop="url" href="https://www.goodtherapy.org/for-professionals/software-technology/online-scheduling/article/how-to-send-appointment-reminders-that-work">How to Send Appointment Reminders that Work</a></li> <li itemprop="name"><a itemprop="url" href="https://www.goodtherapy.org/for-professionals/">More Professional Resources</a></li> </ul> </ul> <ul class="submenu4 submenu" itemscope itemtype="https://www.schema.org/SiteNavigationElement"> <ul class="mobMenuIcons col s12"> <i class="fa fa-chevron-circle-left left-align col s6 noPadding back"></i> <i class="fa fa-times-circle right-align col s6 noPadding close"></i> </ul> <ul class=" col s12 m12 l12 xl4"> <li itemprop="name"><a itemprop="url" href="https://www.goodtherapy.org/join-therapist-directory-membership.html">List Your Practice</a></li> <li itemprop="name"><a itemprop="url" href="https://www.goodtherapy.org/treatment-centers/join-us">List a Treatment Center</a></li> <li itemprop="name"><a itemprop="url" href="https://www.goodtherapy.org/ce-subscription-membership.html">Earn CE Credit Hours</a></li> <li itemprop="name"><a itemprop="url" href="https://www.goodtherapy.org/student-membership.html">Student Membership</a></li> </ul> <ul class=" col s12 m12 l12 xl4"> <li itemprop="name"><a itemprop="url" href="https://www.goodtherapy.org/continuing-education-for-counselors.html">Online Continuing Education</a></li> <li itemprop="name"><a itemprop="url" href="https://www.goodtherapy.org/marketing-for-therapists.html">Marketing Webinars</a></li> <li itemprop="name"><a itemprop="url" href="https://www.goodtherapy.org/mission-vision-of-good-therapy.html">GoodTherapy's Vision</a></li> </ul> <ul class=" col s12 m12 l12 xl4"> <li itemprop="name"><a itemprop="url" href="https://www.goodtherapy.org/about-us.html">About Us</a></li> <li itemprop="name"><a itemprop="url" href="https://www.goodtherapy.org/how-goodtherapy-works">How GoodTherapy Works</a></li> <li itemprop="name"><a itemprop="url" href="https://www.goodtherapy.org/advertise-with-goodtherapy.html">Partner or Advertise</a></li> <li itemprop="name"><a itemprop="url" href="https://www.goodtherapy.org/contact-us.html">Contact Us</a></li> </ul> </ul> </div> </div> </div> </div> <link rel="stylesheet" type="text/css" href="https://www.goodtherapy.org/css/login.css?202411" /> <script src="https://www.google.com/recaptcha/api.js"></script> <script> function timestamp() { var response = document.getElementById("g-recaptcha-response"); if (response == null || response.value.trim() == "") {var elems = JSON.parse(document.getElementsByName("captcha_settings")[0].value);elems["ts"] = JSON.stringify(new Date().getTime());document.getElementsByName("captcha_settings")[0].value = JSON.stringify(elems); } } setInterval(timestamp, 500); </script> <div class=" row"> <div class="content_width container"> <div class="col s12 m8 push-m2 l6 push-l3"> <form class="loginForm" id="loginForm" action="https://www.goodtherapy.org/login.html?action=loginDo" method="post"> <h1>Log In To Your Account</h1> <input type="hidden" name='captcha_settings' value='{"keyname":"WebToCaseCaptcha","fallback":"true","orgId":"00D5w0000051KZG","ts":""}'> <div class="col s12"><label>Email Address</label> <input type="text" name="username" id="login_username" placeholder="Email Address" tabindex="1"> </div> <div class="clear"></div> <div class="col s12"><label>Password</label> <input type="password" name="password" id="login_password" placeholder="Password" tabindex="2"> </div> <div class="clear"></div> <div class="col s12"> <div class="g-recaptcha" data-sitekey="6LeVjsMhAAAAAOoeCOHKMxOjyZVUTP7-A6OD0CTI" data-callback="recaptcha_callback" data-expired-callback="recaptchaExpiryHeader"></div> </div> <div class="clear"></div> <div class="col s12 marginTopTen"> <input type="submit" disabled="true" id="submitBtn" name="Submit" value="Log In" class="green-btn" /> <input type="hidden" name="redirectto" value="" /> </div> <div class="clear"></div> <div class="col s6 marginTopTen"> <a href="https://www.goodtherapy.org/group-login.html">Group Login? Click here</a> </div> <div class="clear"></div> <hr class="marginTopTwenty marginBottomFifteen"> <div class="col s6"> <a href="https://www.goodtherapy.org/forgot-password.html">Forgot Password?</a> </div> <div class="col s6 right-align"> <a href="https://www.goodtherapy.org/join-therapist-directory-membership.html">Don't Have an Account?</a> </div> <div class="clear"></div> <script type="text/javascript"> function recaptcha_callback(){ //$('#submitBtn').css("color", "#fff !important"); $('#submitBtn').removeClass("gray-btn"); $('#submitBtn').prop("disabled", false); } function recaptchaExpiryHeader(){ $('#submitBtn').addClass("gray-btn"); $('#submitBtn').prop("disabled", true); } </script> </form> </div> </div> </div> <footer id="global-footer" class="clear"> <div class="row"> <div class="container clear"> <div class="col s12 m12 l4 xl4 noPadding padding-Medium-below"> <h2 class="heading_gray_color">About GoodTherapy</h2> <ul class="footer_links"> <li><a href="https://www.goodtherapy.org/about-us.html">About Us</a></li> <li><a href="https://www.goodtherapy.org/mission-vision-of-good-therapy.html">GoodTherapy鈥檚 Vision</a></li> <li><a href="https://www.goodtherapy.org/advertise-with-goodtherapy.html">Advertise</a></li> <li><a href="https://www.goodtherapy.org/press-room.html">Press Room</a></li> <li><a href="https://www.goodtherapy.org/good-cause.html">GoodCause</a></li> <li><a href="https://www.goodtherapy.org/join-therapist-directory-membership.html">Therapist Membership</a></li> <li><a href="https://www.goodtherapy.org/treatment-centers/join-us">Tx Center Membership</a></li> <li><a href="https://www.goodtherapy.org/students.html">Student Membership</a></li> <li><a href="https://www.goodtherapy.org/partnership-information.html">Partnership Information</a> </li> <li><a href="https://www.goodtherapy.org/contact-us.html">Contact Us</a></li> <li><a href="https://www.goodtherapy.org/groups.html">Groups</a></li> </ul> </div> <!-- /left-column --> <div class="col s12 m12 l5 xl5"> <h2 class="heading_gray_color">Resources</h2> <ul class="footer_links"> <li><a href="https://www.goodtherapy.org/find-therapist.html">Find a Therapist</a></li> <li><a href="https://www.goodtherapy.org/explore-therapy.html">Explore Therapy</a></li> <li><a href="https://www.goodtherapy.org/what-is-good-therapy.html">Elements of Good Therapy</a> </li> <li><a href="https://www.goodtherapy.org/learn-about-therapy/modes">Modes of Therapy</a></li> <li><a href="https://www.goodtherapy.org/dear-goodtherapy.html">Dear GoodTherapy</a></li> <li><a href="https://www.goodtherapy.org/treatment-centers">Find a Treatment Center</a></li> <li><a href="https://www.goodtherapy.org/what-is-therapy.html">What Is Therapy?</a></li> <li><a href="https://www.goodtherapy.org/learn-about-therapy/types">Types of Therapy</a></li> <li><a href="https://www.goodtherapy.org/learn-about-therapy/issues">Issues Treated in Therapy</a> </li> <li><a href="https://www.goodtherapy.org/blog/warning-signs-of-bad-therapy/">Warning Signs in Therapy</a></li> </ul> </div> <!-- /middle-column --> <div class="col s12 m12 l3 xl3 noPadding padding-Medium-below"> <div id="mc_embed_shell"> <link href="//cdn-images.mailchimp.com/embedcode/classic-061523.css" rel="stylesheet" type="text/css"> <style type="text/css"> #global-footer input#mce-EMAIL { height: 42px; line-height: 42px; padding: 3px; border-radius: 4px; } #newsletter-form #mc_embed_signup .indicates-required { color: #fff; position: absolute; right: 0; margin-right: 0%; top: 50px; } #newsletter-form #mc_embed_signup .mc-field-group label { color: #fff; } #newsletter-form #mc_embed_signup .mc-field-group { width: 100%; } #newsletter-form #mc_embed_signup_scroll { position: relative; } #newsletter-form #mc-embedded-subscribe { position: absolute; right: -5px; top: 75px; width: 100px !important; height: 42px !important; border-radius: 0 !important; color: #fff !important; text-shadow: none; background: #e06d00 !important; } #newsletter-form #mc-embedded-subscribe { position: absolute; right: -5px; top: 75px; width: 100px !important; height: 42px !important; border-radius: 0 !important; color: #fff !important; text-shadow: none; background: #e06d00 !important; } #newsletter-form #mc_embed_signup div#mce-responses { width: 100%; margin: 0 0; position: relative; } #newsletter-form #mc_embed_signup div.response { padding: 0; font-weight: normal; width: 100%; } #newsletter-form #mc_embed_signup div#mce-responses { padding: 0; } #newsletter-form #mc_embed_signup #mc-embedded-subscribe-form div.mce_inline_error { text-align: center; } #newsletter-form #global-footer input#mce-EMAIL { padding-right: 170px; } #newsletter-form #mce-EMAIL { padding-right: 110px !important; } /* Add your own Mailchimp form style overrides in your site stylesheet or in this style block. We recommend moving this block and the preceding CSS link to the HEAD of your HTML file. */ </style> <div id="newsletter-form"> <div id="mc_embed_signup" style="background-color:#555555; width:100%;"> <form action="https://goodtherapy.us5.list-manage.com/subscribe/post?u=f3236425a87a2b30cbce69835&id=8dd67f8638&f_id=00f9c2e1f0" method="post" id="mc-embedded-subscribe-form" name="mc-embedded-subscribe-form" class="validate" target="_blank"> <div id="mc_embed_signup_scroll"><h2 class="heading_gray_color">SUBSCRIBE TO NEWSLETTER</h2> <div class="indicates-required text-white"><span class="asterisk">*</span> indicates required</div> <div class="mc-field-group"><label for="mce-EMAIL">Email Address <span class="asterisk">*</span></label> <input type="email" name="EMAIL" class="required email" id="mce-EMAIL" required="" value="" placeholder="Enter email address"></div> <div hidden=""><input type="hidden" name="tags" value="46910"></div> <div id="mce-responses" class="clear"> <div class="response" id="mce-error-response" style="display: none;"></div> <div class="response" id="mce-success-response" style="display: none;"></div> </div><div aria-hidden="true" style="position: absolute; left: -5000px;"><input type="text" name="b_f3236425a87a2b30cbce69835_8dd67f8638" tabindex="-1" value=""></div><div class="clear"><input type="submit" name="subscribe" id="mc-embedded-subscribe" class="button" value="Subscribe"></div> </div> </form> </div> <script type="text/javascript" src="//s3.amazonaws.com/downloads.mailchimp.com/js/mc-validate.js"></script><script type="text/javascript">(function($) {window.fnames = new Array(); window.ftypes = new Array();fnames[0]='EMAIL';ftypes[0]='email';fnames[1]='FNAME';ftypes[1]='text';fnames[2]='LNAME';ftypes[2]='text';fnames[3]='ADDRESS';ftypes[3]='address';fnames[4]='PHONE';ftypes[4]='phone';}(jQuery));var $mcj = jQuery.noConflict(true);</script></div> </div> </div> <!-- /right-column --> <div class="col s12 xl12 noPaddingLeft padding-Medium-below"> <h2 class="heading_gray_color">Follow GoodTherapy</h2> <ul class="socialmedia-nav"> <li><a rel="nofollow" target="_blank" href="https://facebook.com/GoodTherapy.org" class="facebook fa fa-facebook"></a></li> <li><a rel="nofollow" target="_blank" href="https://twitter.com/good_therapy" class="twitter fa fa-twitter"></a></li> <li><a rel="nofollow" target="_blank" href="https://www.linkedin.com/company/goodtherapy-org" class="linkedin fa fa-linkedin"></a></li> <li><a rel="nofollow" target="_blank" href="https://www.pinterest.com/goodtherapyorg/" class="pinterest fa fa-pinterest-p"></a></li> <li><a rel="nofollow" target="_blank" href="https://www.instagram.com/good_therapy/" class="instagram fa fa-instagram"></a></li> <li><a rel="nofollow" target="_blank" href="https://www.goodtherapy.org/blog/feed/" class="rss fa fa-rss"></a></li> </ul> </div> <div class="copyright"> <div class="col s12 m12 l6 xl5 noPaddingLeft padding-Medium-below"> <p>Copyright © 2007 - 2024 <a href="https://www.goodtherapy.org/">GoodTherapy, LLC</a>. All rights reserved. </p> </div> <div class="col s12 m12 l6 xl7"> <p class="copyright_links"> <a href="https://www.goodtherapy.org/">Home</a> <a href="https://www.goodtherapy.org/termsandconditionsofuse.html">Terms of Service</a> <a href="https://www.goodtherapy.org/privacy-policy.html">Privacy Policy</a> <a href="https://www.goodtherapy.org/sitemap_index.xml">Sitemap</a> <a href="https://www.goodtherapy.org/newsletter.html">Subscribe to our Newsletter</a> </p> </div> </div> </div> </div> </footer> <!-- Fix Word Copy/Paste --> <script> $('body').on('paste', 'input, textarea', function (e) { var rte = $(this); _activeRTEData = $(rte).html(); beginLen = $.trim($(rte).html()).length; setTimeout(function () { var text = $(rte).html(); var newLen = $.trim(text).length; //identify the first char that changed to determine caret location caret = 0; for (i = 0; i < newLen; i++) { if (_activeRTEData[i] != text[i]) { caret = i - 1; break; } } var origText = text.slice(0, caret); var newText = text.slice(caret, newLen - beginLen + caret + 4); var tailText = text.slice(newLen - beginLen + caret + 4, newLen); var newText = newText.replace(/(.*(?:endif-->)) | ([] ?< [^>] *> [] ?) | (& nbsp;) | ([^}] *}) /g,''); newText = newText.replace(/[路]/g, ''); $(rte).html(origText + newText + tailText); $(rte).contents().last().trigger("focus"); }, 100); }); </script> <script> $("#trackDiv").on("click", function (event) { $.post("https://www.goodtherapy.org/social-share-bar.html?a=setcookie", function (response) { var data = JSON.parse(response); if (data.status == "Success") { $("#trackDiv").parent().parent().remove(); } }); }); </script> <script> function scrollToAnchor(anchor) { $("html, body").animate({ scrollTop: $(anchor).position().top - 41 }, 'slow'); } $(document).ready(function () { $('.testlink').on('click', function (e) { e.preventDefault(); var sHref = this.href.split("#"); scrollToAnchor("#" + sHref[1]); return false; }); if (window.location.hash != '') { scrollToAnchor(window.location.hash); } /* New menu calls */ $('.menu1').on("click", function () { if ($(".submenu1").is(":hidden")) { $('.submenu').hide(); $('.submenu1').show(); } else { $('.submenu').hide(); } }); $('.menu2').on("click", function () { if ($(".submenu2").is(":hidden")) { $('.submenu').hide(); $('.submenu2').show(); } else { $('.submenu').hide(); } }); $('.menu3').on("click", function () { if ($(".submenu3").is(":hidden")) { $('.submenu').hide(); $('.submenu3').show(); } else { $('.submenu').hide(); } }); $('.menu4').on("click", function () { if ($(".submenu4").is(":hidden")) { $('.submenu').hide(); $('.submenu4').show(); } else { $('.submenu').hide(); } }); $('.burgerMenu').on("click", function () { $('.headMenuLinksMob').toggle(); $('.headMenuLinksMob').css({ 'width': '100%' }); $('body').css({ 'overflow': 'hidden' }); }); $('.close').on("click", function () { $('.submenu').hide(); $('.headMenuLinksMob').hide(); $('body').css({ 'overflow': 'auto' }); }); $('.back').on("click", function () { $('.submenu').hide(); }); }); $(document).on("click", function (event) { var getClass1 = event.target.className; var getClass2 = $(event.target).parent().parent().attr('class'); if (getClass1 == 'headSubmenuLinks' || getClass1 == 'headMenuLinksMob col' || getClass2 == 'headSubmenuLinks' || getClass2 == 'container' || $(event.target).is('.menu1') || $(event.target).is('.menu2') || $(event.target).is('.menu3') || $(event.target).is('.menu4') || getClass1 == 'fas fa-bars' || getClass1 == 'fa fa-chevron-circle-left left-align col s6 noPadding back') { } else { $('.submenu1').hide(); $('.submenu2').hide(); $('.submenu3').hide(); $('.submenu4').hide(); $('.headMenuLinksMob').hide(); $('body').css({ 'overflow': 'auto' }); } }); </script> <script> function getLocation() { ga('send', 'event', 'FAT Widget', 'Submit Search', 'Geo Search', { nonInteraction: true }); if (navigator.geolocation) { navigator.geolocation.getCurrentPosition(showPosition, showError); } else { alert("Geolocation is not supported by this browser."); } } function showPosition(position) { changedUrl = "https://www.goodtherapy.org/search-redirect.html?location_lat=" + position.coords.latitude + "&location_lon=" + position.coords.longitude; var typeSearch = $(".headSearchOpt :selected").val(); if (typeSearch != undefined && typeSearch == 2) { changedUrl = changedUrl + "&search[therapist_search]=2"; } if (typeSearch != undefined && typeSearch == 3) { changedUrl = changedUrl + "&search[therapist_search]=3"; } $(location).attr('href', changedUrl); } function showError(error) { switch (error.code) { case error.PERMISSION_DENIED: alert("User denied the request for Geolocation."); break; case error.POSITION_UNAVAILABLE: alert("Location information is unavailable."); break; case error.TIMEOUT: alert("The request to get user location timed out."); break; case error.UNKNOWN_ERROR: alert("An unknown error occurred."); break; } } </script> <!-- Combo header serch --> <script> function refreshSearchType() { var searchType = $("#searchTypeHeader").val(); if (searchType == "4") { $('#direccion_maps_header_telehealth').attr('required', 'required'); $('#direccion_maps_header').removeAttr('required') $('#formsearchheader').removeAttr('novalidate'); $("#searchSelectHeader").css("display", "block"); $("#searchInputHeader").css("display", "none"); $("#searchInputBlog").css("display", "none"); $(".findNearby").css("display", "none"); $("#searchInputHeaderByName").css("display","none"); } else if (searchType == "5") { $('#formsearchheader').attr('novalidate', ''); $("#searchInputBlog").css("display", "block"); $('#blogSearchTerm').attr('required', 'required') $("#searchSelectHeader").css("display", "none"); $("#searchInputHeader").css("display", "none"); $("#searchInputHeaderByName").css("display","none"); } else if(searchType == "6"){ $('#formsearchheader').attr('novalidate', ''); $('#blogSearchTerm').removeAttr('required'); $("#searchSelectHeader").css("display","none"); $("#searchInputBlog").css("display","none"); $("#searchInputHeader").css("display","none"); $("#searchInputHeaderByName").css("display","block"); $(".findNearby").css("display","none"); }else { $('#direccion_maps_header_byname').removeAttr('required'); $('#formsearchheader').removeAttr('novalidate'); $('#blogSearchTerm').removeAttr('required'); $("#searchSelectHeader").css("display", "none"); $("#searchInputBlog").css("display", "none"); $("#searchInputHeaderByName").css("display","none"); $("#searchInputHeader").css("display","block"); $('#direccion_maps_header').attr('required', 'required') $('#direccion_maps_header_telehealth').removeAttr('required') $(".findNearby").css("display", "block"); } } $(document).ready(function () { refreshSearchType(); $("#searchTypeHeader").on("change", function (event) { refreshSearchType(); }); }); </script> <!-- GDPR Cookies --> <div id="gdprWarning" style="position:fixed;bottom:0;background: #f3f3f3;text-align:center;max-width: 100%;width: 100%;border-top: 1px #9d9d9d solid;padding: 10px 5px;z-index:3;"> <i class="fa fa-remove right marginTopFive removeGdpr" style="margin-right: 10px; cursor:pointer;"></i>GoodTherapy uses cookies to personalize content and ads to provide better services for our users and to analyze our traffic. By continuing to use this site you consent to our cookies.</div> <script> $(document).ready(function () { var keyValue = document.cookie.match('(^|;) ?' + 'gpdr' + '=([^;]*)(;|$)'); var gdprCookie = keyValue ? keyValue[2] : null; if (gdprCookie == 'closed') { $("#gdprWarning").css("display", "none"); } else { $(".removeGdpr").on("click", function (event) { $("#gdprWarning").toggle(); var expires = new Date(); expires.setTime(expires.getTime() + (30 * 24 * 60 * 60 * 1000)); //30 days document.cookie = 'gpdr=closed' + ';expires=' + expires.toUTCString(); }); } }); </script> <!-- END GDPR Cookies --> <script async defer src="https://maps.googleapis.com/maps/api/js?key=AIzaSyDNmfkEhIBPTuRFb_us7BRQFpp2peRtzlE&v=3.53&libraries=places&sessiontoken=6747f40debecb6747f40debecc142"></script> <script type="text/javascript"> $(window).on("load", function () { $('#direccion_maps_header').attr('required', 'required'); searchTherapist(); $("#searchTypeHeader").on("change", function (event) { var searchTypeVal = $("#searchTypeHeader").val(); if (searchTypeVal == "4") { searchTeleHealth(); } }); function searchTherapist() { $("#formsearchheader").on("submit", function () { var searchType = $("#searchTypeHeader").val(); if (searchType == 5) { return true; } if ($("#search_autocomplete").val() == "" && $("#direccion_maps_header").val() != undefined) { $("#search_autocomplete").val($("#direccion_maps_header").val()); } //return false; }); //var input = /** @type {!HTMLInputElement} *//*(document.getElementById('direccion_maps_header')); var input = (document.getElementById('direccion_maps_header')); var geocoder = new google.maps.Geocoder; var secondEnter = false; $('#search_autocomplete').val(''); var options = { language: 'en', //types: ['(regions)'], fields: ['name', 'geometry', 'place_id', 'formatted_address', 'address_components', 'icon', 'adr_address'] }; var autocomplete = new google.maps.places.Autocomplete(input, options); autocomplete.addListener('place_changed', function () { autoCompletarHiddens(); }); $('#direccion_maps_header').on("keyup", function () { autoCompletarHiddens() }); $('#direccion_maps_header').on("focusout", function () { autoCompletarHiddens() }); function autoCompletarHiddens() { var place = autocomplete.getPlace(); $('#serializedreturn').val(JSON.stringify(place)); if (place == undefined || !place.geometry) { // User entered the name of a Place that was not suggested and return; } if (place.address_components) { var address_components = place.address_components; var components = {}; $.each(address_components, function (k, v1) { $.each(v1.types, function (k2, v2) { components[v2] = v1.long_name }); }); //console.log(place); var lat = place.geometry.location.lat(); if (lat != undefined && lat != "") $('#latt').val(lat); var long = place.geometry.location.lng(); if (long != undefined && long != "") $('#longt').val(long); if (components.postal_code != undefined) $('#search_autocomplete').val(components.postal_code); else { if (components.locality != undefined && components.administrative_area_level_1 != undefined) $('#search_autocomplete').val(components.locality + ", " + components.administrative_area_level_1); else $('#search_autocomplete').val($('#direccion_maps_header').val().replace(", EE. UU.", "")); } } else { $('#search_autocomplete').val($('#direccion_maps_header').val().replace(", EE. UU.", "")); } } /**/ $("#direccion_maps_header").keydown(function (e) { if (e.which == 13) { console.log("enter"); if (secondEnter) { if ($("#search_autocomplete").val() == "" && $("#direccion_maps_header").val() != undefined) { $("#search_autocomplete").val($("#direccion_maps_header").val()); } console.log("force form send"); $("#header-widget_button").click(); } e.preventDefault(); //if there are suggestions... if ($(".pac-container .pac-item").length) { $(".pac-container .pac-item:first").click(); console.log("resultados"); secondEnter = true; console.log(secondEnter); } } else { secondEnter = false; } console.log(secondEnter); }); var selectFirstOnEnter = function (input) { // store the original event binding function var _addEventListener = (input.addEventListener) ? input.addEventListener : input.attachEvent; function addEventListenerWrapper(type, listener) { // Simulate a 'down arrow' keypress on hitting 'return' when no pac suggestion is selected, and then trigger the original listener. if (type == "keydown") { var orig_listener = listener; listener = function (event) { var suggestion_selected = $(".pac-item-selected").length > 0; if (event.which == 13 && !suggestion_selected && ($("#search_autocomplete").val() == undefined || $("#search_autocomplete").val() == "")) { event.preventDefault(); var simulated_downarrow = $.Event("keydown", { keyCode: 40, which: 40 }); orig_listener.apply(input, [simulated_downarrow]); secondEnter = true; } orig_listener.apply(input, [event]); }; } _addEventListener.apply(input, [type, listener]); // add the modified listener } if (input.addEventListener) { input.addEventListener = addEventListenerWrapper; } else if (input.attachEvent) { input.attachEvent = addEventListenerWrapper; } } selectFirstOnEnter(input); } // geo location search for telehealth function searchTeleHealth() { let stateCode = ""; $(".formsearchheader").on("submit", function () { var searchType = $("#searchTypeHeader").val(); if (searchType == 5) { return true; } else if (searchType == 4) { if ($("#search_autocomplete_telehealth").val() == "" && $("#direccion_maps_header_telehealth").val() != undefined) { $("#search_autocomplete_telehealth").val($("#direccion_maps_header_telehealth").val()); } } //return false; }); var inputtelehealth = (document.getElementById('direccion_maps_header_telehealth')); var geocodertelehealth = new google.maps.Geocoder; var secondEnter = false; $('#search_autocomplete_telehealth').val(''); var options = { language: 'en', //types: ['(regions)'], fields: ['name', 'geometry', 'place_id', 'formatted_address', 'address_components', 'icon', 'adr_address'] }; var autocompletetelehealth = new google.maps.places.Autocomplete(inputtelehealth, options); autocompletetelehealth.addListener('place_changed', function () { autoCompletarHiddensTelehealth(); }); $('#direccion_maps_header_telehealth').on("keyup", function () { autoCompletarHiddensTelehealth() }); $('#direccion_maps_header_telehealth').on("focusout", function () { autoCompletarHiddensTelehealth() }); /**/ $("#direccion_maps_header_telehealth").keydown(function (e) { if (e.which == 13) { console.log("enter"); if (secondEnter) { if ($("#search_autocomplete_telehealth").val() == "" && $("#direccion_maps_header_telehealth").val() != undefined) { $("#search_autocomplete_telehealth").val($("#direccion_maps_header_telehealth").val()); } console.log("force form send"); $("#header-widget_button_telehealth").click(); } e.preventDefault(); //if there are suggestions... if ($(".pac-container .pac-item").length) { $(".pac-container .pac-item:first").click(); console.log("resultados"); secondEnter = true; console.log(secondEnter); } } else { secondEnter = false; } console.log(secondEnter); }); var selectFirstOnEnterTelehealth = function (input) { // store the original event binding function var _addEventListener = (input.addEventListener) ? input.addEventListener : input.attachEvent; function addEventListenerWrapper(type, listener) { // Simulate a 'down arrow' keypress on hitting 'return' when no pac suggestion is selected, and then trigger the original listener. if (type == "keydown") { var orig_listener = listener; listener = function (event) { var suggestion_selected = $(".pac-item-selected").length > 0; if (event.which == 13 && !suggestion_selected && ($("#search_autocomplete_telehealth").val() == undefined || $("#search_autocomplete_telehealth").val() == "")) { event.preventDefault(); var simulated_downarrow = $.Event("keydown", { keyCode: 40, which: 40 }); orig_listener.apply(input, [simulated_downarrow]); secondEnter = true; } orig_listener.apply(input, [event]); }; } _addEventListener.apply(input, [type, listener]); // add the modified listener } if (input.addEventListener) { input.addEventListener = addEventListenerWrapper; } else if (input.attachEvent) { input.attachEvent = addEventListenerWrapper; } } selectFirstOnEnterTelehealth(inputtelehealth); function autoCompletarHiddensTelehealth() { var placetelehealth = autocompletetelehealth.getPlace(); $('#serializedreturn').val(JSON.stringify(placetelehealth)); if (placetelehealth == undefined || !placetelehealth.geometry) { // User entered the name of a Place that was not suggested and return; } if (placetelehealth.address_components) { var address_components = placetelehealth.address_components; var components = {}; $.each(address_components, function (k, v1) { $.each(v1.types, function (k2, v2) { if(v2 == 'administrative_area_level_1'){ stateCode = v1.short_name; } components[v2] = v1.long_name; }); }); $("#search_autocomplete_telehealth").val(stateCode); var lat = placetelehealth.geometry.location.lat(); if (lat != undefined && lat != "") $('#latt').val(lat); var long = placetelehealth.geometry.location.lng(); if (long != undefined && long != "") $('#longt').val(long); if (components.postal_code != undefined) $('#search_autocomplete_telehealth').val(components.postal_code); else { if (components.locality != undefined && components.administrative_area_level_1 != undefined) $('#search_autocomplete_telehealth').val(components.locality + ", " + components.administrative_area_level_1); else $('#search_autocomplete_telehealth').val($('#direccion_maps_header_telehealth').val().replace(", EE. UU.", "")); } $("#search_autocomplete_telehealth").val(stateCode); } else { $('#search_autocomplete_telehealth').val($('#direccion_maps_header_telehealth').val().replace(", EE. UU.", "")); } } } // end code of geo location search for telehealth }); </script> </body> </html><!--seclogin-->