• Cara K
  • NEWBIE
  • 0 Points
  • Member since 2015

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 0
    Replies

Hello all, 

How do  I sync a custom field to a custom web-to-lead form?  

The original Web-to-Lead code was generated via Salesforce.  My web developer had apply the code, along with customizing the look of the form.  There are presently 2 custom fields included on the form, only one is working.  I have tested with both API name (Reservation_Start_Date_Time__c) and Custom Field ID name (00NE0000000cAFG), however neither seems to be syncing.  

Presently I have the following code in place; in my debug mode test it indicates that the field does show the date.  

<input type="text" id="pickup_date" name="00NE0000000cAFG" placeholder="Pick up date" class="form-control" required="" value="">

I also placed a custom widget to display a calendar for date selection.  I don't know if this is interfering with the sync.  If so, does anyone know a work around?  

            //Mobile hero CTA functionality
            $('#toggle_intake').click(function(){
                $('.orientation').hide();
                $('#toggle_intake').remove();
                $('.quick-quote').addClass('active');
                $('.card').addClass('hot');
                $('#service').addClass('hot');
                $('#pickup_date').datepicker();