+ Start a Discussion

How to insert the form value to salesforce

Hi to all,

I create the basic form with account fields and i need to upload the form values dirctly to salesforce.
<!DOCTYPE html>
<META HTTP-EQUIV="Content-type" CONTENT="text/html; charset=UTF-8">

<form method="POST">

<label for="first_name">First Name</label><input  id="first_name" maxlength="40" name="first_name" size="20" type="text" /><br>

<label for="last_name">Last Name</label><input  id="last_name" maxlength="80" name="last_name" size="20" type="text" /><br>

<label for="email">Email</label><input  id="email" maxlength="80" name="email" size="20" type="text" /><br>

<label for="company">Company</label><input  id="company" maxlength="40" name="company" size="20" type="text" /><br>

<label for="city">City</label><input  id="city" maxlength="40" name="city" size="20" type="text" /><br>

<label for="state">State/Province</label><input  id="state" maxlength="20" name="state" size="20" type="text" /><br>

<input type="submit" name="submit">


Are you looking for webToLead functionality? If so, then replace following form tag with your current one in your page:

<form action="https://www.salesforce.com/servlet/servlet.WebToLead?encoding=UTF-8" method="POST">
In Every language, We have MVC pattern, where M stands for Model, V stands for View and C stands for controller.
Here you have only view that means your view is not connected with database.

To establish the same we have visualforce, controller and force.com platform in salesforce.

So this simple form can not be used.
Hi Pankaj,

I am new to salesforce.I create basic form for account page with some mandatory field with submit function using html.When i click the "submit" button it directly upload to salesforce(like online lead creation). How to do it....
Hi Choudhary,

I dont want internal usage(Visualforce)....I am create the external basic form and that value directly store to SF. How can i do it. I am new to salesforce....
Friend, We don't have this sort of functionality for Account object out of the box, only for case and lead.

You can take help from here :http://cloud4good.com/announcements/how-to-integrate-online-forms-with-salesforce-com/

We Cannot create using backend coding.
You can vote on this idea to implement this functionality OOB by salesforce;