You need to sign in to do that
Don't have an account?

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.
Hi
There are many examples of these :-
u can go through this links which provide u the code also.
http://bobbuzzard.blogspot.co.uk/2011/07/managing-list-of-new-records-in.html
http://boards.developerforce.com/t5/Visualforce-Development/Add-Row-functionality-in-VisualForce/td-p/183217
Thanks
Anil.B
All Answers
Hi
There are many examples of these :-
u can go through this links which provide u the code also.
http://bobbuzzard.blogspot.co.uk/2011/07/managing-list-of-new-records-in.html
http://boards.developerforce.com/t5/Visualforce-Development/Add-Row-functionality-in-VisualForce/td-p/183217
Thanks
Anil.B
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.