4 Replies Latest reply: Jul 14, 2014 7:06 AM by Marco_ALEX RSS

    BC template FAQ's  webb app issues

    Marco_ALEX Community Member

      Hi everyone,

      i am working in this web site template  at 124 YES and the webb app FAQ's ratings button does nothing, how can i fix the FAQ's ratings button to make results of ratings appear on the admin dashboard?

       

      This is the code its there:

      {module_ratingrank}{module_ratingfeedback}

      {module_ratingfeedback}

        • 1. Re: BC template FAQ's  webb app issues
          Liam Dilley CommunityMVP

          The module renders the rating of an item, it is not the means to rate something. You do that through inserting comments into the webapp/page/blog/product.... and as part of that you have the tag that renders the way someone would rate something.

          You do not need to keep making a post on the same question over and over as a side note.

          • 2. Re: BC template FAQ's  webb app issues
            Marco_ALEX Community Member

            Hi Liam,

            I am not English so let me see if deciphered your message correctly, so you are saying that to have some kind of result wen someone presses the button to rate the items of the FAQ's or wherever these rating tags were inserted,I have to first insert the module for comments and inside the module comments form i insert these rating tags as part of the comments form and then the result will appear with the comments?

            • 4. Re: BC template FAQ's  webb app issues
              Marco_ALEX Community Member

              here is the code i just accessed in the web apps module templates :

               

              {module_ratingrank}{module_ratingfeedback}</p>

              <p>{module_ratingfeedback}</p>

              <div class="comment-form">

              <h5>Comment</h5>

              <form name="catratingform79281" onsubmit="return checkWholeForm79281(this)" method="post" action="/RatingProcess.aspx?OID={module_oid}&amp;OTYPE={module_otype}">

                  <div class="form">

                  <div class="item"><label>Was this helpful?</label><br />

                  No <input type="radio" name="Rating" value="1" /><input type="radio" name="Rating" value="2" /><input type="radio" name="Rating" checked="checked" value="3" /><input type="radio" name="Rating" value="4" /><input type="radio" name="Rating" value="5" />Very</div>

                  <div class="item"><input type="submit" class="cat_button" value="Submit" /></div>

                  </div>

                  <script type="text/javascript" src="/CatalystScripts/ValidationFunctions.js"></script>

                  <script type="text/javascript">

              //<![CDATA[

              var submitcount79281 = 0;function checkWholeForm79281(theForm){var why = ""; if(why != ""){alert(why);return false;}if(submitcount77393 == 0){submitcount77393++;theForm.submit();return false;}else{alert("Form submission is in progress.");return false;}}

              //]]>

              </script>

              </form>

              </div>

               

              and here is the original code for this webb app:

              ""

              <div class="comment-form"><h3>Comment</h3><form name="catratingform6237" onsubmit="return checkWholeForm6237(this)" method="post" action="/RatingProcess.aspx?OID={module_oid}&OTYPE={module_otype}"><div class="form"><div class="item"><label>Was this helpful?</label><br />No <input type="radio" name="Rating" value="1" /><input type="radio" name="Rating" value="2" /><input type="radio" name="Rating" checked="checked" value="3" /><input type="radio" name="Rating" value="4" /><input type="radio" name="Rating" value="5" />Very</div><div class="item"><label id="RFeedback">Do you have feedback? (Optional)</label><br /><textarea class="comment" name="Feedback" id="RFeedback" cols="10" rows="4"></textarea></div><div class="item"><label id="RFullName">Name (Optional)</label><br /><input class="cat_textbox_small" type="text" name="FullName" id="RFullName" maxlength="255" /></div><div class="item"><label id="RWebsite">Website (Optional)</label><br /><input class="cat_textbox_small" type="text" name="Website" id="RWebsite" maxlength="255" /></div><div class="item"><label id="REmailAddress">Email Address (Optional)</label><br /><input class="cat_textbox_small" type="text" name="EmailAddress" id="REmailAddress" maxlength="255" /></div><div class="item"><label>Enter Word Verification in box below &bull;</label><br />{module_captchav2}</div><div class="item"><input class="cat_button" type="submit" value="Submit" /></div></div><script type="text/javascript" src="/CatalystScripts/ValidationFunctions.js"></script><script type="text/javascript">

              //<![CDATA[

              function checkWholeForm6237(theForm){var why = "";if (theForm.EmailAddress) if (theForm.EmailAddress.value.length > 0) why += checkEmail(theForm.EmailAddress.value);if (theForm.CaptchaV2) why += captchaIsInvalid(theForm, "Enter Word Verification in box below", "Please enter the correct Word Verification as seen in the image"); if (why != ""){alert(why);return false;}theForm.submit();return false;}

              //]]>

              </script></form></div>""

               

              I supose someone tried to remove the fields of optional name, email adress, recaptcha etc, and then the form didnt work ,

              how can i do it, remove all the fields and just leave the "was this helpful" radio buttons and the submit button"?