In a master-detail relationship, is there a way to set the "" to the top of the related list menu?

  • 0
  • 1
  • Question
  • Updated 4 years ago
  • Answered
Photo of Maria


  • 30 Points

Posted 4 years ago

  • 0
  • 1
Photo of Ⲇanom the ultimate (Dan Diebolt)

Ⲇanom the ultimate (Dan Diebolt), Champion

  • 30,434 Points 20k badge 2x thumb
Use the image onload technique and this one line of code:

$("#_fid_10 option[value=_other]").insertBefore("#_fid_10 option:first");

This assumes your [Related Parent] field has fid=10. See attached screenshot of this script having run from the JavaScript console.