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
Ted AndersonTed Anderson 

Automatically adding a new input field when creating a list

Hello all,

I hope this question turns out to be one of those absolutely obvious answers that I look over.

I am creating an object and on this object I want to be abe to put in multiple pieces o similar data.  To be more precise, I want to list items that are to be shipped.  So sometimes it might be 1000 pieces of one item or other times it might be 7 different items.  Is there some way to have a function like, "add another item to be shipped" on the object?  I want to h ave a fields that say "item name" item discription" "quantity" and "dimensions"  and I want to be able to do this just once on the object or multiple times on the object, depending on what is being shipped.

Thanks in advance


Ramu_SFDCRamu_SFDC
I assume you are asking something like an add row option where in you can dynamicaly add rows to enter the data and save it in bulk or only 1 row. Please follow the approach explained in the solution in the below post 

https://developer.salesforce.com/forums?id=906F0000000963NIAQ