function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Sakthi169Sakthi169 

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>
<html>
<head>
<META HTTP-EQUIV="Content-type" CONTENT="text/html; charset=UTF-8">


<body>
<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">

</form>
</head>
</body>
</html>
Pankaj_GanwaniPankaj_Ganwani
Hi,

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">
JethaJetha
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.
Sakthi169Sakthi169
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....
Sakthi169Sakthi169
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....
JethaJetha
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/

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

https://success.salesforce.com/ideaView?id=08730000000BpoaAAC