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
sfdc_dev123sfdc_dev123 

Multiple records insert in vf page

name

phone

company

----

---

---

---

---

---

---

Row1

 

 

 

 

 

 

 

 

 

Row2

 

 

 

 

 

 

 

 

 

Row3

 

 

 

 

 

 

 

 

 

Row4

 

 

 

 

 

 

 

 

 

Row5

 

 

 

 

 

 

 

 

 

Row6

 

 

 

 

 

 

 

 

 

Row7

 

 

 

 

 

 

 

 

 

 

ADDROWS(5 rows)

 

                                                                                               SAVE

 

 

Hi,

I want insert multiple records at a time in visual force page. if any field is empty it wii raise an error and clicking on add rows it will add 5 rows how to insert multiple records. Anyone knew this requirement Please reply me.

 

 

 

Thanks. 

 

Best Answer chosen by Admin (Salesforce Developers) 
@anilbathula@@anilbathula@

All Answers

@anilbathula@@anilbathula@
This was selected as the best answer
sfdc_dev123sfdc_dev123

Hi anil,

 

Thank you for your reply. But is it possibe to required fields without showing red mark it raise an error while saving

empty fields.

 

One more is it possible to display a table format for ex rows and columns?

 

 

 

Thank you.