How to add a star rating in custom form in magento 2How to get product count by rating collection in...

Can a Pact of the Blade warlock use the correct existing pact magic weapon so it functions as a "Returning" weapon?

Why was Lupin comfortable with saying Voldemort's name?

How to prevent users from executing commands through browser URL

Writing a character who is going through a civilizing process without overdoing it?

Does paint affect EMI of enclosure

Why publish a research paper when a blog post or a lecture slide can have more citation count than a journal paper?

What is 6÷2×(1+2) =?

How do you funnel food off a cutting board?

Is a new Boolean field better than a null reference when a value can be meaningfully absent?

One Half of Ten; A Riddle

初めてです, is '初めて' an adverb?

How can my powered armor quickly replace its ceramic plates?

Why did Democrats in the Senate oppose the Born-Alive Abortion Survivors Protection Act (2019 S.130)?

Can a long polymer chain interact with itself via van der Waals forces?

Why do stocks necessarily drop during a recession?

Transpose a matrix and parenthesis

Why do neural networks need so many training examples to perform?

Is it possible to "destroy" a wallet?

Why are the books in the Game of Thrones citadel library shelved spine inwards?

What is the wife of a henpecked husband called?

Which one of these password policies are more secure?

Bash Script Function Return True-False

Replacement expressions

Cat is tipping over bed-side lamps during the night



How to add a star rating in custom form in magento 2


How to get product count by rating collection in magento1.9Set Custom “Star review rating” as required entryHow to get Product review summery in a custom template file in Magento2?Get “Add rating” on a custom form. (Magento 1.9)Magento 2 : Show product ratings for each star, average ratings and % of 5 star ratings on product pageHow do I hide the rating stars in the product list when there's no rating yet?How to display star rating summaryHow to get Product rating code and its value in magento 2How to add a custom template for fieldset in ui-component form in magento 2Add new custom field in magento 2 contact form













5















I have created the feedback form in list page. Now I wish to add custom star rating as a new form field.



Please suggest any solution to add rating field in my form.










share|improve this question

























  • Did you get a solution ?

    – Pawan
    Sep 7 '18 at 2:31
















5















I have created the feedback form in list page. Now I wish to add custom star rating as a new form field.



Please suggest any solution to add rating field in my form.










share|improve this question

























  • Did you get a solution ?

    – Pawan
    Sep 7 '18 at 2:31














5












5








5


1






I have created the feedback form in list page. Now I wish to add custom star rating as a new form field.



Please suggest any solution to add rating field in my form.










share|improve this question
















I have created the feedback form in list page. Now I wish to add custom star rating as a new form field.



Please suggest any solution to add rating field in my form.







forms magento2.2.2 ratings






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Jun 29 '18 at 6:57









Nikunj Vadariya

2,8661821




2,8661821










asked Jun 29 '18 at 5:37









JaisaJaisa

8271936




8271936













  • Did you get a solution ?

    – Pawan
    Sep 7 '18 at 2:31



















  • Did you get a solution ?

    – Pawan
    Sep 7 '18 at 2:31

















Did you get a solution ?

– Pawan
Sep 7 '18 at 2:31





Did you get a solution ?

– Pawan
Sep 7 '18 at 2:31










1 Answer
1






active

oldest

votes


















0














It needs to be designed completely, may be through by adding custom JS widget and template or if you are using form in Admin/Frontend then need to add the field accordingly. For sake of idea i would recommend you to go through the following link. (It has shown how to implement this with Core PHP & JS)
https://phppot.com/demo/dynamic-star-rating-with-php-and-jquery/



Hope this will help you !
Cheers!





share























    Your Answer








    StackExchange.ready(function() {
    var channelOptions = {
    tags: "".split(" "),
    id: "479"
    };
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function() {
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled) {
    StackExchange.using("snippets", function() {
    createEditor();
    });
    }
    else {
    createEditor();
    }
    });

    function createEditor() {
    StackExchange.prepareEditor({
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: false,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: null,
    bindNavPrevention: true,
    postfix: "",
    imageUploader: {
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    },
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    });


    }
    });














    draft saved

    draft discarded


















    StackExchange.ready(
    function () {
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f231802%2fhow-to-add-a-star-rating-in-custom-form-in-magento-2%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    0














    It needs to be designed completely, may be through by adding custom JS widget and template or if you are using form in Admin/Frontend then need to add the field accordingly. For sake of idea i would recommend you to go through the following link. (It has shown how to implement this with Core PHP & JS)
    https://phppot.com/demo/dynamic-star-rating-with-php-and-jquery/



    Hope this will help you !
    Cheers!





    share




























      0














      It needs to be designed completely, may be through by adding custom JS widget and template or if you are using form in Admin/Frontend then need to add the field accordingly. For sake of idea i would recommend you to go through the following link. (It has shown how to implement this with Core PHP & JS)
      https://phppot.com/demo/dynamic-star-rating-with-php-and-jquery/



      Hope this will help you !
      Cheers!





      share


























        0












        0








        0







        It needs to be designed completely, may be through by adding custom JS widget and template or if you are using form in Admin/Frontend then need to add the field accordingly. For sake of idea i would recommend you to go through the following link. (It has shown how to implement this with Core PHP & JS)
        https://phppot.com/demo/dynamic-star-rating-with-php-and-jquery/



        Hope this will help you !
        Cheers!





        share













        It needs to be designed completely, may be through by adding custom JS widget and template or if you are using form in Admin/Frontend then need to add the field accordingly. For sake of idea i would recommend you to go through the following link. (It has shown how to implement this with Core PHP & JS)
        https://phppot.com/demo/dynamic-star-rating-with-php-and-jquery/



        Hope this will help you !
        Cheers!






        share











        share


        share










        answered 8 mins ago









        Shubham MathurShubham Mathur

        175113




        175113






























            draft saved

            draft discarded




















































            Thanks for contributing an answer to Magento Stack Exchange!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid



            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.


            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f231802%2fhow-to-add-a-star-rating-in-custom-form-in-magento-2%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            “%fieldName is a required field.”, in Magento2 REST API Call for GET Method Type The Next...

            How to change City field to a dropdown in Checkout step Magento 2Magento 2 : How to change UI field(s)...

            變成蝙蝠會怎樣? 參考資料 外部連結 导航菜单Thomas Nagel, "What is it like to be a...