@tryingtodosomestuff You need an UserEvent script on that record that would create the Button on beforeLoad that button definition also point to the function name that button would execute on click and finally you need to add to the form the clientScript which is going to have that function...