Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Gemini Labs

    (@geminilabs)

    This is because you are loading the form in a popup after the page is already loaded. In order to make the stars work, you will need to listen for the popup open event and then manually initialise the star controls.

    For example:

    document.addEventListener('elementor/popup/show', function() {
        if (typeof StarRating === 'undefined') return;
        new StarRating('select.glsr-star-rating', {
            clearable: false,
            showText: false,
        });
    });

    Ref: https://developers.elementor.com/elementor-pro-2-7-popup-events/

    Thread Starter damienwebsite

    (@damienwebsite)

    Thank you very much for your help.

    I do not know how to write Php ??
    So I can basically just paste this code in the php file and it should work right ?

    Thanks a lot

    Plugin Author Gemini Labs

    (@geminilabs)

    No. This is javascript, you will need to find a plugin that allows you to insert custom javascript in your theme (some themes include this option). Also, I am only making an educated guess on the popup open event name. If that javascript snippet does not work, you will need to contact the Elementor support team and ask them for assistance (showing them the snippet I posted here).

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Stars do not appear on the Form’ is closed to new replies.