Where can I find the code in SharePoint that determines the order of and what fields are in the Edit form? I have looked at the EditForm.aspx page and it doesn't look like this is determined there. If possible I would like to display a list generated with JSOM based off the order the fields appear in on the edit page.
Edit Could using the RenderListForm method with the REST API be a solution? It looks promising but I can't find much documentation.