<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Javascript Redirect Based on a Form Selection (Before Submitting) in APIs &amp; Integrations</title>
    <link>https://community.hubspot.com/t5/APIs-Integrations/Javascript-Redirect-Based-on-a-Form-Selection-Before-Submitting/m-p/731646#M59716</link>
    <description>&lt;P&gt;Hi,&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/492048"&gt;@OSid&lt;/a&gt;&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":waving_hand:"&gt;👋&lt;/span&gt; Welcome to the community! Let's see if we can get the converstaion going. Hey,&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/73772"&gt;@Kevin-C&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/401263"&gt;@LeeBartelme&lt;/a&gt;,&amp;nbsp;do you have any thoughts here?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best,&lt;/P&gt;
&lt;P&gt;Jaycee&lt;/P&gt;</description>
    <pubDate>Fri, 16 Dec 2022 00:15:39 GMT</pubDate>
    <dc:creator>Jaycee_Lewis</dc:creator>
    <dc:date>2022-12-16T00:15:39Z</dc:date>
    <item>
      <title>Javascript Redirect Based on a Form Selection (Before Submitting)</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Javascript-Redirect-Based-on-a-Form-Selection-Before-Submitting/m-p/731459#M59699</link>
      <description>&lt;P&gt;I am looking to redirect users to a different page (for an academic account) based on them making that selection in a Hubspot from field.&lt;/P&gt;&lt;P&gt;This ideally would happen onchange and occur as soon as it is selected instead of happening on a form submission.&lt;/P&gt;&lt;P&gt;ID:&amp;nbsp;license_type_of_interest-cb1da23a-da50-42f8-b281-b8845c18b0a6&lt;BR /&gt;value:&amp;nbsp;Academic License&lt;/P&gt;&lt;P&gt;Attempted to get it by Id, match the values to "Academic License" and if that is the value to redirect to a new url immediately. Also, unfortunately using Wordpress and Hubspot forms.&lt;/P&gt;&lt;P&gt;Select Snippet: &lt;A href="https://www.olansgz.com/" target="_blank" rel="noopener"&gt;&lt;FONT color="#ffffff"&gt;Website&lt;/FONT&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;PRE&gt;&amp;lt;select id="license_type_of_interest-cb1da23a-da50-42f8-b281-b8845c18b0a6" required="" class="hs-input" name="license_type_of_interest"&amp;gt;
  &amp;lt;option disabled="" value=""&amp;gt;Please Select&amp;lt;/option&amp;gt;
  &amp;lt;option value="Silver License"&amp;gt;Silver&amp;lt;/option&amp;gt;
  &amp;lt;option value="Gold License"&amp;gt;Gold&amp;lt;/option&amp;gt;
  &amp;lt;option value="Enterprise License"&amp;gt;Enterprise&amp;lt;/option&amp;gt;
  &amp;lt;option value="Academic License"&amp;gt;Academic&amp;lt;/option&amp;gt;
  &amp;lt;option value="Researcher License"&amp;gt;Researcher&amp;lt;/option&amp;gt;
&amp;lt;/select&amp;gt;&lt;/PRE&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 29 Dec 2022 09:31:14 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Javascript-Redirect-Based-on-a-Form-Selection-Before-Submitting/m-p/731459#M59699</guid>
      <dc:creator>OSid</dc:creator>
      <dc:date>2022-12-29T09:31:14Z</dc:date>
    </item>
    <item>
      <title>Re: Javascript Redirect Based on a Form Selection (Before Submitting)</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Javascript-Redirect-Based-on-a-Form-Selection-Before-Submitting/m-p/731646#M59716</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/492048"&gt;@OSid&lt;/a&gt;&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":waving_hand:"&gt;👋&lt;/span&gt; Welcome to the community! Let's see if we can get the converstaion going. Hey,&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/73772"&gt;@Kevin-C&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/401263"&gt;@LeeBartelme&lt;/a&gt;,&amp;nbsp;do you have any thoughts here?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best,&lt;/P&gt;
&lt;P&gt;Jaycee&lt;/P&gt;</description>
      <pubDate>Fri, 16 Dec 2022 00:15:39 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Javascript-Redirect-Based-on-a-Form-Selection-Before-Submitting/m-p/731646#M59716</guid>
      <dc:creator>Jaycee_Lewis</dc:creator>
      <dc:date>2022-12-16T00:15:39Z</dc:date>
    </item>
    <item>
      <title>Re: Javascript Redirect Based on a Form Selection (Before Submitting)</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Javascript-Redirect-Based-on-a-Form-Selection-Before-Submitting/m-p/731649#M59719</link>
      <description>&lt;P&gt;Hey&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/492048"&gt;@OSid&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;take a look at the &lt;A href="https://legacydocs.hubspot.com/global-form-events" target="_blank" rel="noopener"&gt;global form events.&amp;nbsp;&lt;/A&gt;&lt;BR /&gt;what you could do is when the for is ready attach your change event listeners.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Dec 2022 00:25:16 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Javascript-Redirect-Based-on-a-Form-Selection-Before-Submitting/m-p/731649#M59719</guid>
      <dc:creator>Kevin-C</dc:creator>
      <dc:date>2022-12-16T00:25:16Z</dc:date>
    </item>
  </channel>
</rss>

