Image as form button

forms

#1

Hi Guys,

I am trying to add image next to the form in landing page that should act as the form button.

I tried the following code copied from the existing button.

<div class="actions" data-reactid=".hbspt-forms-0.5.1"><input class="hs-button" type="submit" value="" data-reactid=".hbspt-forms-0.5.1.0"><input style="width: 505px; height: 505px; background-image: url('https://cdn2.hubspot.net/hubfs/2411291/spotlightonafrica.jpg');" type="submit" value="" data-reactid=".hbspt-forms-0.5.1.0"></div>

Can you share some suggestions or ideas how I can achieve that?

Thanks in advance!

Dimitar


#3

Hi @Dimitar_Palauzov, so that we're on the same page, are you trying to have the image on the left-hand side act as the submission, or are you looking to do something else entirely? If you could clarify your intentions, that'd really help as I'm not sure of your goal.

Can you also link me to the page you're working on? Thanks!