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
Giancarlo AmatiGiancarlo Amati 

how to create a visualforce page with items and checkboxes

Dear All,
I am new to SFDC development and I wonder how difficult is the following project. Under the Account object we have a child-related list object, let's call it B-Object.

When I create a new record of B-Object under Account-A, I would like the form to show a list of Items with a checkbox at the top, similar to the view below.

User-added image
The list of records comes from another related object, let's call it 'C-Object'. 
Once I click save the 'B-object' record has a field (text field?) with the list of the IDs of 'C-Object' records selected during creation.

I'm open to any suggestion and or alternatives. If you have any examples please send it over. 
Many Thanks,

GC
 

ANUTEJANUTEJ (Salesforce Developers) 
Hi Giancarlo,

>> https://github.com/artyom-bazyk/singleRelatedList

I see there is an example in which on selecting an account record and the related records are rendered below the selected record, can you try checking this out?

Let me know if it helps you and close your query by marking it as solved so that it can help others in the future.  

Thanks.
Abdul KhatriAbdul Khatri
What is the Relationship between Account and B-object?