The use case here is a New Task Form with a Script Editor.
In the New Task Form, there's a field called 'CompanyId', which relates the Task to a Company in the List: 'Companies'.
In the Script Editor, I'd like to have 5 buttons populated by the (5) most recently modified items in the List:'Companies'
The Button would be populated by a Company Name
<input type="button" value="WHAT GOES HERE???" name="no" onclick="moveCompany(this.value)">
Once the button is pressed, the value of the field 'CompanyId' in the Task Form would be populated with the value of the button.
Thanks for the help!