3 Replies Latest reply on Nov 24, 2015 2:36 AM by 6d0a2eb38bf6567106d35ef1810f97108668cf55

    Cant Parse information to notification email

      Dear community.
       
      I have recently created a page that I would like to be able to allow people to pick a date and a time for a meeting.  I’m having difficulty with the time (Hours and minutes). 
       
      Once someone has added their preferred date and time, along with other details – I have set up an alert notification email to be sent to relevant stakeholders.  However, it seems as if the time of day field is not being carried across.
       
      Everything else works fine.  Please see the code below and if you can spot anything wrong.  Any help would be much appreciated.
       
      Kind Regards.

      PS. Suspected issue located at the bottom highlighted in bold. 

           <!doctype html>
           <html>
           <head>
           <meta charset="UTF-8">
           <title>MARKETPLACE: GETTING STARTED</title>
           <link href="http://info.equinix.com/rs/equinixinc/images/grid.css" rel="stylesheet" type="text/css">
           <link href="http://info.equinix.com/rs/equinixinc/images/styles.css" rel="stylesheet" type="text/css">
           <link href="http://info.equinix.com/rs/equinixinc/images/jquery.datetimepicker.css" rel="stylesheet" type="text/css">
           <link href="http://info.equinix.com/rs/equinixinc/images/jquery-ui-1.10.3.custom.min.css" rel="stylesheet" type="text/css">
            
           <!--[if lt IE 9]>
           <script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
           <![endif]-->
           <!--[if gte IE 9]>
             <style type="text/css">
               .gradient {
                  filter: none;
               }
             </style>
           <![endif]-->
            
           <!-- SYSTEM JAVASCRIPT - DO NOT EDIT -->
           <script type="text/javascript">
           function fieldValidate(field) {
             /* call Mkto.setError(field, message) and return false to mark a field value invalid */
             /* return 'skip' to bypass the built-in validations */
             return true;
           }
           function getRequiredFieldMessage(domElement, label) {
             return "This field is required";
           }
           function getTelephoneInvalidMessage(domElement, label) {
             return "Please enter a valid telephone number";
           }
           function getEmailInvalidMessage(domElement, label) {
             return "Please enter a valid email address";
           }
           </script>
           <script type="text/javascript">
            var mktoPreFillFields = {"Company":null,"Email":decodeURIComponent("Test"),"FirstName":decodeURIComponent("Test"),"LastName":null,"Phone":null,"Title":null};
           </script>
            
           <script type="text/javascript">
            var mktoPreFillFields = {"Email":null,"FirstName":null,"LastName":null,"LeadSource":null,"Phone":null,"Title":null,"ContactMe":false,"Country_Web_To_Lead2__c":null,"Customer_Segment_Vertical__c":null,"DecisionTimeframe":null,"Form_Source__c":null,"Lead_Source_Details__c":null,"Lead_Source_Detail_Original__c":null,"Lead_Source_Last__c":null,"Social_Media_Source_Last__c":null,"Social_Media_Source_Original__c":null,"Sub-Industries":null,"Which_IBX_Market__c":null};
           </script>
            
            
           <link rel="shortcut icon" href="/favicon.ico" type="image/x-icon" />
           <link rel="icon" href="/favicon.ico" type="image/x-icon" />
           <meta name="robots" content="noindex, nofollow" />
           <meta name="formPrefill" content="1" />
            
           <!--<script type="text/javascript">
            
             var _gaq = _gaq || [];
             _gaq.push(['_setAccount', '????']);
             _gaq.push(['_setDomainName', '????']);
             _gaq.push(['_setAllowLinker', true]);
             _gaq.push(['_trackPageview']);
            
             (function() {
               var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
               ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
               var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
             })();
            
           </script>-->
            
           <script type="text/javascript">
            
           var myfont_webfont_test = false;
            
           var woffEnabled = true;
            
           var customPath = "http://www.equinix.com/local/new/fonts";
            
           </script>
            
           <script src="http://www.equinix.com/local/new/fonts/webfonts.js" type="text/javascript"></script>
               <style>
           @font-face {font-family:"ProximaNova-Regular";src:url("http://www.equinix.com/local/new/fonts/webfonts/woff/style_148510.woff") format("woff");}
           @font-face {font-family:"ProximaNova-Semibold";src:url("http://www.equinix.com/local/new/fonts/webfonts/woff/style_148547.woff") format("woff");}
           @font-face {font-family:"ProximaNova-Light";src:url("http://www.equinix.com/local/new/fonts/webfonts/woff/style_148550.woff") format("woff");}
           @font-face {font-family:"ProximaNova-Bold";src:url("http://www.equinix.com/local/new/fonts/webfonts/woff/style_148514.woff") format("woff");}
           </style>
            
           </head>
           <body>
           <div class="container">
             <div class="topRow gradient">
               <div class="container_20">
               <div class="inline-logo grid_6"><img src="http://info.equinix.com/rs/equinixinc/images/equinix-marketplace-logo-inline-base11px.png" width="154" height="22" alt=""/></div>
                 <div class="grid_13 suffix_1"> 
                   <p align="right"><a href="http://www.equinix.com/">equinix.com </a></p>
                 </div>
               </div>
             </div>
             <div class="container_20" id="maincontent">
               <div class="row">
                 <div class="grid_13 lozenge">
                   <span face="ProximaNova-Regular, Arial, Helvetica, sans-serif" _mce_style="font-family: ProximaNova-Regular, Arial, Helvetica, sans-serif;" style="color: #ff0000; font-family: ProximaNova-Regular, Arial, Helvetica, sans-serif;"><h1>What is Marketplace?</h1></span>
                 </div>
               </div>
               <div class="row">
                 <div class="grid_14 frame white">
                   <span color="#ff0000" face="ProximaNova-Regular, Arial, Helvetica, sans-serif" _mce_style="color: #ff0000; font-family: ProximaNova-Regular, Arial, Helvetica, sans-serif;" style="color: #ff0000; font-family: ProximaNova-Regular, Arial, Helvetica, sans-serif;"><h1>Watch and learn!</h1>
                   </span>
                   <div style="display:none; margin:0 -10px; padding:0 !important;" class="html5gallery" data-skin="light" data-width="586" data-height="360">
                     
                     <!-- Add images to Gallery -->
                     <a href="http://www.youtube.com/watch?v=m8FBZGKPNKA"><img src="http://info.equinix.com/rs/equinixinc/images/IBC-thumb.jpg" alt="Equinix Marketplace"></a>
                     <a href="https://s3.amazonaws.com/equinix-usa-video/equinix_gamma_customer_testimonial.mp4"><img src="http://info.equinix.com/rs/equinixinc/images/gamma-thumb.jpg" alt="Gamma Discusses the Equinix Marketplace"></a>
                     
                     
                   </div>
                   <h2>How to Register?</h2>
                   <p><a href="https://marketplace.equinix.com/gsd/unsecure/registration/registration.jsf">Click here</a> and enter your details to get instant access. <br>
                     Need help? <strong><a href="http://info.equinix.com/rs/equinixinc/images/MP-How-to-register2.mp4">Watch the “How to register video”</a></strong><span color="#ff0000" face="ProximaNova-Regular, Arial, Helvetica, sans-serif" _mce_style="color: #ff0000; font-family: ProximaNova-Regular, Arial, Helvetica, sans-serif;" style="color: #ff0000; font-family: ProximaNova-Regular, Arial, Helvetica, sans-serif;">          </span></p>
                   <p> </p>
                   <p><strong>The Marketplace portal makes it easy for our buyer and seller customers to connect to do business together.</strong></p>
                   <ul style="margin-left:20px;">
                     <li>A no cost,  value added service </li>
                     <li>Search from over 2500 customer service providers </li>
                     <li>Over 7000 customers searches taking place each month </li>
                   </ul>
                   <h2> </h2>
                 </div>
                 <div class="grid_6 frame grey">
                   <h3>Book a live Marketplace demo
                   </h3>
                   <p>Join us for a demo, where one of our team will help get you started and make sure your company gets the most out of Marketplace.</p>
                   <div id='lpeCDiv_106056' class='lpeCElement Form_1'>
                   <span class='lpContentsItem formSpan'>
           <script type="text/javascript">
           var profiling = {
             isEnabled: false,
             numberOfProfilingFields: 3,
             alwaysShowFields: [ 'mktDummyEntry']
           };
           var mktFormLanguage = 'English'
           </script>
           <script type="text/javascript"> function mktoGetForm() {return document.getElementById('mktForm_1601'); }</script>
           <form class="lpeRegForm formNotEmpty" method="post" enctype="application/x-www-form-urlencoded" action="http://info.equinix.com/index.php/leadCapture/save" id="mktForm_1601" name="mktForm_1601"><ul class='mktLblLeft'><li  class='mktFormReq mktField' >
             <label>First Name:<br>
             </label><span class='mktInput'><input class='mktFormText mktFormString mktFReq field' name="FirstName" id="FirstName" type='text' value=""  maxlength='255' tabIndex='1' /><span class='mktFormMsg'></span></span></li>
           <li  class='mktFormReq mktField' >
             <label>Email Address:<br>
             </label><span class='mktInput'><input class='mktFormText mktFormEmail mktFReq field' name="Email" id="Email" type='text' value=""  maxlength='255' tabIndex='2' /><span class='mktFormMsg'></span></span></li>
            
           <li  class='mktFormReq mktField' >
             <label>Preferred  Date:<br>
             </label><span class='mktInput'><input class='mktFormText mktFormDate mktFReq field' name="PreferredDate" id="PreferredDate" type='text' value=""   tabIndex='3' /><span class='mktFormMsg'></span></span></li>
             <div class="calendar-drop">
             </div>
             <li  class='mktFormReq mktField' >
             <label>PreferredTime (GMT):<br>
             </label><span class='mktInput'><input class='mktFormText mktFormTime mktFReq field' name="PreferredTime" id="PreferredTime" type='text' value=""   tabIndex='3' /><span class='mktFormMsg'></span></span></li>
           <li id='mktFrmButtons'><label> </label><input id='mktFrmSubmit' type='submit' style="cursor:pointer;" class="field submit clearfix" value='Submit' name='submitButton' onclick='formSubmit(document.getElementById("mktForm_1601")); return false;' /></li>  </ul>
             <span style="display:none;"><input type="text" name="_marketo_comments" value="" /></span>
             <input type="hidden" name="lpId" value="23875" />
             <input type="hidden" name="subId" value="52" />
             <input type="hidden" name="munchkinId" value="180-SLL-021" />
             <input type="hidden" name="kw" value="" />
             <input type="hidden" name="cr" value="" />
             <input type="hidden" name="searchstr" value="" />
             <input type="hidden" name="lpurl" value="http://info.equinix.com/MKTFORMCODE.html?cr={creative}&kw={keyword}" />
             <input type="hidden" name="formid" value="1601" />
             <input type="hidden" name="returnURL" value="http://info.equinix.com/MarketplaceThankYou.html" />
             <input type="hidden" name="retURL" value="http://info.equinix.com/MarketplaceThankYou.html" />
             <input type="hidden" name="returnLPId" value="23139" />
             <input type="hidden" name="_mkt_disp" value="return" />
                 <input type="hidden" name="_mkt_trk" value="id:180-SLL-021&token:_mch-equinix.com-1384787787494-45289" />
             </form>
               <script type="text/javascript" src="http://info.equinix.com/js/mktFormSupport.js"></script>
             <script type="text/javascript">
             function formSubmit(elt) {
               return Mkto.formSubmit(elt);
             }
             function formReset(elt) {
               return Mkto.formReset(elt);
             }
               </script>
           </span>
                   </div>
                 </div>
               </div>
             </div>
             <div id="prefooter"> </div>
             <footer>
             <div class="container_20">
               <div class="grid_20"></div>
             </div></footer>
             <!-- end .container --></div>
            
            
      <script type="text/javascript">
        $('#PreferredDate').datetimepicker({
      timepicker:false,
      format:'m/d/Y',
      formatDate:'m/d/Y'
      });
            
            $('#PreferredTime').datetimepicker({
      datepicker:false,
      step: 30,
      format:'H:i'
      });
          </script>
          
            
           </body>
           </html>