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
Wayne4278Wayne4278 

Reorder Numbered Items on Child Form

Listmates:

 

       I have a child form that contains a list of delivery stops for a trucker.  The stops have to be in numerical order (e.g. 1, 2, 3 ... ).  The child object has a number field that the user can use to fill in the stop number.  Unfortuantely, the stops do not always appear in consecutive order when displayed on a page.

 

       Is there any easy (non-apex) way to have the stops appear in numerical order on the page?  If not, is anyone willing to share the apex code that will do this? 

 

       Thanks in advance for your help!

 

Regards,

Wayne