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
Awanti Vaidya stAwanti Vaidya st 

Radio button functionality on custom contact role object

I have developed a contact role functionality for custom object. I want to implement radio button functionality. I have used input type radio in my vf page and bind it with "primary___c" field which a custom checkbox field on custom contact role object.

User-added image
User-added image

Here , I have selected Hartley Davidson as a "primary" contact in first screenshot and it should be checked as primary in the related list of contact role as highlighted in second screenshot.

Please provide assistance.

Thanks in advance.


Susannah PSusannah P
Could you share the visualforce used to replicate the contact role entry screen for your custom contact role object? I would appreciate it!