Use image instead of text with pop up or lightbox form

  • watwebs
    Asked on September 11, 2017 at 12:33 PM

    Hello. Can someone tell me what code to implement to use an image instead of text using the pop up or lightbox embed for a form? 

    I tried to replace the text with <img src=""> code but did not work. Using Wordpress. 

    Thanks. WT

     

  • Jan
    Replied on September 11, 2017 at 12:57 PM

    Yes, you can use an image in a pop-up or lightbox code. You just need to put the image tag in between the anchor link element. Please check the screen captures below:

    Pop-Up Form

    Use image instead of text with pop up or lightbox form Image 1 Screenshot 60

    Sample code:

    Use image instead of text with pop up or lightbox form Image 2 Screenshot 71

     

    LightBox Form

    Use image instead of text with pop up or lightbox form Image 3 Screenshot 82

    Sample code:

    Use image instead of text with pop up or lightbox form Image 4 Screenshot 93

    If you are using Wordpress, please make sure that you paste the code in the "Text" or "HTML" tab.

    Use image instead of text with pop up or lightbox form Image 5 Screenshot 104

    Also, I checked your webpage and I did not see any form or any JotForm link on it. May we know where are you trying to insert the lightbox or pop-up code?

    Hope that helps. Thank you.

  • watwebs
    Replied on September 21, 2017 at 5:17 PM

    Hi Jan, this worked pretty good for me. thanks. only problem i'm having is the code disappears in the widget when I make edits. I use Wordpress Sydney Theme. 

  • David JotForm Support Manager
    Replied on September 21, 2017 at 8:25 PM

    Are you saying that the image tag, where the URL of the image button is located, disappears when you edit your form through our form builder? Or when you do an edit in the WordPress page where you are embedding the form?