Advertisement
Guest User

Untitled

a guest
May 24th, 2016
53
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.60 KB | None | 0 0
  1. <!--
  2. 1. Navigate to Admin > Channels > Support Center > Web Themes
  3. 2. Click on the name of your live web theme
  4. 3. Click 'Advanced Themes'
  5. 4. Scroll down on the left-hand side and click into the "CSAT (New)" section
  6. 5. Add the <script> tag below to the very bottom of the "CSAT (New)" section.
  7. -->
  8. <script>
  9. $(function() {
  10. $('#customer-feedback-form').validate({
  11. errorPlacement: function(error, element) {
  12. error.prependTo('.input-button');
  13. }
  14. });
  15. $("input[name='customer_feedback[rating]']").rules("add", { required:true, messages: { required: "A rating is required." } });
  16. });
  17. </script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement