Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!--
- 1. Navigate to Admin > Channels > Support Center > Web Themes
- 2. Click on the name of your live web theme
- 3. Click 'Advanced Themes'
- 4. Scroll down on the left-hand side and click into the "CSAT (New)" section
- 5. Add the <script> tag below to the very bottom of the "CSAT (New)" section.
- -->
- <script>
- $(function() {
- $('#customer-feedback-form').validate({
- errorPlacement: function(error, element) {
- error.prependTo('.input-button');
- }
- });
- $("input[name='customer_feedback[rating]']").rules("add", { required:true, messages: { required: "A rating is required." } });
- });
- </script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement