+ Start a Discussion

Javascript autoemail template custom button

Inside of a custom button, I have the javascript:




When it navigates to the new page, everything fills out correct, but it doesn't send the email and redirect me right away.  Instead I get the error:


The page you submitted was invalid for your session. Please click Save again to confirm your change.



Does anyone know how I might be able to correct this?