Run JavaScript from an HTML button onclick event

@Chem Thanks for helping on this one! I actually went with a standard window.open() popup because I couldn’t figure out how to create a popup modal with a form.

The goal was to be able to place an “add new” button anywhere one the parent details page that would open a popup and allow you to create a related record.

I got as far as placing a button on a details page that opens a modal that was created using an HTML component. I’m just not sure how to put a new record form inside the modal.

I think I figured it out and made a post about it in a new thread.