Help Needed: Rating & Testimonial Lightbox

Hey,

You can transfer the company name by sending over the data to the lightbox like this:

$w("#myButton").onClick( (event) => {
      let data = {
         companyName: $w("#hereGoesTheCompanyName").text
      };
      wixWindow.openLightbox("LightboxName", data);
});

Then on the lightbox you can set a text element’s value to the company name like this

$w.onReady( function() {
    let data = wixWindow.lightbox.getContext();
      $w("#textElement").text = data.companyName;
} );