Sorry for interfering here!
I guess the problem is that you have attached the Custom action to a form. There’s a limitation that Custom actions are not working in Form Submit button actions. You need a Custom form. See here
Sorry for interfering here!
I guess the problem is that you have attached the Custom action to a form. There’s a limitation that Custom actions are not working in Form Submit button actions. You need a Custom form. See here