Open data in lightbox
-
Hi,
Thanks a lot for the great plugin.
I’ve managed to show the relevant data on the relevant page, using the [cfdb-html] shortcode. My form includes text, e-mail and an image.
What I want to achieve is having submitted images on the page and then when you click on the image, a lightbox opens with the other form fields data inside. I tried with Easy Fancybox and with another Lightbox plugin but it shows the same text for all images.
The plugin used is “Lightbox Plus Colorbox” and the code I used is:
[cfdb-html form=”Mettici la faccia” show=”your-name,your-email,textarea-402,file-300″ filelinks=”img” orderby=”Submitted desc”]
<div style=”display:inline-block;”>
<div>${file-300}</div>
<div style=”display: none;”>
<div id=”lbp-inline-href-1″ style=”padding:10px; background: #fff;”>
<div>${your-name}</div>
<div>${your-email}</div>
<div>${textarea-402}</div>
</div>
</div></div>
[/cfdb-html]
Thanks!
Fabio.
- The topic ‘Open data in lightbox’ is closed to new replies.