Questions tagged [web2lead]

Web-to-Lead: An HTML form to capture contact and profile information from users and automatically generate new leads in salesforce.com

Filter by
Sorted by
Tagged with
-1 votes
1 answer
182 views

Have created a Custom Formula Field Country which should be able to fetch Country Name from the Address standard field on Lead Object

Hello SFDC Experts and Community People, Thanks for all your help so far to help me with the JS code which was inserted in Web2Lead HTML form code to obtain Lead's country info. However as the ...
Aritra Dasgupta's user avatar
0 votes
2 answers
145 views

Capture Country of Lead by using JS in web to lead form in SFDC based on the IP address of the lead and update Country field of Lead record [closed]

We have a business requirement to capture country of the lead automatically based on the web-to-lead feature of salesforce where I have inserted this below JS code after the web to-lead form is auto ...
Aritra Dasgupta's user avatar
0 votes
1 answer
55 views

Unable to Make Get HTTP Request From Web 2 Lead Form [duplicate]

I'm building an HTML page which will be later used for the web-to-lead feature of SFDC. I'm using Javascript within to fetch the country info of the submitter. I'm having trouble making these GET ...
Aritra Dasgupta's user avatar
1 vote
0 answers
71 views

How to override base web-to-lead component styling in LWR with a static resource stylesheet

I am using the lead form in the experience builder (With no theme), and I am trying to style it. However, I seem to be hitting a brick wall. Here is my code: Head Markup: <link rel="stylesheet&...
Darryl Le Roux's user avatar
0 votes
1 answer
94 views

Is it possible to have Web-to-Lead and Web-to-Case forms in the same form?

Just wondering whether it's possible to have the Web-to-Lead form and Web-to-Case form in the same form based on condition? Thanks!
BB0202's user avatar
  • 11
0 votes
1 answer
220 views

Web-To-Lead Debug Email Not Delivered

I am debugging issues with web-to-lead in our org. Here are the steps I have taken so far: Add debug email to the form I am the default lead creator I have setup debug logs for my user. However, I ...
Kalpesh's user avatar
  • 35
0 votes
1 answer
510 views

Cannot see existing web-to-lead form for System admin user

I am able to create web to lead forms but can't see existing forms to edit them. The default lead creator or someone else, si that the problem?
TSCAmerica.com's user avatar
0 votes
1 answer
552 views

Send Lead details using email template to specific user email address when lead is created

I have a simple web-to-lead that works as expected. What I want to do is send a copy of the form details if the lead meets a certain condition. Condition being: LeadSource = "example". The ...
user's user avatar
  • 3
0 votes
0 answers
175 views

Why is my title field not populating from this Web to Lead form?

This web to lead form is working as expected. A lead gets created and all fields are populated except for the "Title" field. I tried to find any commas or brackets missing or anything out of ...
Max D's user avatar
  • 1
1 vote
0 answers
163 views

Is there a way for Interaction Studio to generate an Engagement Score from CRM fields before a Lead/Contact Id has known website visit behaviors?

The use case that we want to apply here is to use Interaction Studio (Marketing Cloud Personalization) to generate an Engagement Score for a Lead from Sales Cloud using specific fields and the ...
Jenn's user avatar
  • 11
0 votes
1 answer
500 views

Web-to-lead form with File Upload using lwc [closed]

I am trying to create a web-to-lead form with LWC since I'm new to LWC. I am not sure how to create an LWC web-to-lead form with File upload(found a package but they have done using it Screen Flow, ...
yash jagtap's user avatar
0 votes
0 answers
122 views

Web to lead form as an attachment (PDF) to capture the data!

I am trying to capture the data with the help of a PDF file instead of a simple form (web-to-lead). is it possible? As to provide a pdf file to the user to fill instead of a plain form and then ...
Abdul Qayyum's user avatar
0 votes
1 answer
639 views

Lead assignment rules not working on Web-to-Lead form

I'm trying to test a simple lead assignment rule in order to start routing leads to different regional sales teams. I created a Web-to-Lead form and used the following default assignment rule criteria ...
brokentechmeow's user avatar
0 votes
1 answer
205 views

Salesforce Web-to-Lead Form Column Separation

I'm trying to separate the following into two columns. Separation after the "phone" field. I'm using the code provided by salesforce to upload to our website. Also hoping someone can help me ...
Bluefin's user avatar
1 vote
2 answers
248 views

Integrating Salesforce web-to-lead HTML integration with Wix? [closed]

Remarkably in the year of our lord 2022 this seems to still largely be an open question on the internet and if anything, a great commentary on not using Wix if you're a remotely 'serious' business. ...
GPP's user avatar
  • 553
0 votes
1 answer
1k views

Email Template :: Merge Fields

I have an email template that sends an email on the creation of a new lead using web-to-lead. When used in a flow I get the following error. Has anyone had this issue before? I cannot get any fields ...
Mark's user avatar
  • 29
0 votes
1 answer
248 views

Web-to-lead issue with phone number validation rule

I'm running into an issue with a validation rule. I'm not a developer, but I'm determined to figure this out. Here's what I know so far. A web-to-lead form is getting an error when posting a lead due ...
J Bree's user avatar
  • 1
0 votes
1 answer
306 views

Web-to-lead - Input type for phone is text

Please pardon the banality of this question - though I do have some small experience as a developer, salesforce is very obviously it's own environment so I would appreciate if I could draw on all of ...
Rogelio's user avatar
  • 115
0 votes
1 answer
380 views

Web to lead True/False Considerations?

Are there any special considerations when submitting data for a Checkbox field through Web to lead endpoint? When I submit a lead with checkbox value True, it accepts the lead. When I submit a lead ...
PaulyP's user avatar
  • 197
0 votes
2 answers
229 views

Trying to get the 'source' url to salesforce leads (web-to-lead / salesforce)

I am trying to get the page url (from where the user fills in the contactform) to my leads in salesforce. I've got this code so far: add_filter( 'salesforce_w2l_field_value', '...
Ben's user avatar
  • 1
0 votes
1 answer
93 views

Web-to-Lead from my Wordpress website

I had configured the Web-to-Lead in Salesforce and now I need to connect it with my WordPress website. Is there any plugin to help me with that? Please note that the edition of Saleforce org is ...
michant's user avatar
  • 15
-1 votes
1 answer
2k views

How can I capture Debug Logs for Web to Lead form?

The error is Salesforce could not create this lead because of the reason listed below. For more information about this error or help with Web-to-Lead, please contact Customer Support. Reason: Use one ...
SalesforceLearner's user avatar
0 votes
1 answer
223 views

Is there a way to send attachement image to Salesforces server with Web to leads forms or Web to case & with using AJAX?

So what I am looking for in an indication, because all articles I read about when it comes to sending attachment are dealing with web to lead or web to case forms with default submission! But what ...
TaouBen's user avatar
  • 154
0 votes
1 answer
1k views

What does same origin policy mean when trying to submit a Web to lead form via AJAX? [closed]

I am stuck working on a task, I get a same origin policy error : Access to XMLHttpRequest at 'https://webto.salesforce.com/servlet/servlet.WebToLead?encoding=UTF-8' from origin 'http://localhost' has ...
TaouBen's user avatar
  • 154
0 votes
1 answer
62 views

Web to lead assignment to User with least open lead count

I have created a Map 'userIdWithOpenLeadCountMap' and grouped by OpenLeadCount in the ASC order. Then I am getting the first Key from the Map (UserID:005E0000003X2MH) and assigning a new lead to this ...
GroundToCloud's user avatar
0 votes
3 answers
496 views

Lead Assignment based on Load Balancer Concept

How to implement the concept of load balancer? I have set up the Lead Assignment rules based on the concept of Round Robin. Incoming Leads are rotated between each Rep. Works great. However, I now ...
GroundToCloud's user avatar
0 votes
2 answers
417 views

Salesforce web-to-lead conditional lead creation [closed]

We have a web-to-lead form on website, which works just fine (correct data and all that), but now we need to tweak the 'flow' a bit and i'm not sure if that's even possible as i couldn't find anything ...
J Boi's user avatar
  • 3
0 votes
1 answer
948 views

Web-to-lead controll duplicates

I need control duplicate Lead in Web-To-Lead If Lead not exist, it must created, if not, the Lead will not create and a task created assigned to the existint Lead It is possible? I want not create ...
Rodolfo's user avatar
  • 196
0 votes
0 answers
296 views

Lead Conversion to new or existing contact

I did setup a web-to-lead form for a non-profit organization. The customer is not going to use Leads in Salesforce. I did setup a record-triggered flow after the web-to-lead. Once the lead is saved ...
Balaji Pooruli's user avatar
0 votes
1 answer
31 views

Prevent internal users from using production web-to-lead form to create test data in prod

There are production users going to our company site and using our web-to-lead form to create data. This is a problem because there are times we don't know what are real leads, and which ones are ...
Tyler Zika's user avatar
  • 2,818
0 votes
1 answer
375 views

Web to lead / get source URL

I have the same web to lead code in many web sites. How could I dynamically set in a custom field on my lead the origin URL, from where the client come from?
Raphael D's user avatar
  • 524
0 votes
1 answer
161 views

Web-to-lead conversion to account and contact creating duplicates via APEX

Lead conversion with following APEX code. Database.LeadConvert leadConvert; leadConvert = new database.LeadConvert(); leadConvert.setLeadId(leadId); leadConvert....
Kamran Jabbar's user avatar
3 votes
0 answers
356 views

Web-to-lead Creates Lead with Delay

I have a web-to-lead form. I enabled the debugging as well to see what happens. When I submit the form it says Queued. Why web-to-lead process queues the request? Even I have less than 500 per day. Is ...
Kamran Jabbar's user avatar
0 votes
1 answer
195 views

Can we add two salesforce Org in Web To Lead Form? [closed]

I have a requirement where I need to send the lead generated from the web to lead form to two different salesforce org. One is to my Org another is to our partner's org who also maintains salesforce,...
sfdc's user avatar
  • 321
0 votes
1 answer
1k views

How to pass personalization into a cloud page URL that has web to lead code

Use case: I have this CloudPage - https://us.abc.com/signupform and it is populated with web2lead code from Sales cloud so upon submission a lead record is created directly in Sales Cloud. This sign ...
sgogulam's user avatar
0 votes
1 answer
658 views

AMPscript Update or Create New Lead Form Issue / SOLVED

I am new to AMPscript and trying to create a form that will find and update our subscribers or create new ones inside of SFDC but have run into some issues. Goal of form: Collect Subscriber Key from ...
Egypte's user avatar
  • 31
0 votes
2 answers
270 views

500 Error with Sales Cloud-integrated lead capture form using AMPscript

I am new to writing AMPscript. I'm attempting to place an ales Cloud-integrated lead capture form using AMPscript on Cloud Pages within Marketing Cloud using the content builder. I keep getting the ...
Egypte's user avatar
  • 31
0 votes
2 answers
48 views

Lead Generation [closed]

Why in case of web-to-lead we can enter null value in the web-lead page, but the Salesforce field it looks like the image below?
Sam swarup 's user avatar
0 votes
1 answer
222 views

Web 2 lead latitude and longitude values are not inserted

I'm using a Web2Lead form, and on submit pass all input values. But when I try to insert latitude and longitude values, they are not inserted in SF record. I'm try to use different ways, but still no ...
Viktor's user avatar
  • 360
0 votes
1 answer
1k views

Web-to-Lead custom Return Url

With the Salesforce web-to-lead option, there is a return url that happens when form has been submitted. However it is static. But I would like info passed along from the form such as an email they ...
strangeQuirks's user avatar
1 vote
1 answer
528 views

How to Integrate multiple web to lead from

Need Help in Integrating the multiple web to lead forms. Conditions: Form 1 will be intake form 2 & 3 is dependent on the first form so how do I integrate the whole process whereas first form also ...
akash's user avatar
  • 35
1 vote
2 answers
402 views

Apex Test class for web-to-lead creation without OwnerId

I need to create an Apex test class for a Lead Apex Trigger that handles "before insert" of the web-to-lead inserts of Lead records that DON'T have OwnerId at the "before insert" time. Assigning of ...
Miroslav's user avatar
0 votes
1 answer
2k views

prevent web-to-lead form submit if condition are not met

I've added a new custom field on web-to-lead form (consent to contact-picklist),I want a user to be able to submit only if consent to contact=yes, by default it will appear as 'NO' on the form. Any ...
user30768's user avatar
  • 151
0 votes
1 answer
397 views

How to post real time errors in web to lead form?

I want to show an error message if a lead has a duplicate field record. The message should be on the form itself. Is it possible?
Vishu Garg's user avatar
1 vote
0 answers
259 views

Simple Web-To-Lead but with additional email verification (Double-Opt-In)

On our website (Wordpress-backed) we currently use the standard Web-To-Lead form from Salesforce. As we get a lot of spam from it AND to comply with the new European Privacy law GDPR we want to add ...
Robert Sösemann's user avatar
1 vote
2 answers
2k views

Web to Lead "Default Owner"

Can i assign a owner for a web to lead form in the website code? Just like we do for the record type and Lead Source. 1) Record Type <input type=hidden name="recordType" id="recordType" value="...
Omkarnadh Sanka's user avatar
1 vote
2 answers
2k views

Web to Case SuppliedName not populating

My Web to Case form is populating all data on the Case other than the Web Name (SuppliedName). Is there a way to populate the name? I assume everything should be the same formatting wise as the ...
Olivia's user avatar
  • 3,431
0 votes
1 answer
2k views

How to send date from web to lead to datefield salesforce

I try to pass a date from a web2lead form to a date field, but the field stays empty. Travel date in: <span class="dateInput dateOnlyInput"> <input id="00N1t00000K2yXV" name="...
Thomas's user avatar
  • 2,294
1 vote
1 answer
430 views

recordtypeid web2lead form not saving correct

I have the following web2lead form where I add a recordtype. On submit it still generates a default lead recordtype. Am I missing something? <META HTTP-EQUIV="Content-type" CONTENT="text/html; ...
Thomas's user avatar
  • 2,294
0 votes
1 answer
472 views

Add images in web to lead form [closed]

I am creating a web to lead form. I have to add images in background. Can we add Images in body background in web-to-lead form? Please help!
SFDC 44's user avatar
  • 664