1

I don't find the record type in the "view page source" code of the website for which we have an existing web to lead form.

Is there any way to identify how a website is associated with a lead record type.

2

The record type will be determined by by one of the following:

  • The Record Type in the Web-to-Lead form.
  • The Default Record Type for the new Lead Owner, if assigned to a user by assignment rule.
  • The Default Record Type for the Queue's Owner, if assigned to a queue by assignment rule.
  • The Default Record Type for the Default Lead Creator, if nothing else applies.
  • Any triggers, workflows, or process builders that may have been configured.

Since there's multiple places to set the Record Type, there's no one place you can go to determine what the Record Type will end up being. You'll have to look at the total system configuration if you're not getting the expected result.

1

This is what we write when we generate code in salesforce:

<input type=hidden name="recordType" id="recordType" value="XXXXXXXXXXXXXXX"> //where XXXXXXXXXXXXXXX is recordtypeid

which is then further added to the website's form. I just checked, that page source shows the same line as I have written above.

Please check following salesforce documention:

https://help.salesforce.com/articleView?id=000005177&type=1

Let me know this helps!

10
  • i couldnt find anything by the name "recordType" in my page source.
    – Sowparnika
    Jun 22 '18 at 8:47
  • @Sowparnika are you able to find anything with tag <input type=hidden> ??? Jun 22 '18 at 9:05
  • I just Updated answer,why its down voted Jun 22 '18 at 9:06
  • @AnnappaPH, the ask of this question is not what you answered! Jun 22 '18 at 9:07
  • Have you checked the link.what I had given.Its already available same thing you posted here.I have provided few steps and check my first link whats the wrong in that Jun 22 '18 at 9:08

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.