Hii I am New in SalesForce CRM and i am facing big problem with Salesforce Web To lead form what i did i have created landing page and in which one lead Collection Form connected to Sales Force CRM now what is the problem i am facing is when i am Going to Submit my form only Two Fields are coming in Database why all fields are not coming Please help me out

Recommended Answers

All 14 Replies

Why are only two fields getting inserted into the db? Uhm, bad code? We have no idea what is going wrong as we have no idea what the form (the HTML of the form, not a screenshot) looks like, nor do we know how that is being read and processed (the code).

Why are only two fields getting inserted into the db? Uhm, bad code? We have no idea what is going wrong as we have no idea what the form (the HTML of the form, not a screenshot) looks like, nor do we no how that is being read and processed (the code).

Have you Ever Heard About Sales Force CRM ........my question is specfic and there is no issue with Coding part

there is no issue with Coding part

And you're so sure of that? Well, if that's the case the problem is your form, but I would then say to ask the developers of Sales Force CRM (or, probably just read the manual).

u want to show my Coding part ..........then i can show you........

<div id="form"><br> 
<br> 
 
 
<form action="https://www.salesforce.com/servlet/servlet.WebToLead?encoding=UTF-8" method="POST"> 
 
<input type=hidden name="oid" value="00DD0000000lEoz"> 
<input type=hidden name="retURL" value="http://www.somedomain.com"> 
 

 
<table width="100%" border="0" cellspacing="0" cellpadding="0"> 
            
            <tr> 
              <td width="4%" height="32">&nbsp;</td> 
              <td width="32%" valign="top" class="red-color">Salutation :</td> 
              <td width="64%" valign="top"><span id="spryselect1"> 
                <select  id="salutation" name="salutation"> 
                  <option value="">--None--</option> 
                  <option value="Mr.">Mr.</option> 
                  <option value="Ms.">Ms.</option> 
                  <option value="Mrs.">Mrs.</option> 
                  <option value="Dr.">Dr.</option> 
                  <option value="Prof.">Prof.</option> 
                </select> 
            </td> 
            </tr> 
            <tr> 
              <td height="31">&nbsp;</td> 
              <td valign="top" class="red-color">First Name :</td> 
              <td valign="top"> 
              <input  id="first_name" maxlength="40" name="first_name" size="20" type="text" /> 
              </td> 
            </tr> 
            <tr> 
              <td height="36">&nbsp;</td> 
              <td valign="top" class="red-color">Last Name :</td> 
              <td valign="top"> 
              <input  id="first_name2" maxlength="40" name="first_name2" size="20" type="text" /> 
          </td> 
            </tr> 
            <tr> 
              <td height="36">&nbsp;</td> 
              <td valign="top" class="red-color">Email :</td> 
              <td valign="top"> 
              <input  id="first_name3" maxlength="40" name="first_name3" size="20" type="text" /> 
             </td> 
            </tr> 
            <tr> 
              <td height="36">&nbsp;</td> 
              <td valign="top" class="red-color">Phone :</td> 
              <td valign="top"> 
              <input  id="first_name4" maxlength="40" name="first_name4" size="20" type="text" /> 
              </td> 
            </tr> 
            <tr> 
              <td height="30">&nbsp;</td> 
              <td valign="top" class="red-color">Zip :</td> 
              <td valign="top"> 
              <input  id="first_name5" maxlength="40" name="first_name5" size="20" type="text" /> 
              </td> 
            </tr> 
            <tr> 
              <td height="33">&nbsp;</td> 
              <td valign="top" class="red-color">Lead Source :</td> 
              <td valign="top"> 
                <select  id="lead_source" name="lead_source"> 
                  <option value="">--None--</option> 
                  <option value="Advertisement">Advertisement</option> 
                  <option value="Employee Referral">Employee Referral</option> 
                  <option value="External Referral">External Referral</option> 
                  <option value="Partner">Partner</option> 
                  <option value="Public Relations">Public Relations</option> 
                  <option value="Seminar - Internal">Seminar - Internal</option> 
                  <option value="Seminar - Partner">Seminar - Partner</option> 
                  <option value="Trade Show">Trade Show</option> 
                  <option value="Web">Web</option> 
                  <option value="Word of mouth">Word of mouth</option> 
                  <option value="Other">Other</option> 
                  <option value="Dianomi">Dianomi</option> 
                </select> 
             </td> 
            </tr> 
            <tr> 
              <td height="35">&nbsp;</td> 
              <td colspan="2" align="center"><input name="submit" type="submit" value="Submit"></td> 
            </tr> 
            <tr> 
              <td colspan="3">&nbsp;</td> 
            </tr> 
          </table> 
 
</form> 
 
        </div>

u want to show my Coding part ..........then i can show you........

I don't really care, but when you come to forum and say I have this, it does (or doesn't) do this and then reject the first suggestion made, you are not improving your chances of getting any quality help.

Hey @masijade i am not here to fight anyone if anyone is here and help me out then please help me .........if this forum is not helping people...........then y you are moderating this

Well, for one, I would like to know which two fields are getting successfully added, and if they are the "First Name" and "Lead Source" fields, then I would say to inspect the input ids (and names).

Hey @masijade i am not here to fight anyone if anyone is here and help me out then please help me .........if this forum is not helping people...........then y you are moderating this

And that post was not "fighting" you. That post was advice.

hey buddy yes .......only these two are coming

ohhhhh man ............yes ......problem with id......

And that post was not "fighting" you. That post was advice.

Thanks a lot

ohhhhh man ............yes ......problem with id......

All I can say is "attention to detail", as I don't know anything about "Sales Force CRM", but I can now make a few "educated" guesses about how it works.

@deecoup you pick up wrong forum to post your question. What we do is help people with their coding problems/issues and we do not provide support for end user applications. For that you want to use product support page.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.