Ability to create buttons in prospect notification email?

Hi there!

I’m trying to include buttons in the auto-email I send to my prospects using the following code:

input class=“gform_button button” type=“button” value=“Homepage” onclick=“window.location.href=‘https://www.willowvalleycommunities.org’” /
(had to take carats away here; they were hiding the message from showing)

But every time I hit save, the link wipes from the code and the button isn’t clickable anymore. Is there an easier way to get that to work?

Thanks all!

Most email clients will not allow (or at least will ignore) CSS classes, and will remove JavaScript. That’s not a Gravity Forms limitation - that is just a security measure in the email client.

Why not just use an HTML button styled however you like, in your email, which links to your website?