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
cherialcherial 

html form details into Salesforce object...

I have  a custom object Student__c & an html page Student_Entry.html

Student__c has two fields: Admission_Number__c & Student_Name__c
Student_Entry.html page has two text fields Admn_num & stud_name and a Submit button.

Suppose when a user fills the form and click Submit button then i want to insert a new record into the Student__c
object with the details taken from the form.

Plesae suggest me a step by step approach to achieve this. If possible suggest me resources too...

Thanks in advance,
-Nath
JeremyKraybillJeremyKraybill
Not sure I understand what you are trying to achieve -- specifically why can't you just use the standard "New" page for your custom object? With page layouts etc you can achieve what you are describing.

If you need some custom logic that can't be done with normal pages, then you will want to create a VisualForce page with a custom controller to do your logic for you. The VisualForce developer guide will be your best resource for that.

Jeremy Kraybill
Austin, TX