{ "key_pair_value_system": true, "answer_rating_count": "", "question_feedback_html": { "html_star": "", "html_star_feedback": "" }, "answer_average_rating_value": "", "answer_date_js": "2024-09-07T22:05:12-04:00", "answer_date": "2024-09-07 22:05:12", "is_docs_available": null, "is_excel_available": null, "is_pdf_available": null, "count_file_available": 0, "main_page": "student_question_view", "question_id": "9555444", "url": "\/study-help\/questions\/this-is-throwing-errors-what-is-wrong-untitled-document-import-9555444", "question_creation_date_js": "2024-09-07T22:05:12-04:00", "question_creation_date": "Sep 07, 2024 10:05 PM", "meta_title": "[Solved] This is throwing errors, what is wrong?? | SolutionInn", "meta_description": "Answer of - This is throwing errors, what is wrong?? Untitled Document @import url(https:\/\/fonts.googleapis.com\/css?family=Open+Sa | SolutionInn", "meta_keywords": "throwing,errors,wrong,untitled,document,import,url,https,\/\/fontsgoogleapis\/css,family=open+sans,\/*,styles", "question_title_h1": "This is throwing errors, what is wrong?? Untitled Document @import url(https:\/\/fonts.googleapis.com\/css?family=Open+Sans); \/* Styles *\/ * { margin: 0; padding: 0; } body { font-family: Open", "question_title": "This is throwing errors, what is wrong?? Untitled Document @import url(https:\/\/fonts.googleapis.com\/css?family=Open+Sans); \/*", "question_title_for_js_snippet": "This is throwing errors, what is wrong Untitled Document import url( https fonts googleapis com css family Open Sans ) Styles margin 0 padding 0 body font family Open Sans font size 14px container width 500px margin 25px auto form padding 20px background 606891 color fff moz border radius 4px webkit border radius 4px border radius 4px form label, form input, form button border 0 margin bottom 3px display block width 100 form input height 25px line height 25px background fff color 000 padding 0 6px moz box sizing border box webkit box sizing border box box sizing border box form button height 30px line height 30px background e67e22 color fff margin top 10px cursor pointer form error color ff0000 $(function() Initialize form validation on the registration form It has the name attribute registration $( form name 'complaintform' ) validate( Specify validation rules rules The key name on the left side is the name attribute of an input field Validation rules are defined on the right side fullname required , phonenumber required , email required true, Specify that email should be validated by the built in email rule email true , custProducts required , custComplaint required , MAX VALUE 120 , Specify validation error messages messages fullname Please enter your full name , phonenumber Please enter your phone number , custProducts Please check at least one button , custComplaint No more than 120 charachters allowed , , email Please enter a valid email address , Make sure the form is submitted to the destination defined in the action attribute of the form when valid submitHandler function(form) form submit() ) ) Complaint Form Full Name Phone Number Email Please Select Product Group Books Movies Consumer Electronics Computer Description of problem (Limit 200 characters)", "question_description": "

This is throwing errors, what is wrong??<\/p>
<\/td> <\/td> <\/tr>
<\/td> <\/td> <\/tr>
<\/td> <\/td> <\/tr>
<\/td> <\/td> <\/tr>
<\/td> Untitled Document<\/title><\/td> <\/tr> <tr> <td> <\/td> <td><script src=\"vendor\/jquery\/dist\/jquery.min.js\"><\/script><\/td> <\/tr> <tr> <td> <\/td> <td><script src=\"vendor\/jquery-validation\/dist\/jquery.validate.min.js\"><\/script><\/td> <\/tr> <tr> <td> <\/td> <td><script src=\"js\/form-validation.js\"><\/script><\/td> <\/tr> <tr> <td> <\/td> <td><link rel=\"stylesheet\" href=\"css\/style.css\"\/><\/td> <\/tr> <tr> <td> <\/td> <td><style><\/td> <\/tr> <tr> <td> <\/td> <td>@import url(\"https:\/\/fonts.googleapis.com\/css?family=Open+Sans\");<\/td> <\/tr> <tr> <td> <\/td> <td> <\/td> <\/tr> <tr> <td> <\/td> <td>\/* Styles *\/<\/td> <\/tr> <tr> <td> <\/td> <td>* {<\/td> <\/tr> <tr> <td> <\/td> <td>margin: 0;<\/td> <\/tr> <tr> <td> <\/td> <td>padding: 0;<\/td> <\/tr> <tr> <td> <\/td> <td>}<\/td> <\/tr> <tr> <td> <\/td> <td> <\/td> <\/tr> <tr> <td> <\/td> <td>body {<\/td> <\/tr> <tr> <td> <\/td> <td>font-family: \"Open Sans\";<\/td> <\/tr> <tr> <td> <\/td> <td>font-size: 14px;<\/td> <\/tr> <tr> <td> <\/td> <td>}<\/td> <\/tr> <tr> <td> <\/td> <td> <\/td> <\/tr> <tr> <td> <\/td> <td>.container {<\/td> <\/tr> <tr> <td> <\/td> <td>width: 500px;<\/td> <\/tr> <tr> <td> <\/td> <td>margin: 25px auto;<\/td> <\/tr> <tr> <td> <\/td> <td>}<\/td> <\/tr> <tr> <td> <\/td> <td> <\/td> <\/tr> <tr> <td> <\/td> <td>form {<\/td> <\/tr> <tr> <td> <\/td> <td>padding: 20px;<\/td> <\/tr> <tr> <td> <\/td> <td>background: #606891;<\/td> <\/tr> <tr> <td> <\/td> <td>color: #fff;<\/td> <\/tr> <tr> <td> <\/td> <td>-moz-border-radius: 4px;<\/td> <\/tr> <tr> <td> <\/td> <td>-webkit-border-radius: 4px;<\/td> <\/tr> <tr> <td> <\/td> <td>border-radius: 4px;<\/td> <\/tr> <tr> <td> <\/td> <td>}<\/td> <\/tr> <tr> <td> <\/td> <td>form label,<\/td> <\/tr> <tr> <td> <\/td> <td>form input,<\/td> <\/tr> <tr> <td> <\/td> <td>form button {<\/td> <\/tr> <tr> <td> <\/td> <td>border: 0;<\/td> <\/tr> <tr> <td> <\/td> <td>margin-bottom: 3px;<\/td> <\/tr> <tr> <td> <\/td> <td>display: block;<\/td> <\/tr> <tr> <td> <\/td> <td>width: 100%;<\/td> <\/tr> <tr> <td> <\/td> <td>}<\/td> <\/tr> <tr> <td> <\/td> <td>form input {<\/td> <\/tr> <tr> <td> <\/td> <td>height: 25px;<\/td> <\/tr> <tr> <td> <\/td> <td>line-height: 25px;<\/td> <\/tr> <tr> <td> <\/td> <td>background: #fff;<\/td> <\/tr> <tr> <td> <\/td> <td>color: #000;<\/td> <\/tr> <tr> <td> <\/td> <td>padding: 0 6px;<\/td> <\/tr> <tr> <td> <\/td> <td>-moz-box-sizing: border-box;<\/td> <\/tr> <tr> <td> <\/td> <td>-webkit-box-sizing: border-box;<\/td> <\/tr> <tr> <td> <\/td> <td>box-sizing: border-box;<\/td> <\/tr> <tr> <td> <\/td> <td>}<\/td> <\/tr> <tr> <td> <\/td> <td>form button {<\/td> <\/tr> <tr> <td> <\/td> <td>height: 30px;<\/td> <\/tr> <tr> <td> <\/td> <td>line-height: 30px;<\/td> <\/tr> <tr> <td> <\/td> <td>background: #e67e22;<\/td> <\/tr> <tr> <td> <\/td> <td>color: #fff;<\/td> <\/tr> <tr> <td> <\/td> <td>margin-top: 10px;<\/td> <\/tr> <tr> <td> <\/td> <td>cursor: pointer;<\/td> <\/tr> <tr> <td> <\/td> <td>}<\/td> <\/tr> <tr> <td> <\/td> <td>form .error {<\/td> <\/tr> <tr> <td> <\/td> <td>color: #ff0000;<\/td> <\/tr> <tr> <td> <\/td> <td>}<\/td> <\/tr> <tr> <td> <\/td> <td><\/style><\/td> <\/tr> <tr> <td> <\/td> <td><script><\/td> <\/tr> <tr> <td> <\/td> <td>$(function() {<\/td> <\/tr> <tr> <td> <\/td> <td>\/\/ Initialize form validation on the registration form.<\/td> <\/tr> <tr> <td> <\/td> <td>\/\/ It has the name attribute \"registration\"<\/td> <\/tr> <tr> <td> <\/td> <td>$(\"form[name='complaintform']\").validate({<\/td> <\/tr> <tr> <td> <\/td> <td>\/\/ Specify validation rules<\/td> <\/tr> <tr> <td> <\/td> <td>rules: {<\/td> <\/tr> <tr> <td> <\/td> <td>\/\/ The key name on the left side is the name attribute<\/td> <\/tr> <tr> <td> <\/td> <td>\/\/ of an input field. Validation rules are defined<\/td> <\/tr> <tr> <td> <\/td> <td>\/\/ on the right side<\/td> <\/tr> <tr> <td> <\/td> <td>fullname: \"required\",<\/td> <\/tr> <tr> <td> <\/td> <td>phonenumber: \"required\",<\/td> <\/tr> <tr> <td> <\/td> <td>email: {<\/td> <\/tr> <tr> <td> <\/td> <td>required: true,<\/td> <\/tr> <tr> <td> <\/td> <td>\/\/ Specify that email should be validated<\/td> <\/tr> <tr> <td> <\/td> <td>\/\/ by the built-in \"email\" rule<\/td> <\/tr> <tr> <td> <\/td> <td>email: true<\/td> <\/tr> <tr> <td> <\/td> <td>},<\/td> <\/tr> <tr> <td> <\/td> <td>custProducts: \"required\",<\/td> <\/tr> <tr> <td> <\/td> <td>custComplaint:{\"required\",<\/td> <\/tr> <tr> <td> <\/td> <td>MAX_VALUE: 120<\/td> <\/tr> <tr> <td> <\/td> <td>}<\/td> <\/tr> <tr> <td> <\/td> <td> <\/td> <\/tr> <tr> <td> <\/td> <td> <\/td> <\/tr> <tr> <td> <\/td> <td>},<\/td> <\/tr> <tr> <td> <\/td> <td>\/\/ Specify validation error messages<\/td> <\/tr> <tr> <td> <\/td> <td>messages: {<\/td> <\/tr> <tr> <td> <\/td> <td>fullname: \"Please enter your full name\",<\/td> <\/tr> <tr> <td> <\/td> <td>phonenumber: \"Please enter your phone number\",<\/td> <\/tr> <tr> <td> <\/td> <td>custProducts: \"Please check at least one button\",<\/td> <\/tr> <tr> <td> <\/td> <td> <\/td> <\/tr> <tr> <td> <\/td> <td>custComplaint: \"No more than 120 charachters allowed\",<\/td> <\/tr> <tr> <td> <\/td> <td>},<\/td> <\/tr> <tr> <td> <\/td> <td>email: \"Please enter a valid email address\"<\/td> <\/tr> <tr> <td> <\/td> <td>},<\/td> <\/tr> <tr> <td> <\/td> <td> <\/td> <\/tr> <tr> <td> <\/td> <td> <\/td> <\/tr> <tr> <td> <\/td> <td>\/\/ Make sure the form is submitted to the destination defined<\/td> <\/tr> <tr> <td> <\/td> <td>\/\/ in the \"action\" attribute of the form when valid<\/td> <\/tr> <tr> <td> <\/td> <td>submitHandler: function(form) {<\/td> <\/tr> <tr> <td> <\/td> <td>form.submit();<\/td> <\/tr> <tr> <td> <\/td> <td>}<\/td> <\/tr> <tr> <td> <\/td> <td>});<\/td> <\/tr> <tr> <td> <\/td> <td>});<\/td> <\/tr> <tr> <td> <\/td> <td> <\/td> <\/tr> <tr> <td> <\/td> <td> <\/td> <\/tr> <tr> <td> <\/td> <td><\/script><\/td> <\/tr> <tr> <td> <\/td> <td><\/head><\/td> <\/tr> <tr> <td> <\/td> <td> <\/td> <\/tr> <tr> <td> <\/td> <td><body><\/td> <\/tr> <tr> <td> <\/td> <td><div><\/td> <\/tr> <tr> <td> <\/td> <td><h2>Complaint Form<\/h2><\/td> <\/tr> <tr> <td> <\/td> <td><form action=\"#\" name=\"complaintform\"><\/td> <\/tr> <tr> <td> <\/td> <td> <\/td> <\/tr> <tr> <td> <\/td> <td><label for=\"fullname\">Full Name<\/label><\/td> <\/tr> <tr> <td> <\/td> <td><input type=\"text\" name=\"fullname\" id=\"fullname\" placeholder=\"John Doe\"\/><\/td> <\/tr> <tr> <td> <\/td> <td> <\/td> <\/tr> <tr> <td> <\/td> <td><label for=\"phonenumber\">Phone Number<\/label><\/td> <\/tr> <tr> <td> <\/td> <td><input type=\"tel\" name=\"phonenumber\" id=\"lastnphonenumber\" placeholder=\"(555)555-5555\"\/><\/td> <\/tr> <tr> <td> <\/td> <td> <\/td> <\/tr> <tr> <td> <\/td> <td><label for=\"email\">Email<\/label><\/td> <\/tr> <tr> <td> <\/td> <td><input type=\"email\" name=\"email\" id=\"email\" placeholder=\"john@doe.com\"\/><\/td> <\/tr> <tr> <td> <\/td> <td> <\/td> <\/tr> <tr> <td> <\/td> <td> <\/td> <\/tr> <tr> <td> <\/td> <td> <\/td> <\/tr> <tr> <td> <\/td> <td> <\/td> <\/tr> <tr> <td> <\/td> <td> <\/td> <\/tr> <tr> <td> <\/td> <td><\/form><\/td> <\/tr> <tr> <td> <\/td> <td> <\/td> <\/tr> <tr> <td> <\/td> <td><p>Please Select Product Group:<\/p><\/td> <\/tr> <tr> <td> <\/td> <td><p><\/td> <\/tr> <tr> <td> <\/td> <td><label><\/td> <\/tr> <tr> <td> <\/td> <td><input type=\"radio\" name=\"custProducts\" value=\"books\" id=\"custProducts_0\" \/><\/td> <\/tr> <tr> <td> <\/td> <td>Books<\/label><\/td> <\/tr> <tr> <td> <\/td> <td><br \/><\/td> <\/tr> <tr> <td> <\/td> <td><label><\/td> <\/tr> <tr> <td> <\/td> <td><input type=\"radio\" name=\"custProducts\" value=\"movies\" id=\"custProducts_1\" \/><\/td> <\/tr> <tr> <td> <\/td> <td>Movies<\/label><\/td> <\/tr> <tr> <td> <\/td> <td><br \/><\/td> <\/tr> <tr> <td> <\/td> <td><label><\/td> <\/tr> <tr> <td> <\/td> <td><input type=\"radio\" name=\"custProducts\" value=\"electronics\" id=\"custProducts_2\" \/><\/td> <\/tr> <tr> <td> <\/td> <td>Consumer Electronics<\/label><\/td> <\/tr> <tr> <td> <\/td> <td><br \/><\/td> <\/tr> <tr> <td> <\/td> <td><label><\/td> <\/tr> <tr> <td> <\/td> <td><input type=\"radio\" name=\"custProducts\" value=\"computer\" id=\"custProducts_3\" \/><\/td> <\/tr> <tr> <td> <\/td> <td>Computer<\/label><\/td> <\/tr> <tr> <td> <\/td> <td><br \/><\/td> <\/tr> <tr> <td> <\/td> <td><\/p><\/td> <\/tr> <tr> <td> <\/td> <td><p>Description of problem: (Limit 200 characters)<\/p><\/td> <\/tr> <tr> <td> <\/td> <td><p><\/td> <\/tr> <tr> <td> <\/td> <td><label for=\"custComplaint\"><\/label><\/td> <\/tr> <tr> <td> <\/td> <td><textarea name=\"custComplaint\" id=\"custComplaint\" cols=\"45\" rows=\"5\"><\/textarea><\/td> <\/tr> <tr> <td> <\/td> <td><\/p><\/td> <\/tr> <tr> <td> <\/td> <td><p><\/td> <\/tr> <tr> <td> <\/td> <td><input type=\"submit\" name=\"button\" id=\"button\" value=\"File Complaint\" \/><\/td> <\/tr> <tr> <td> <\/td> <td><input type=\"reset\" name=\"button2\" id=\"button2\" value=\"Reset\" \/><\/td> <\/tr> <tr> <td> <\/td> <td><\/p><\/td> <\/tr> <tr> <td> <\/td> <td> <\/td> <\/tr> <tr> <td> <\/td> <td><p> <\/p><\/td> <\/tr> <tr> <td> <\/td> <td> <\/td> <\/tr> <tr> <td> <\/td> <td><\/div><\/td> <\/tr> <tr> <td> <\/td> <td><\/body><\/td> <\/tr> <tr> <td> <\/td> <td><\/html><\/td> <\/tr> <tr> <td> <\/td> <td> <\/td> <\/tr> <\/tbody> <\/table> <p> <\/p>", "transcribed_text": "", "related_book": { "title": null, "isbn": null, "edition": null, "authors": null, "cover_image": null, "uri": null, "see_more_uri": "" }, "free_related_book": { "isbn": "", "uri": "", "name": "", "edition": "" }, "question_posted": "2024-09-07 22:05:12", "see_more_questions_link": "\/study-help\/questions\/computer-science-programming-2022-November-11", "step_by_step_answer": "The Answer is in the image, click to view ...", "students_also_viewed": [ { "url": "\/study-help\/introduction-to-probability-statistics\/714-blood-thinner-a-study-of-an-experimental-blood-thinner-1985350", "description": "7.14 Blood Thinner A study of an experimental blood thinner was conducted to determine whether it works better than the simple aspirin tablet in warding off heart attacks and strokes.' The study...", "stars": 0 }, { "url": "\/cost-allocation-downward-demand-spiral-deli-one-operates-a-chain", "description": "Cost allocation downward demand spiral Deli One operates a chain of 10 hospitals in the Los Angeles area. Its central food-catering facility, Deliman, prepares and delivers meals to the hospitals. It...", "stars": 3 }, { "url": "\/study-help\/questions\/provide-an-original-example-of-a-transaction-and-then-identify-10085036", "description": "Provide an original example of a transaction and then identify the type receivableaccounts receivable, a note receivable, or other receivables.", "stars": 3 }, { "url": "\/study-help\/questions\/a-binomial-probability-experiment-is-conducted-with-the-given-parameters-3246049", "description": "A binomial probability experiment is conducted with the given parameters. Compute the probability of x successes in the n independent trials of the experiment. n = 9, p = 0.8, x=5 P(5) = (Do not...", "stars": 3 }, { "url": "\/study-help\/questions\/remember-me-living-legacies-imagine-you-created-business-from-a-1007938", "description": "REMEMBER ME- LIVING LEGACIES Imagine you created business from a website that you can use as a memorial for your loved ones that passed away. Management and Operations Including yourself, how many...", "stars": 3 }, { "url": "\/study-help\/questions\/if-most-new-products-are-minor-modifications-of-existing-products-1003830", "description": "If most new products are minor modifications of existing products, why do firms continue with high-risk, high-cost projects?", "stars": 3 }, { "url": "\/study-help\/questions\/examine-the-rules-in-etcsnortrules-and-find-the-duplicate-rule-1011834", "description": "Examine the rules in \/etc\/snort\/rules\/ and find the duplicate rule. What is the sid: number for the duplicate rule? (Hint: answer is the higher of the two SID numbers.) what command would i use to...", "stars": 3 }, { "url": "\/study-help\/questions\/in-other-words-according-to-your-informed-thinking-on-what-1004444", "description": "In other words, according to your informed thinking on what you have observed, in what ways was the leader's behavior impactful or was not effective, and why do you say so?", "stars": 3 }, { "url": "\/study-help\/questions\/assume-that-the-initial-stock-price-is-so-1002629", "description": "Assume that the initial stock price is So = $ 1 0 0 . You would like to hedge a long position of 2 0 call contracts ( 1 0 0 shares per contract ) with 2 5 0 days to maturity anda strike price of $ 1...", "stars": 3 } ], "next_back_navigation": { "previous": "\/study-help\/questions\/taxpayers-who-make-aftertax-contributions-to-a-qualified-employer-plan-9555443", "next": "\/study-help\/questions\/following-is-an-extract-of-information-from-the-books-of-9555445" }, "breadcrumbs": [ { "name": "Study help", "link": "https:\/\/www.solutioninn.com\/study-help\/questions-and-answers" }, { "name": "Computer Science", "link": "https:\/\/www.solutioninn.com\/study-help\/questions-and-answers\/computer-science" }, { "name": "Databases", "link": "https:\/\/www.solutioninn.com\/study-help\/questions\/computer-science-databases" }, { "name": "This is throwing errors, what is wrong?? Untitled Document @import url(https:\/\/fonts.googleapis.com\/css?family=Open+Sans); \/*", "link": "https:\/\/www.solutioninn.com\/study-help\/questions\/this-is-throwing-errors-what-is-wrong-untitled-document-import-9555444" } ], "skill_details": { "skill_id": "656", "skill_name": "Databases", "parent_id": "8" } }