Posted 7 days ago
Description
Job Title: Cake Decorator
Experience Required: Fondant and Buttercream Experience
Employment Type: Full-Time
Compensation: $18-25 / hr
Location: Anaheim
Responsibilities:
- Prepare fillings, and frostings
- Maintain a clean and organized kitchen work area
- Follow food production and safety standards
- Provide excellent customer service by assisting customers with cake selections and answering any questions they may have
Requirements:
- Minimum 2 years of cake decorating experience
- EXTENSIVE EXPERIENCE of decorating with BUTTERCREAM, FONDANT, and ROYAL ICING
- EXPERIENCE in making 3D FONDANT figures
- Strong attention to detail and creativity in designing cakes
- Ability to work in a fast-paced environment and meet deadlines
- Excellent communication and customer service skills
- Knowledge of food safety regulations and practices
Thank you!
Your resume has been recieved.
Name* Email* Phone Number* How Did You Hear About Us?* MessageSubmit Resume Explore our Gallery \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t \t\t\t\t\t\t\t\t\t\t \t\t\t\t\t\t\t\t\t\t\t \t\t\t\t\t\t\t\t\t\t\t\t \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t \t\t\t\t\t\t\t\t\t\t\t \t\t\t\t\t\t\t\t\t\t \t\t\t\t\t\t\t\t\t \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t \t\t\t\t \t\t\t\t\t \t\t\t\t\t\t \t\t\t\t\t\t \t\t\t\t\t\t\t \t\t\t\t\t\t\t\t \t\t\t\t\t\t\t\t\t \t\t\t\t\t\t\t\t\t \t\t\t\t\t\t\t\t\t\t \t\t\t\t\t\t\t\t\t\t\t \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t \t\t\t\t\t\t\t\t\t\t\t\t \t\t\t\t\t\t\t\t\t\t\t\t\t \t\t\t\t\t\t\t\t\t\t\t\t\t\t \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t \t\t\t\t\t\t\t\t\t\t\t\t\t \t\t\t\t\t\t\t\t\t\t\t\t \t\t\t\t\t\t\t\t\t\t\t\t \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t \t\t\t\t\t\t\t\t\t\t \t\t\t\t\t\t\t\t\t \t\t\t\t\t\t\t\t\t \t\t\t\t\t\t\t\t \t\t\t\t\t\t\t \t\t\t\t\t\t \t\t\t\t\t\t \t\t\t\t\t \t\t\t\t \t\t\t \t\t\t \t\t\t\t \t\t\t\t\t \t\t\t\t\t\t \t\t\t\t\t\t \t\t\t\t\t\t\t \t\t\t\t\t\t\t\t \t\t\t\t\t\t\t\t\t \t\t\t\t\t\t\t\t\t \t\t\t\t\t\t\t\t\t\t \t\t\t\t\t\t\t\t\t\t\t \t\t\t\t\t\t\t\t\t\t\t\t \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t \t\t\t\t\t\t\t\t\t\t\t \t\t\t\t\t\t\t\t\t\t \t\t\t\t\t\t\t\t\t \t\t\t\t\t\t\t\t\t \t\t\t\t\t\t\t\t \t\t\t\t\t\t\t \t\t\t\t\t\t \t\t\t\t\t\t \t\t\t\t\t \t\t\t\t \t\t\t \t\t\t\t\t\t","auto_responder_subject":"Inquiry Form","auto_responder_footer_message":"","auto_responder_sendemail":"","shopify_customer_create":"no","custommessage":{},"advance_css":".form-control { height: 3em;}","formElements":[{"Conditions":{},"type":"text","position":0,"label":"Name","required":"yes","page_number":1,"placeholder":"Please add your name here","customID":""},{"type":"email","position":1,"label":"Email","required":"yes","email_confirm":"yes","Conditions":{},"halfwidth":"no","page_number":1,"placeholder":"Please add your email here","customID":"contact-form-name"},{"Conditions":{},"type":"text","position":2,"label":"Phone Number","required":"yes","page_number":1,"placeholder":"Please add your phone number here"},{"Conditions":{},"type":"select","position":3,"label":"How Did You Hear About Us?","required":"yes","values":"FriendMagazineNewspaperPromotionalRecommendationWeb PromoWeb SearchOther","elementCost":{},"page_number":1},{"type":"textarea","position":4,"label":"Message","required":"no","Conditions":{},"page_number":1,"placeholder":"Add message here"},{"Conditions":{},"type":"file","position":5,"label":"Submit Resume","enable_drag_and_drop":"yes","browse_btn":"Upload PDF","page_number":1}]};if(formData['label_fonts_type'] == 'System Fonts'){}else if(formData['label_fonts_type'] == 'Custom Fonts'){if (typeof formData["label_custom_font_name"] !== 'undefined' && typeof formData["label_custom_font_url"] !== 'undefined') {var newStyle = document.createElement('style');newStyle.appendChild(document.createTextNode("\@font-face {\font-family: " + formData["label_custom_font_name"] + ";\src: url("+formData["label_custom_font_url"]+");\}\"));document.head.appendChild(newStyle);}}else{if (typeof formData["label_font_family"] !== 'undefined') {$("head").append("");}}if(formData['input_fonts_type'] == 'System Fonts'){}else if(formData['input_fonts_type'] == 'Custom Fonts'){if (typeof formData["input_custom_font_name"] !== 'undefined' && typeof formData["input_custom_font_url"] !== 'undefined') {var newStyle = document.createElement('style');newStyle.appendChild(document.createTextNode("\@font-face {\font-family: " + formData["input_custom_font_name"] + ";\src: url("+formData["input_custom_font_url"]+");\}\"));document.head.appendChild(newStyle);}}else{if (typeof formData["input_font_family"] !== 'undefined') {$("head").append("");}}var formElementCount = 0;var coutry_list = ['Afghanistan', 'Aland Islands', 'Albania', 'Algeria', 'American Samoa', 'Andorra', 'Angola', 'Anguilla', 'Antarctica', 'Antigua And Barbuda', 'Argentina', 'Armenia', 'Aruba', 'Australia', 'Austria', 'Azerbaijan', 'Bahamas', 'Bahrain', 'Bangladesh', 'Barbados', 'Belarus', 'Belgium', 'Belize', 'Benin', 'Bermuda', 'Bhutan', 'Bolivia', 'Bosnia And Herzegovina', 'Botswana', 'Bouvet Island', 'Brazil', 'British Indian Ocean Territory', 'Brunei Darussalam', 'Bulgaria', 'Burkina Faso', 'Burundi', 'Cambodia', 'Cameroon', 'Canada', 'Cape Verde', 'Cayman Islands', 'Central African Republic', 'Chad', 'Chile', 'China', 'Christmas Island', 'Cocos (Keeling) Islands', 'Colombia', 'Comoros', 'Congo', 'Congo, Democratic Republic', 'Cook Islands', 'Costa Rica', 'Cote D\'Ivoire', 'Croatia', 'Cuba', 'Cyprus', 'Czech Republic', 'Denmark', 'Djibouti', 'Dominica', 'Dominican Republic', 'Ecuador', 'Egypt', 'El Salvador', 'Equatorial Guinea', 'Eritrea', 'Estonia', 'Ethiopia', 'Falkland Islands (Malvinas)', 'Faroe Islands', 'Fiji', 'Finland', 'France', 'French Guiana', 'French Polynesia', 'French Southern Territories', 'Gabon', 'Gambia', 'Georgia', 'Germany', 'Ghana', 'Gibraltar', 'Greece', 'Greenland', 'Grenada', 'Guadeloupe', 'Guam', 'Guatemala', 'Guernsey', 'Guinea', 'Guinea-Bissau', 'Guyana', 'Haiti', 'Heard Island & Mcdonald Islands', 'Holy See (Vatican City State)', 'Honduras', 'Hong Kong', 'Hungary', 'Iceland', 'India', 'Indonesia', 'Iran, Islamic Republic Of', 'Iraq', 'Ireland', 'Isle Of Man', 'Israel', 'Italy', 'Jamaica', 'Japan', 'Jersey', 'Jordan', 'Kazakhstan', 'Kenya', 'Kiribati', 'Korea', 'Kuwait', 'Kyrgyzstan', 'Lao People\'s Democratic Republic', 'Latvia', 'Lebanon', 'Lesotho', 'Liberia', 'Libyan Arab Jamahiriya', 'Liechtenstein', 'Lithuania', 'Luxembourg', 'Macao', 'Macedonia', 'Madagascar', 'Malawi', 'Malaysia', 'Maldives', 'Mali', 'Malta', 'Marshall Islands', 'Martinique', 'Mauritania', 'Mauritius', 'Mayotte', 'Mexico', 'Micronesia, Federated States Of', 'Moldova', 'Monaco', 'Mongolia', 'Montenegro', 'Montserrat', 'Morocco', 'Mozambique', 'Myanmar', 'Namibia', 'Nauru', 'Nepal', 'Netherlands', 'Netherlands Antilles', 'New Caledonia', 'New Zealand', 'Nicaragua', 'Niger', 'Nigeria', 'Niue', 'Norfolk Island', 'Northern Mariana Islands', 'Norway', 'Oman', 'Pakistan', 'Palau', 'Palestinian Territory, Occupied', 'Panama', 'Papua New Guinea', 'Paraguay', 'Peru', 'Philippines', 'Pitcairn', 'Poland', 'Portugal', 'Puerto Rico', 'Qatar', 'Reunion', 'Romania', 'Russian Federation', 'Rwanda', 'Saint Barthelemy', 'Saint Helena', 'Saint Kitts And Nevis', 'Saint Lucia', 'Saint Martin', 'Saint Pierre And Miquelon', 'Saint Vincent And Grenadines', 'Samoa', 'San Marino', 'Sao Tome And Principe', 'Saudi Arabia', 'Senegal', 'Serbia', 'Seychelles', 'Sierra Leone', 'Singapore', 'Slovakia', 'Slovenia', 'Solomon Islands', 'Somalia', 'South Africa', 'South Georgia And Sandwich Isl.', 'Spain', 'Sri Lanka', 'Sudan', 'Suriname', 'Svalbard And Jan Mayen', 'Swaziland', 'Sweden', 'Switzerland', 'Syrian Arab Republic', 'Taiwan', 'Tajikistan', 'Tanzania', 'Thailand', 'Timor-Leste', 'Togo', 'Tokelau', 'Tonga', 'Trinidad And Tobago', 'Tunisia', 'Turkey', 'Turkmenistan', 'Turks And Caicos Islands', 'Tuvalu', 'Uganda', 'Ukraine', 'United Arab Emirates', 'United Kingdom', 'United States', 'United States Outlying Islands', 'Uruguay', 'Uzbekistan', 'Vanuatu', 'Venezuela', 'Viet Nam', 'Virgin Islands, British', 'Virgin Islands, U.S.', 'Wallis And Futuna', 'Western Sahara', 'Yemen', 'Zambia', 'Zimbabwe'];$.each(coutry_list, function( index, clist ) {$('.country').find('option').end().append(' '+clist+' ';}$('.star-rating-'+formElementCount).empty().append(starRating).css('margin-top', divMarginTop + 'px');}if(type == "picture_choice"){if (value['pictures'] !== undefined){var picture_choice_type = 'radio'if(typeof value['multiple_select'] !== undefined){if(value['multiple_select'] == 'yes'){picture_choice_type = 'checkbox'}}pictures = value['pictures']$.each(pictures, function( ind, val ) {var imageNameWithExtension = ind.split('/').pop();var imageNameWithoutExtension = imageNameWithExtension.split('.').slice(0, -1).join('.');$('.picture_choice .input'+formElementCount).append('');})}if(formData['formElements'][formElementCount]['img_outline_clr'] !== undefined){radio_outline_color = '.formElement_'+formElementCount+'.picture_choice [type=radio]:checked + img{outline: 2px solid '+formData['formElements'][formElementCount]['img_outline_clr']+';}'checkbox_outline_colr = '.formElement_'+formElementCount+'.picture_choice [type=checkbox]:checked + img{outline: 2px solid '+formData['formElements'][formElementCount]['img_outline_clr']+';}'$("#picture_choice_css").append(radio_outline_color);$("#picture_choice_css").append(checkbox_outline_colr);}}if(type == "product_choice"){if (value['products'] !== undefined){var product_choice_type = 'radio'if(typeof value['multiple_product_select'] !== undefined){if(value['multiple_product_select'] == 'yes'){product_choice_type = 'checkbox'}}products = value['products']var columnClassProducts = "col-sm-4"if(value['number_of_products'] == 2){columnClassProducts = "col-sm-6"}else if(value['number_of_products'] == 3){columnClassProducts = "col-sm-4"}else{columnClassProducts = "col-sm-3"}var imageHeightProduct;if(typeof value['productimageheight'] !== 'undefined'){imageHeightProduct = value['productimageheight'];}else{if (value['number_of_products'] == 3){imageHeightProduct = 150;}else if(value['number_of_products'] == 4){imageHeightProduct = 100;}else if(value['number_of_products'] == 2){imageHeightProduct = 200;}}var gridHTML = '';$.each(products, function (ind, val) {gridHTML += ' ' +'' +'' +'' +' ' + val.title + ' ' +' ';});gridHTML += '';if ($('.product_choice .input' + formElementCount + ' #product-grid-' + formElementCount).length === 0) {$('.product_choice .input' + formElementCount).append(gridHTML);} else {$('.product_choice .input' + formElementCount + ' #product-grid-' + formElementCount).append(gridHTML);}}if(formData['formElements'][formElementCount]['product_outline_clr'] !== undefined){radio_outline_color = '.formElement_'+formElementCount+'.product_choice [type=radio]:checked + img{outline: 2px solid '+formData['formElements'][formElementCount]['product_outline_clr']+';}'checkbox_outline_colr = '.formElement_'+formElementCount+'.product_choice [type=checkbox]:checked + img{outline: 2px solid '+formData['formElements'][formElementCount]['product_outline_clr']+';}'$("#product_choice_css").append(radio_outline_color);$("#product_choice_css").append(checkbox_outline_colr);}}if(type == "image_display"){if (value['image_display_url'] !== undefined){val = value['image_display_url']if(typeof value['imageheight'] !== 'undefined'){image_height = value['imageheight'];}else{image_height = 150;}if(typeof value['imagewidth'] !== 'undefined'){image_width = value['imagewidth'];}else{image_width = 300;}$('.image_display .input'+formElementCount).append('');$('.image_display_preview_'+formElementCount).append(' × ');if(typeof value["image_alignmet"] !== 'undefined'){if(value["image_alignmet"] == 'left'){$('.image_display .input'+formElementCount).find('img').css("float", "none");$('.image_display .input'+formElementCount).find('div').css('text-align', '');}else if(value["image_alignmet"] == "center"){$('.image_display .input'+formElementCount).find('div').css('text-align', 'center');$('.image_display .input'+formElementCount).find('img').css("float", "none");}else{$('.image_display .input'+formElementCount).find('img').css("float", "right");$('.image_display .input'+formElementCount).find('div').css('text-align', 'none');}}else{$('.image_display .input'+formElementCount).find('img').css("float", "none");$('.image_display .input'+formElementCount).find('div').css('text-align', '');}}}if(formData['label_style'] == 'inlineLabels'){$(".formElement_"+formElementCount).each(function(index) {var email_validation_label = '';if(typeof value['email_validate_field_label'] !== 'undefined'){email_validation_label = value['email_validate_field_label'];}var phone_validation_label = '';if(typeof value['phone_validate_field_label'] !== 'undefined'){phone_validation_label = value['phone_validate_field_label'];}if($(this).hasClass('dateTime') || $(this).hasClass('textfield') || $(this).hasClass('textarea') || $(this).hasClass('number') || $(this).hasClass('dateTime') || $(this).hasClass('newDate') || $(this).hasClass('Time') || $(this).hasClass('multi_text')){$(this).find('label').css("display", "none");$(this).find(':input').attr("placeholder", $(this).find('label').text());} else if($(this).hasClass('address')){addressLabelChange('inlineLabels', formElementCount);} else if($(this).hasClass('multi_column_text')){multiColumnLabelChange('inlineLabels', formElementCount);} else if($(this).hasClass('select')){$(this).find('label').first().css("display", "none");$(this).find('select > option:first-child').text($(this).find('label').first().text());$(this).find('label').first().after($(this).find('select'));$(this).find('label').last().css("display", "none");$(this).find('label').last().after($(this).find(':input').last());$(this).find(':input').last().attr("placeholder", $(this).find('label').last().text());$(this).find('.other-fields :input').last().attr("aria-placeholder", $(this).find('.other-fields label').last().text());}if($(this).hasClass('checkbox-multi')){$(this).find('.other-fields label').last().css("display", "none");$(this).find('.other-fields :input').last().attr("placeholder", $(this).find('.other-fields label').last().text());$(this).find('.other-fields :input').last().attr("aria-placeholder", $(this).find('.other-fields label').last().text());}if($(this).hasClass('dateTime')){$(this).find('label').css("display", "none");$(this).find(':input').attr("placeholder", $(this).find('label').text());$(this).find(':input').attr("aria-placeholder", $(this).find('label').text());}if ($(this).hasClass('phone')){var labels = $(this).find('label');if(labels.length === 1){$(this).find('label').css("display", "none");$(this).find(':input').attr("placeholder", $(this).find('label').text());$(this).find(':input').attr("aria-placeholder", $(this).find('label').text());}else{var val_label_element = $(this).find('label').first().text();$(this).find('label').first().css("display", "none").text(val_label_element);$(this).find(':input[type="number"]').first().attr("placeholder", val_label_element);$(this).find(':input[type="number"]').first().attr("aria-placeholder", val_label_element);if (phone_validation_label.trim() === "") {phone_validation_label = val_label_element;}$(this).find('div.validation_div').css("margin-top", "10px");$(this).find('label').last().css("display", "none").text(phone_validation_label);$(this).find(':input[type="number"]').last().attr("placeholder", phone_validation_label);$(this).find(':input[type="number"]').last().attr("aria-placeholder", phone_validation_label);}}if ($(this).hasClass('password')){$(this).find('label').first().css("display", "none").text($(this).find('label').first().text());$(this).find(':input').first().attr("placeholder", $(this).find('label').first().text());var last_label = $(this).find('label').last().text();var last_placeholder = $(this).find(':input').last().attr('placeholder');$(this).find('label').last().css("display", "none").text(last_label);$(this).find(':input').last().attr("placeholder", last_label);$(this).find(':input').last().attr("aria-placeholder", last_label);}if($(this).hasClass('email')){var labels = $(this).find('label');if(labels.length === 1){var val_label_element = $(this).find('label').first().text();$(this).find('label').first().attr("for", "");$(this).find(':input').first().attr("id", "");$(this).find('label').first().css("display", "none").text(val_label_element);$(this).find(':input').first().attr("placeholder", val_label_element);$(this).find(':input').first().attr("aria-placeholder", val_label_element);$(this).removeClass('has-float-label');}else{var val_label_element = $(this).find('label').first().text();$(this).find('label').first().attr("for", "");$(this).find(':input').first().attr("id", "");$(this).find('label').first().css("display", "none").text(val_label_element);$(this).find(':input').first().attr("placeholder", val_label_element);$(this).find(':input').first().attr("aria-placeholder", val_label_element);$(this).removeClass('has-float-label');$(this).find('label').last().attr("for", "");$(this).find(':input').last().attr("id", "");if (email_validation_label.trim() === "") {email_validation_label = val_label_element;}$(this).find('label').last().css("display", "none").text("");$(this).find(':input').last().css("margin-top", "10px");$(this).find(':input').last().attr("placeholder", email_validation_label);$(this).find(':input').last().attr("aria-placeholder", email_validation_label);$(this).find('div').removeClass('has-float-label');}}if($(this).hasClass('validation_field')){$(this).find('label').first().css("display", "none").text($(this).find('label').first().text());$(this).find(':input').first().attr("placeholder", $(this).find('label').first().text());$(this).find(':input').last().attr("aria-placeholder", $(this).find('label').first().text());$(this).find(':input').last().css("margin-top", "10px")if($(this).find('label').last().text().trim() === ''){$(this).find('label').last().css("display", "none").text($(this).find('label').first().text());$(this).find(':input').last().attr("placeholder", $(this).find('label').first().text());}else{$(this).find('label').last().css("display", "none").text($(this).find('label').last().text());$(this).find(':input').last().attr("placeholder", $(this).find('label').last().text());$(this).find(':input').last().attr("aria-placeholder", $(this).find('label').last().text());}}});} else if (formData['label_style'] == 'blockLabels'){elementHolder = '';if(typeof value['placeholder'] !== 'undefined'){elementHolder = value['placeholder'];}var validation_second_label = '';if(typeof value['field2_validation_label'] !== 'undefined'){validation_second_label = value['field2_validation_label'];}var validation_second_placeholder = '';if(typeof value['field2_validation_placeholder'] !== 'undefined'){validation_second_placeholder = value['field2_validation_placeholder'];}$(".formElement_"+formElementCount).each(function(index) {if($(this).hasClass('textfield') || $(this).hasClass('textarea') || $(this).hasClass('number') || $(this).hasClass('email')){$(this).find('label').css("display", "block");$(this).find(':input').attr("placeholder", elementHolder);} else if($(this).hasClass('address')){addressLabelChange('blockLabels', formElementCount);}else if($(this).hasClass('multi_column_text')){multiColumnLabelChange('blockLabels', formElementCount);}if($(this).hasClass('select')){var elementHolder = (elementHolder == "") ? "Please Select" : elementHolder;$(this).find('label').first().css("display", "block");$(this).find('select > option:first-child').text(elementHolder);$(this).find('label').first().after($(this).find('select'));}if ($(this).hasClass('phone')){$(this).find('label').css("display", "block");$(this).find(':input').attr("placeholder", elementHolder);}if ($(this).hasClass('validation_field')){if (validation_second_placeholder.trim() === "") {validation_second_placeholder = elementHolder;}$(this).find('label').last().attr("for", "");$(this).find('label').last().css("margin-top", "5px")$(this).find(':input').last().attr("id", "");$(this).find(':input').last().css("margin-top", "0px")$(this).find(':input').last().attr("placeholder", validation_second_placeholder);$(this).find('label').last().css("display", "block").text(validation_second_label);$(this).find('label').last().after($(this).find(':input').last());$(this).find('div').removeClass('has-float-label');}});}else{elementHolder = '';if(typeof value['placeholder'] !== 'undefined'){elementHolder = value['placeholder'];}$(".formElement_"+formElementCount).each(function(index) {var phone_validation_label = '';if(typeof value['phone_validate_field_label'] !== 'undefined'){phone_validation_label = value['phone_validate_field_label'];}if($(this).hasClass('dateTime') || $(this).hasClass('textfield') || $(this).hasClass('textarea') || $(this).hasClass('number') || $(this).hasClass('dateTime') || $(this).hasClass('newDate') || $(this).hasClass('Time')){if($(this).hasClass('dateTime') || $(this).hasClass('newDate') || $(this).hasClass('Time') || $(this).hasClass('dateTime')){$(this).find('div').css("margin-left", "0px");$(this).find('div').css("margin-right", "0px");$(this).find('label').removeClass('col-sm-12');$(this).find('label').addClass('col-sm-0');}$(this).find(':input').attr("id", $(this).find('label').text());$(this).find('label').attr("for", $(this).find('label').text());$(this).find('label').css("display", "block").text($(this).find('label').text());$(this).find('label').before($(this).find(':input'));$(this).addClass('has-float-label');} else if($(this).hasClass('address')){addressLabelChange('floatingLabels', formElementCount);} else if($(this).hasClass('multi_column_text')){multiColumnLabelChange('floatingLabels', formElementCount);}if($(this).hasClass('select')){var elementHolder = (elementHolder == "") ? "Please Select" : elementHolder;$(this).find('label').first().css("display", "block").text(elementHolder);$(this).find('select > option:first-child').text(elementHolder);$(this).find('label').first().before($(this).find('select'));$(this).find('label').last().css("display", "block").text($(this).find('label').last().text());$(this).find('label').last().before($(this).find(':input').last());$(this).find(':input').last().attr("placeholder", $(this).find('label').last().text());$(this).find(':input').last().attr("id", $(this).find('label').last().text());$(this).find('label').last().attr("for", $(this).find('label').last().text());$(this).find('.for-floating-label').addClass('has-float-label');}if($(this).hasClass('checkbox-multi')){$(this).find('.other-fields label').last().css("display", "block").text($(this).find('label').last().text());$(this).find('.other-fields label').last().before($(this).find(':input').last());$(this).find('.other-fields label').last().css("left", "12px");$(this).find('.other-fields :input').last().attr("placeholder", $(this).find('label').last().text());$(this).find('.other-fields :input').last().attr("id", $(this).find('label').last().text());$(this).find('.other-fields label').last().attr("for", $(this).find('label').last().text());$(this).find('.for-floating-label').addClass('has-float-label');}if ($(this).hasClass('phone')){var labels = $(this).find('label');if(labels.length === 1){$(this).find('label').css("display", "block");$(this).find(':input').attr("placeholder", elementHolder);$(this).addClass('has-float-label');}else{var val_label_element = $(this).find('label').first().text();$(this).find('label').first().css("display", "block").text(val_label_element);;$(this).addClass('has-float-label');if (phone_validation_label.trim() === "") {phone_validation_label = val_label_element;}$(this).find('div.validation_div').css("margin-top", "12px");$(this).find('label').last().css("display", "block").text(phone_validation_label);$(this).find('label').last().css("left", "6px");$(this).find('label').last().css("margin-top", "0px");$(this).find('div[class="validation_div"]').addClass('has-float-label');}}if($(this).hasClass('password')) {$(this).find('label').first().attr("for", $(this).find('label').first().text());$(this).find(':input').first().attr("id", $(this).find('label').first().text());$(this).find(':input').first().attr("placeholder", $(this).find('label').first().text());$(this).find('label').first().css("display", "block").text($(this).find('label').first().text());$(this).find('label').first().before($(this).find(':input').first());$(this).addClass('has-float-label');var last_label = $(this).find('label').last().text();$(this).find('label').last().attr("for", last_label);$(this).find(':input').last().attr("id", last_label);$(this).find(':input').last().attr("placeholder", last_label);$(this).find('label').last().css("display", "block").text(last_label);$(this).find('label[name$="_label"]').css("left", "6px");$(this).find('label').last().before($(this).find(':input').last());$(this).find('div').addClass('has-float-label');}if($(this).hasClass('email')){var labels = $(this).find('label');if (labels.length === 1) {$(this).find(':input').first().attr("id", $(this).find('label').text());$(this).find('label').first().attr("for", $(this).find('label').text());$(this).find('label').first().css("display", "block").text($(this).find('label').first().text());$(this).find(':input').first().attr("placeholder", $(this).find('label').first().text());$(this).find('label').first().css("left", "20px");$(this).find('label').first().css("margin-top", "0px");$(this).find(':input').first().css("margin-top", "0px");$(this).find('label').first().before($(this).find(':input'));$(this).addClass('has-float-label');}else{$(this).find(':input').first().attr("id", $(this).find('label').text());$(this).find('label').first().attr("for", $(this).find('label').text());$(this).find('label').first().css("display", "block").text($(this).find('label').first().text());$(this).find(':input').first().attr("placeholder", $(this).find('label').first().text());$(this).find('label').first().css("left", "20px");$(this).find('label').first().css("margin-top", "10px");$(this).find(':input').first().css("margin-top", "10px");$(this).find('label').first().before($(this).find(':input'));$(this).addClass('has-float-label');if($(this).find('label').last().text().trim() === ''){email_label = $(this).find('label').first().text();}else{email_label = $(this).find('label').last().text();}$(this).find('label').last().attr("for", email_label);$(this).find(':input').last().attr("id", email_label);$(this).find(':input').last().attr("placeholder", email_label);$(this).find('label').last().css("display", "block").text(email_label);$(this).find('label').last().css("left", "6px");$(this).find('label').last().css("margin-top", "0px");$(this).find(':input').last().css("margin-top", "10px");$(this).find('label').last().before($(this).find(':input').last());$(this).find('div').addClass('has-float-label');}}if($(this).hasClass('validation_field')){$(this).find('label').first().attr("for", $(this).find('label').first().text());$(this).find(':input').first().attr("id", $(this).find('label').first().text());$(this).find(':input').first().attr("placeholder", $(this).find('label').first().text());$(this).find('label').first().css("display", "block").text($(this).find('label').first().text());$(this).find('label').first().before($(this).find(':input').first());$(this).addClass('has-float-label');if($(this).find('label').last().text().trim() === ''){validation_label = $(this).find('label').first().text();}else{validation_label = $(this).find('label').last().text();}$(this).find('label').last().attr("for", validation_label);$(this).find(':input').last().attr("id", validation_label);$(this).find(':input').last().attr("placeholder", validation_label);$(this).find('label').last().css("display", "block").text(validation_label);$(this).find('label').last().css("left", "6px");$(this).find('label').last().css("margin-top", "0px");$(this).find(':input').last().css("margin-top", "10px");$(this).find('label').last().before($(this).find(':input').last());$(this).find('div').addClass('has-float-label');}if($(this).hasClass('multi_text')){$(this).find('input').attr("id", $(this).find('label').first().text());$(this).find('label').attr("for", $(this).find('label').first().text());$(this).find('label').css("display", "block").text(elementHolder);$(this).find('input').attr("placeholder", $(this).find('label').first().text());$(this).find(':input').after($(this).find('label'));$(this).addClass('has-float-label');$(this).find('label').last().remove();}});}formElementCount++;});$(document).on('click', '.alert_message .alert.alert-danger span', function(){$(".alert_message").css("display", "none");iframe_resize('no', 'no', 'error');});$('#stripePayment').change(function(){paymentDisplay();});iframe_resize('no', 'no', 'initial');function securityValidation(input_field){var error_msg = ''var not_valid = false;if(isTags(input_field)){error_msg = 'HTML Tags are not allowed'not_valid = true;}else if (isSQL(input_field)){error_msg = 'SQL Queries are not allowed'not_valid = true;}else if(isDoubleQuotes(input_field)){error_msg = 'Double quotes are not allowed'not_valid = true;}return [error_msg, not_valid];}function securityEmailValidation(input_field){var error_msg = ''var not_valid = false;if(isTags(input_field)){error_msg = 'HTML Tags are not allowed'not_valid = true;}return [error_msg, not_valid];}var validate = 1var filters = [];var confirmationMail = '';var email_check = '';var phone_check = '';var validMessage = '';var hasInputValue = false;$(document).on('click', '.form_submit_div .btn', function(e) {e.preventDefault();$('.form_submit_div .btn').prop('disabled',true);$('.error').removeClass('error');captch_check = 1;if(formData['captcha_enable'] == 'yes'){var captcha_response = grecaptcha.getResponse();if(captcha_response.length == 0){captch_check = 0;}}validateForm();if(captch_check != 1){filters.push("Please provide valid captcha response");validate = 0;}stripeToken = '';if(validate != 1){if(filters.length > 0){$(".alert_message").html(' ' + '' + filters.map(function(filter, index) {var textContent = filter.replace(/]*>/g, '');var concatenatedFilters = filters.slice(0, index + 1).map(f => f.replace(/]*>/g, '')).join(' ');return '
' + filter + '
';}).join('') + ' ').css("display", "block");} else if(validMessage != ''){$(".alert_message").html(''+validMessage+'
').css("display", "block");} else {$(".alert_message").html('' + "Please provide valid data" + '
').css("display", "block");}$(".alert_message p.alert-danger").first().focus();$('html, body').animate({scrollTop: $('#wizard-validation-form').offset().top }, 'slow');iframe_resize('yes', 'no', 'error');$('.form_submit_div .btn').prop('disabled',false);} else {if ($('#formGeneratorForm').data('disable-swal') != true){swal({content: {element: 'div',attributes: {className: 'loader-container',innerHTML: "Processing...
"}},button: false});}iframe_resize('yes', 'no', 'success');$('html, body').animate({scrollTop: $('#wizard-validation-form').offset().top }, 'slow');var formResponse = {};var additional_price = 0.00;$(".form_container div[class^='formElement']").each(function(){if((!$(this).attr("id")) && (!$(this).hasClass('label')) && (!$(this).hasClass('lineBreak')) && (!$(this).hasClass('space'))){ eCount = $(this).data('count');fElement = formData['formElements'][eCount];if($(this).hasClass('radio')){submit_value = $(this).find("input:checked").val();} else if($(this).hasClass('checkbox')){if (!$(this).find("input").hasClass('result_in_yes_no')) {if(!$(this).find("input").is(':checked')){submit_value = "Off";}else{submit_value = "On";}}else{if(!$(this).find("input").is(':checked')){submit_value = "No";}else{submit_value = "Yes";}}} else if($(this).hasClass('checkbox-multi')){if ($(this).find('div').attr('other_value') === "1") {var checkValues = [];$(this).find("input[type='checkbox']:checked").each(function() {if ($(this).val() === 'Other') {var otherValue = $(this).closest('.checkbox-multi').find('.other_class').val();if (otherValue !== undefined && otherValue.trim() !== "") { checkValues.push($(this).val() + "(" + otherValue + ")");}} else {checkValues.push($(this).val());}});submit_value = checkValues.join(", ");}else{var checkValues = [];$.each($("input[name='"+fElement['label']+"']:checked"), function(){checkValues.push($(this).val());});submit_value = checkValues.join(", ");}} else if($(this).hasClass('password')){password = {}password['password_input'] = $(this).find(':input').val();if($(this).find(':input').val()){hasInputValue = true;}password['type'] = 'password';submit_value = password} else if($(this).hasClass('validation_field')) {submit_value = $(this).find(':input').val();} else if($(this).hasClass('select')){if($(this).find('select').attr('other_value') == "1"){if($(this).find('select').val() == 'Other' || $(this).find('select').find('option').last().val() == $(this).find('select').val()){if($(this).find('label[name$="_label"]').text() && $(this).find('input').val()){ if ($(this).find('input').val() !== '' && $(this).find('label[name$="_label"]').text() != ''){submit_value = $(this).find('select').val() + " (" + $(this).find('label[name$="_label"]').text().replace('*',"") + " : " + $(this).find('input').val() + ")";}else{submit_value = $(this).find('select').val();}}else{submit_value = $(this).find('select').val();}}else{submit_value = $(this).find('select').val();}}else{submit_value = $(this).find('select').val();}} else if($(this).hasClass('multi_text')){mePos = fElement['position'];$(this).find($("div[class='input_fields_"+mePos+"_wrap'] div input[type=text]").each(function (){if(typeof submit_value !== 'undefined'){submit_value = submit_value + "" + this.value;}else{submit_value = this.value;}}));} else if($(this).hasClass('multi_column_text')){mePos = fElement['position'];var multiColumnTextData = $(this).find("div.input_fields_"+mePos+"_wrap div.multi-column-input-main div.multi-column-input").map(function() {var elementData = {};var key = $(this).find("input[name='key']").val();var value = $(this).find("input[name='value']").val();elementData[key] = value;return elementData;}).get();formResponse[fElement['label']] = multiColumnTextData;} else if($(this).hasClass('dateTime')){submit_value = $(this).find(':input').val();} else if($(this).hasClass('file')){if(typeof fileuploaded["fileupload_"+eCount] !== 'undefined'){if(fileuploaded["fileupload_"+eCount]['upload_type'] == 'multiple'){if (fileuploaded["fileupload_"+eCount].files.length > 0){hasInputValue = true;}formResponse[formData['formElements'][eCount]['label']] = fileuploaded["fileupload_"+eCount];} else {formResponse[formData['formElements'][eCount]['label']] = fileuploaded["fileupload_"+eCount];hasInputValue = true;}} else {formResponse[formData['formElements'][eCount]['label']] = '';}} else if($(this).hasClass('image')){if(typeof fileuploaded["imageupload_"+eCount] !== 'undefined'){if(fileuploaded["imageupload_"+eCount]['upload_type'] == 'multiple'){if (fileuploaded["imageupload_"+eCount].images.length > 0){hasInputValue = true;}formResponse[formData['formElements'][eCount]['label']] = fileuploaded["imageupload_"+eCount];} else {formResponse[formData['formElements'][eCount]['label']] = fileuploaded["imageupload_"+eCount];hasInputValue = true;}} else {formResponse[formData['formElements'][eCount]['label']] = '';}} else if($(this).hasClass('signature')){if(typeof fileuploaded["signatureupload_"+eCount] !== 'undefined'){formResponse[formData['formElements'][eCount]['label']] = fileuploaded["signatureupload_"+eCount];hasInputValue = true;} else {formResponse[formData['formElements'][eCount]['label']] = '';}} else if($(this).hasClass('address')){var address_array = $(this).find(':input').map(function(){var obj = {};obj[ this.name ] = $(this).val();if ($(this).val()){hasInputValue = true;}return obj;}).get();formResponse[fElement['label']] = address_array;} else if($(this).hasClass('ratings')){submit_value = $(this).find('input[type="radio"]:checked').val() ? $(this).find('input[type="radio"]:checked').val() : "0"} else if($(this).hasClass('phone')){submit_value = $(this).find(':input').last().val() ? $(this).find(':input').val() + $(this).find(':input').last().val() : '';} else if($(this).hasClass('terms_conditions')){if(!$(this).find("input").is(':checked')){submit_value = "Declined";} else {submit_value = "Accepted";}} else if($(this).hasClass('emoji')){submit_value = $(this).find("input:checked").siblings('span').text();} else if($(this).hasClass('picture_choice')){picture_choice = {}picture_choice['type'] = 'picture_choice';if($(this).find('input').attr('type') == 'radio'){picture_choice['url'] = $(this).find("input:checked").parent().find('img').attr('src');picture_choice['upload_type'] = 'single';if ($(this).find("input:checked").parent().find('img').attr('src')){hasInputValue = true;}}else{picture_choice['images'] = []$.each($(this).find("input:checked"), function(){picture_choice['images'].push({'url': $(this).parent().find('img').attr('src')})if ($(this).parent().find('img').attr('src')){hasInputValue = true;}});picture_choice['upload_type'] = 'multiple';}submit_value = picture_choice} else if($(this).hasClass('product_choice')){if($(this).find('input').attr('type') == 'radio') {var selectedRadio = $(this).find("input:checked");if (selectedRadio.length > 0) {submit_value = selectedRadio.parent().find('div.product-title').text();}}else{$.each($(this).find("input:checked"), function(){if(typeof submit_value !== 'undefined'){submit_value = submit_value + "" + $(this).parent().find('div.product-title').text();}else{submit_value = $(this).parent().find('div.product-title').text();}});}} else {submit_value = $(this).find(':input').val();}if(typeof submit_value !== 'undefined'){if (submit_value && !$(this).hasClass('password') && !$(this).hasClass('picture_choice')){hasInputValue = true;}if(typeof formResponse[fElement['label']] !== 'undefined'){fsArr = formResponse[fElement['label']];if($.isArray(fsArr)){fsArr.push(submit_value);} else {old_value = formResponse[fElement['label']];formResponse[fElement['label']] = [old_value];formResponse[fElement['label']].push(submit_value);}} else {formResponse[formData['formElements'][eCount]['label']] = submit_value;}}submit_value = undefined;}});var payment_details = {};var utm_params = {};utm_params = '{}'var referrer_url = '';referrer_url = 'pages/cake-decorator'if(!hasInputValue){swal.close();$(".alert_message").html(''+ "Please enter at least one field." +'
').css("display", "block");$('.form_submit_div .btn').prop('disabled',false);iframe_resize('yes', 'no', 'error');return;}$.each(formResponse, function(key, value){if(typeof formResponse[key] == 'object'){if(typeof formResponse[key]['image_lists'] == 'object'){delete formResponse[key]['image_lists']}else if(typeof formResponse[key]['files_list'] == 'object'){delete formResponse[key]['files_list']}}});$.ajax({type:"POST",beforeSend: function(xhr) {xhr.setRequestHeader('X-CSRF-Token', $('meta[name="csrf-token"]').attr('content'));xhr.setRequestHeader('X-Shop-UUID', "Dq6GZo03NAxD9kKwb2tt2A");},url: '/ajaxcall/formresponse',data: { form_uuid: "OO1rYNcwqUeGr6tHUrIM_w", formResponse: JSON.stringify(formResponse), confirmationMail: confirmationMail, payment_details: payment_details, utm_params: utm_params, referrer_url: referrer_url, email_check: email_check, phone_check: phone_check },success:function(data){swal.close();$('.error').removeClass('error');if(typeof data.charge_failed !== 'undefined'){if(data.message !== 'undefined' && data.message == "uniq_email_validation"){$(".alert_message").html('Form with this email is already submitted
').css("display", "block");} else if(data.message !== 'undefined' && data.message == "uniq_phone_validation"){$(".alert_message").html('Form with this phone number is already submitted
').css("display", "block");} else if(data.message !== 'undefined' && data.message == "user_res_parse_error"){$(".alert_message").html('Error while submitting the form
').css("display", "block");} else {$(".alert_message").html(''+ data.message +'
').css("display", "block");}$('.form_submit_div .btn').prop('disabled',false);} else {$('#stripeToken').val('');var event_category = ''var event_action = ''var event_label = ''// Google Analytic 4 Start-------------------// Google Analytic 4 End---------------------// Google Tag Manager Start-------------------// Google Tag Manager End---------------------window.onbeforeunload = null;if ( window.location !== window.parent.location ) {if(formData['after_submit'] == 'clearAndPrevent'){$(".alert_message").html(''+"Thank you! The form was submitted successfully."+'
').css("display", "block");iframe_resize('no', 'no', 'success');$(".alert_message .alert").fadeOut(5000, function(){$(this).remove();$(".alert_message").css("display", "none");iframe_resize('yes', 'no', 'success');});$('#formGeneratorForm')[0].reset();$('.form_submit_div .btn').prop('disabled',true);iframe_resize('yes', 'no', 'success');} else if(formData['after_submit'] == 'clearAndAllow'){var rlurl = document.URL+'&form_sbmt=yes';window.location.replace(rlurl);} else if(formData['after_submit'] == 'redirect'){if(typeof formData['after_submit_url'] !== 'undefined'){if(typeof formData['openinnewtab'] !== 'undefined' && formData['openinnewtab'] == 'yes'){var redirectURL = formData['after_submit_url'];if(redirectURL == ''){location.reload();} else{// window.open(redirectURL, '_blank');var newTab = window.open(redirectURL, '_blank');if (newTab) {// New tab was successfully opened} else {// New tab was blocked, fallback to opening in the current windowwindow.top.location.href = redirectURL;}$(".formContainer").css("display", "none");$(".formContainer").html('');$(".after_form_submit .form_generater_form_div").html(formData['after_submit_msg']).attr({ 'tabindex': '0', 'aria-label': $("").html(formData['after_submit_msg']).text() });$(".after_form_submit").css("display", "block");iframe_resize('yes', 'no', 'success');}} else {var redirectURL = formData['after_submit_url'];if(redirectURL == ''){location.reload();} else{window.top.location.href = redirectURL;}}} else{location.reload();}} else if(formData['after_submit'] == 'hideAndmessage'){$(".formContainer").css("display", "none");$(".formContainer").html('');$(".after_form_submit .form_generater_form_div").html(formData['after_submit_msg']).attr({ 'tabindex': '0', 'aria-label': $(" ").html(formData['after_submit_msg']).text() });$(".after_form_submit").css("display", "block");var formResponse = jQuery.parseJSON(data['user_response']);var formResponseString = JSON.stringify(formResponse);var hiddenInput = $('');hiddenInput.val(formResponseString);$(".after_form_submit").append(hiddenInput);iframe_resize('yes', 'no', 'success');} else if(formData['after_submit'] == 'responses'){var formResponse = jQuery.parseJSON(data['user_response']);var htmlrender = '';if ('cinderella-cakes.myshopify.com' !== 'al-manaiya-oasis-festival.myshopify.com') {htmlrender += ' ';}htmlrender += '' + "Your response" + '
'+' ';$.each(formResponse, function(index, value){htmlrender = htmlrender + ' '+index+' ';if(typeof value != 'string') {if(value['type'] == 'image' || value['type'] == 'picture_choice'){if(value['upload_type'] == "multiple"){$.each(value['images'], function(im_index, im_value){htmlrender = htmlrender + '';});} else {if(value["url"] !== undefined){htmlrender = htmlrender + '';}}} else if(value['type'] == 'file' ){if(value['upload_type'] == "multiple"){$.each(value['files'], function(im_index, im_value){htmlrender = htmlrender + '' + "Download file" + ' ';});} else {htmlrender = htmlrender + '' + "Download file" + ' ';}}else if(value['type'] == 'password'){if(value['password_input'] != ''){htmlrender = htmlrender + '*'.repeat(value['password_input'].length);}}else if(typeof value["url"] !== 'undefined'){htmlrender = htmlrender + ' ' + "Download file" + ' ';} else {$.each(value, function(index, address_value){$.each(address_value, function(im_index, im_value){if(im_value.trim() != ''){htmlrender = htmlrender + im_index + ': ' + im_value + '';}});});}} else {htmlrender = htmlrender + ' ' +value.toString();}htmlrender = htmlrender + ' ';});htmlrender = htmlrender + ' ';$(".formContainer").css("display", "none");$(".formContainer").html('');$(".after_form_submit .form_generater_form_div").html(htmlrender);$(".after_form_submit").css("display", "block");iframe_resize('yes', 'no', 'success');}} else {if(formData['after_submit'] == 'clearAndPrevent' || formData['after_submit'] == 'redirect'){$(".alert_message").html('
'+"Thank you! The form was submitted successfully."+'
').css("display", "block");iframe_resize('no', 'no', 'success');$(".alert_message .alert").fadeOut(5000, function(){$(this).remove();$(".alert_message").css("display", "none");iframe_resize('yes', 'no', 'success');});$('#formGeneratorForm')[0].reset();$('.form_submit_div .btn').prop('disabled',true);iframe_resize('yes', 'no', 'success');} else if(formData['after_submit'] == 'clearAndAllow'){var rlurl = document.URL+'&form_sbmt=yes';window.location.replace(rlurl);$('.form_submit_div .btn').prop('disabled',false);iframe_resize('yes', 'no', 'success');} else if(formData['after_submit'] == 'hideAndmessage'){$(".formContainer").css("display", "none");$(".formContainer").html('');$(".after_form_submit .form_generater_form_div").html(formData['after_submit_msg']).attr({ 'tabindex': '0', 'aria-label': $(" ").html(formData['after_submit_msg']).text() });$(".after_form_submit").css("display", "block");var formResponse = jQuery.parseJSON(data['user_response']);var formResponseString = JSON.stringify(formResponse);var hiddenInput = $('');hiddenInput.val(formResponseString);$(".after_form_submit").append(hiddenInput);iframe_resize('yes', 'no', 'success');} else if(formData['after_submit'] == 'responses'){var formResponse = jQuery.parseJSON(data['user_response']);var htmlrender = ''+'' + "Your response" + '
'+' ';$.each(formResponse, function(index, value){htmlrender = htmlrender + ' '+index+' ';if(typeof value != 'string') {if(value['type'] == 'image'){if(value['upload_type'] == "multiple"){$.each(value['images'], function(im_index, im_value){htmlrender = htmlrender + '';});} else {htmlrender = htmlrender + '';}}else if(value['type'] == 'password'){if(value['password_input'] != ''){htmlrender = htmlrender + '*'.repeat(value['password_input'].length);}}else if(typeof value["url"] !== 'undefined'){htmlrender = htmlrender + ' ' + "Download file" + ' ';} else {try {$.each(value, function(index, address_value){$.each(address_value, function(im_index, im_value){if(im_value.trim() != ''){htmlrender = htmlrender + im_index + ': ' + im_value + '';}});});}catch(err) {console.log('error in response', err.message,value);}}} else {htmlrender = htmlrender + ' ' +value.toString();}htmlrender = htmlrender + ' ';});htmlrender = htmlrender + ' ';$(".formContainer").css("display", "none");$(".formContainer").html('');$(".after_form_submit .form_generater_form_div").html(htmlrender);$(".after_form_submit").css("display", "block");iframe_resize('yes', 'no', 'success');}}$('span.fileres').text('');var fileuploaded = {};var htmlrender = '';var formResponse = {};captch_check = 0;}phone_check = '';email_check = '';},error:function(data){swal.close();$(".alert_message").html(''+ "Error occur.Please try again after sometime." +'
').css("display", "block");$('.form_submit_div .btn').prop('disabled',false);iframe_resize('yes', 'no', 'error');}});hasInputValue = false;}return false;});function isEmail(email) {var regex = /^([a-zA-Z0-9_.+-])+\@(([a-zA-Z0-9-])+\.)+([a-zA-Z0-9]{2,4})+$/;return regex.test(email);}function isTags(tags) {var regex = /|<(video).*?+$/;return regex.test(tags);}function isDoubleQuotes(quotes) {var validate_double_quotes = 'false'if(validate_double_quotes == 'true'){var regex = /((").*?)+$/;return regex.test(quotes);}}function isPassword(password){return /[\!\@\\\#\$\%\^\&\,\.\:\;\\?\[\]\`\{\}\~\*\(\)\_\+\|\!\-]/.test(password) && /[a-z]/.test(password) && /[0-9]/.test(password) && /[A-Z]/.test(password)}function checkPasswordRules(password, password_input_length, password_minlength, password_maxlength, password_input_field_name) {var special_character_msg = ''var lowercase_msg = ''var uppercase_msg = ''var number_msg = ''var length_msg = ''var not_valid = falsevar special_char_valid = falsevar lowercase_valid = falsevar uppercase_valid = falsevar number_valid = falsevar length_valid = falsevar password_msg = password_input_field_name + " needs to: "if(/[\!\@\\\#\$\%\^\&\,\.\:\;\\?\[\]\`\{\}\~\*\(\)\_\+\|\!\-]/.test(password)){special_character_msg = password_msg + '✓ Include at least one special character
'special_char_valid = false}else{special_character_msg = password_msg + '✕ Include at least one special character
'special_char_valid = true}if(/[a-z]/.test(password)){lowercase_msg = special_character_msg + '✓ Include at least one lowercase character
'lowercase_valid = false}else{lowercase_msg = special_character_msg + '✕ Include at least one lowercase character
'lowercase_valid = true}if(/[A-Z]/.test(password)){uppercase_msg = lowercase_msg + '✓ Include at least one uppercase character
'uppercase_valid = false}else{uppercase_msg = lowercase_msg + '✕ Include at least one uppercase character
'uppercase_valid = true}if(/[0-9]/.test(password)){number_msg = uppercase_msg + '✓ Include at least one number
'number_valid = false}else{number_msg = uppercase_msg + '✕ Include at least one number
'number_valid = true}if(password_input_length >= parseInt(password_minlength)){if(parseInt(password_minlength) == parseInt(password_maxlength)){input = 'Must have 8 characters long'input = input.replace(/\b8\b/, password_minlength);length_msg = number_msg + "✓ "+input+"
"length_valid = false}else{input = 'Be between 8 and 12 characters long'input = input.replace(/\b8\b/, password_minlength).replace(/\b12\b/, password_maxlength);length_msg = number_msg + "✓ "+ input +"
"length_valid = false}}else{if(parseInt(password_minlength) == parseInt(password_maxlength)){input = 'Must have 8 characters long'input = input.replace(/\b8\b/, password_minlength);length_msg = number_msg + "✕ "+input+"
"length_valid = true}else{input = 'Be between 8 and 12 characters long'input = input.replace(/\b8\b/, password_minlength).replace(/\b12\b/, password_maxlength);length_msg = number_msg + "✕ "+input+"
"length_valid = true}}if(special_char_valid == true || lowercase_valid == true || uppercase_valid == true || number_valid == true || length_valid == true){not_valid = true}else{not_valid = false}return [length_msg, not_valid];}function isSQL(query) {var regex = /^(ALTER|alter|CREATE|create|DELETE|delete|DROP|drop|EXEC(UTE){0,1}|INSERT( +INTO){0,1}|insert( +into){0,1}|MERGE|merge|SELECT|select|UPDATE|update|UNION( +ALL){0,1}|union( +all){0,1})/;return regex.test(query);}function isPhone(phone, dial_code, country_code) {return ((phone.length == 7 || phone.length == 8 || phone.length == 9 || phone.length == 10 || phone.length == 11) && isPhoneValid(phone, dial_code, country_code)) ? true : false;}function validateUrl(url) {var urlregex = new RegExp("^(http:\/\/|https:\/\/|www.){1}([0-9A-Za-z]+\.)");return urlregex.test(url);}var fileuploaded = {};setUpDragAndDropFile('5', 'false',{"is_required":"is required","thank_you":"Thank you! The form was submitted successfully.","processing":"Processing...","valid_data":"Please provide valid data","valid_email":"Provide valid email format","valid_tags":"HTML Tags are not allowed","valid_phone":"Provide valid phone number","valid_captcha":"Please provide valid captcha response","valid_url":"Provide valid URL","only_number_alloud":"Provide valid number in","number_less":"must be less than","number_more":"must be more than","image_must_less":"Image must be less than 20MB","image_number":"Images allowed ","image_extension":"Invalid extension! Please provide image file","error_image_upload":"Error in image upload. Please try again.","error_file_upload":"Error in file upload. Please try again.","your_response":"Your response","error_form_submit":"Error occur.Please try again after sometime.","email_submitted":"Form with this email is already submitted","download_file":"Download file","card_details_invalid":"Your card details are invalid","card_details":"Card details","please_enter_card_details":"Please enter card details","card_number":"Card number","exp_mm":"Exp MM","exp_yy":"Exp YY","crd_cvc":"CVV","payment_value":"Payment amount","please_enter_payment_amount":"Please enter payment amount","address1":"Address line 1","address2":"Address line 2","city":"City","province":"Province","zipcode":"Zip code","country":"Country","blocked_domain":"This form does not accept addresses from ","file_must_less":"File must be less than 20MB","file_extension":"Invalid extension! Please provide file","only_file_number_alloud":"files allowed","previous":"Previous","next":"Next","must_have_a_input":"Please enter at least one field.","please_enter_required_data":"Please enter required data","atleast_one_special_char":"Include at least one special character","atleast_one_lowercase_char":"Include at least one lowercase character","atleast_one_uppercase_char":"Include at least one uppercase character","atleast_one_number":"Include at least one number","must_have_8_chars":"Must have 8 characters long","be_between_8_and_12_chars":"Be between 8 and 12 characters long","please_select":"Please Select","phone_submitted":"Form with this phone number is already submitted","user_res_parse_error":"Error while submitting the form","valid_same_values":"values must be same","product_choice_clear_selection":"Clear Selection","remove_all_for_file_image_upload":"Remove All","invalid_file_type_for_image_upload":"You can't upload files of this type.","invalid_file_type_for_signature_upload":"You can't upload files of this type.","max_files_exceeded_for_file_upload":"You can not upload any more files.","max_files_exceeded_for_image_upload":"You can not upload any more files.","file_already_exist":"File already uploaded","max_limit_exceed":"You have added the maximum number of text fields.","cancel_upload_for_file_upload":"Cancel upload","cancel_upload_for_image_upload":"Cancel upload","cancel_upload_for_signature_upload":"Cancel upload"},{"id":166266,"form_title":"Job Form v.01","uuid":"OO1rYNcwqUeGr6tHUrIM_w","form_data":"{\"div_back_gradient_1\":\"#fff\",\"div_back_gradient_2\":\"#fff\",\"back_color\":\"#fff\",\"form_title\":\"\",\"form_submit\":\"Apply \",\"after_submit\":\"hideAndmessage\",\"after_submit_msg\":\"\u003ch1 style=\\\"text-align: center;\\\"\u003e\u003cspan style=\\\"font-size:24px;\\\"\u003eThank you!\u003c/span\u003e\u003c/h1\u003e\\\u003ch2 style=\\\"text-align: center;\\\"\u003e\u003cspan style=\\\"font-size:24px;\\\"\u003eYour resume has been recieved.\u003c/span\u003e\u003c/h2\u003e\\",\"captcha_enable\":\"yes\",\"label_style\":\"blockLabels\",\"input_border_radius\":\"60\",\"back_type\":\"transparent\",\"input_back_color\":\"#fff\",\"input_back_color_hover\":\"#ffffff\",\"back_shadow\":\"none\",\"label_font_clr\":\"#000000\",\"input_font_clr\":\"#7c7c7c\",\"button_align\":\"fullBtn\",\"button_clr\":\"#ffffff\",\"button_back_clr\":\"#d00059\",\"button_border_radius\":\"80\",\"form_width\":\"60%\",\"form_border_size\":0,\"form_border_clr\":\"#e80000\",\"form_border_radius\":0,\"label_font_size\":\"16\",\"input_font_size\":\"18\",\"button_font_size\":\"20\",\"form_padding\":\"60\",\"input_border_color\":\"#ccc\",\"input_border_color_hover\":\"#cccccc\",\"btn_border_clr\":\"#ffffff\",\"btn_border_size\":0,\"form_name\":\"Job Form v.01\",\"\":\",.c\",\"form_emails\":\"\",\"admin_email_subject\":\"{{Name}} - Job Submission\",\"admin_email_message\":\"\u003cp\u003eHi Cinderella Cakes,\u003cbr /\u003e\Someone just submitted a response to your job form.\u003cbr /\u003e\Please find the details below:\u003c/p\u003e\\",\"label_font_family\":\"Montserrat\",\"input_font_family\":\"Montserrat\",\"captcha_align\":\"left\",\"prefix_input_text\":\"\",\"custom_count_number\":\"\",\"auto_responder_sendname\":\"Cinderellacakes.com\",\"auto_responder_message\":\"\u003ctable border=\\\"0\\\" cellpadding=\\\"0\\\" cellspacing=\\\"0\\\" class=\\\"nl-container\\\" role=\\\"presentation\\\" style=\\\"mso-table-lspace: 0pt; mso-table-rspace: 0pt; background-color: #ffffff;\\\" width=\\\"100%\\\"\u003e\\\t\u003ctbody\u003e\\\t\\t\u003ctr\u003e\\\t\\t\\t\u003ctd\u003e\\\t\\t\\t\u003ctable align=\\\"center\\\" border=\\\"0\\\" cellpadding=\\\"0\\\" cellspacing=\\\"0\\\" class=\\\"row row-1\\\" role=\\\"presentation\\\" style=\\\"mso-table-lspace: 0pt; mso-table-rspace: 0pt;\\\" width=\\\"100%\\\"\u003e\\\t\\t\\t\\t\u003ctbody\u003e\\\t\\t\\t\\t\\t\u003ctr\u003e\\\t\\t\\t\\t\\t\\t\u003ctd\u003e\\\t\\t\\t\\t\\t\\t\u003ctable align=\\\"center\\\" border=\\\"0\\\" cellpadding=\\\"0\\\" cellspacing=\\\"0\\\" class=\\\"row-content stack\\\" role=\\\"presentation\\\" style=\\\"mso-table-lspace: 0pt; mso-table-rspace: 0pt; background-color: #eaeceb; color: #000000; width: 640px;\\\" width=\\\"640\\\"\u003e\\\t\\t\\t\\t\\t\\t\\t\u003ctbody\u003e\\\t\\t\\t\\t\\t\\t\\t\\t\u003ctr\u003e\\\t\\t\\t\\t\\t\\t\\t\\t\\t\u003ctd class=\\\"column column-1\\\" style=\\\"mso-table-lspace: 0pt; mso-table-rspace: 0pt; font-weight: 400; text-align: left; vertical-align: top; padding-top: 0px; padding-bottom: 0px; border-top: 0px; border-right: 0px; border-bottom: 0px; border-left: 0px;\\\" width=\\\"100%\\\"\u003e\\\t\\t\\t\\t\\t\\t\\t\\t\\t\u003ctable border=\\\"0\\\" cellpadding=\\\"0\\\" cellspacing=\\\"0\\\" class=\\\"image_block block-2\\\" role=\\\"presentation\\\" style=\\\"mso-table-lspace: 0pt; mso-table-rspace: 0pt;\\\" width=\\\"100%\\\"\u003e\\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\u003ctbody\u003e\\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\u003ctr\u003e\\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\u003ctd class=\\\"pad\\\" style=\\\"width:100%;padding-right:0px;padding-left:0px;padding-top:50px;\\\"\u003e\\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\u003cdiv align=\\\"center\\\" class=\\\"alignment\\\" style=\\\"line-height:10px\\\"\u003e\u003cimg alt=\\\"Alternate text\\\" src=\\\"\\\" style=\\\"display: block; height: auto; border: 0; width: 224px; max-width: 100%;\\\" title=\\\"Alternate text\\\" width=\\\"224\\\" /\u003e\u003c/div\u003e\\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\u003c/td\u003e\\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\u003c/tr\u003e\\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\u003c/tbody\u003e\\\t\\t\\t\\t\\t\\t\\t\\t\\t\u003c/table\u003e\\\t\\t\\t\\t\\t\\t\\t\\t\\t\u003c/td\u003e\\\t\\t\\t\\t\\t\\t\\t\\t\u003c/tr\u003e\\\t\\t\\t\\t\\t\\t\\t\u003c/tbody\u003e\\\t\\t\\t\\t\\t\\t\u003c/table\u003e\\\t\\t\\t\\t\\t\\t\u003c/td\u003e\\\t\\t\\t\\t\\t\u003c/tr\u003e\\\t\\t\\t\\t\u003c/tbody\u003e\\\t\\t\\t\u003c/table\u003e\\\\t\\t\\t\u003ctable align=\\\"center\\\" border=\\\"0\\\" cellpadding=\\\"0\\\" cellspacing=\\\"0\\\" class=\\\"row row-2\\\" role=\\\"presentation\\\" style=\\\"mso-table-lspace: 0pt; mso-table-rspace: 0pt;\\\" width=\\\"100%\\\"\u003e\\\t\\t\\t\\t\u003ctbody\u003e\\\t\\t\\t\\t\\t\u003ctr\u003e\\\t\\t\\t\\t\\t\\t\u003ctd\u003e\\\t\\t\\t\\t\\t\\t\u003ctable align=\\\"center\\\" border=\\\"0\\\" cellpadding=\\\"0\\\" cellspacing=\\\"0\\\" class=\\\"row-content stack\\\" role=\\\"presentation\\\" style=\\\"mso-table-lspace: 0pt; mso-table-rspace: 0pt; background-color: #ebebeb; color: #000000; width: 640px;\\\" width=\\\"640\\\"\u003e\\\t\\t\\t\\t\\t\\t\\t\u003ctbody\u003e\\\t\\t\\t\\t\\t\\t\\t\\t\u003ctr\u003e\\\t\\t\\t\\t\\t\\t\\t\\t\\t\u003ctd class=\\\"column column-1\\\" style=\\\"mso-table-lspace: 0pt; mso-table-rspace: 0pt; font-weight: 400; text-align: left; vertical-align: top; padding-top: 0px; padding-bottom: 0px; border-top: 0px; border-right: 0px; border-bottom: 0px; border-left: 0px;\\\" width=\\\"100%\\\"\u003e\\\t\\t\\t\\t\\t\\t\\t\\t\\t\u003ctable border=\\\"0\\\" cellpadding=\\\"0\\\" cellspacing=\\\"0\\\" class=\\\"text_block block-2\\\" role=\\\"presentation\\\" style=\\\"mso-table-lspace: 0pt; mso-table-rspace: 0pt; word-break: break-word;\\\" width=\\\"100%\\\"\u003e\\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\u003ctbody\u003e\\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\u003ctr\u003e\\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\u003ctd class=\\\"pad\\\" style=\\\"padding-left:25px;padding-right:25px;padding-top:50px;\\\"\u003e\\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\u003cdiv style=\\\"font-family: 'Times New Roman', Georgia, serif\\\"\u003e\\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\u003cdiv class=\\\"txtTinyMce-wrapper\\\" style=\\\"font-size: 12px; font-family: TimesNewRoman, 'Times New Roman', Times, Beskerville, Georgia, serif; mso-line-height-alt: 14.399999999999999px; color: #555555; line-height: 1.2;\\\"\u003e\\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\u003cp style=\\\"margin: 0; font-size: 14px; text-align: center;\\\"\u003e\u003cspan style=\\\"font-size:46px;\\\"\u003eHi, there\u003c/span\u003e\u003c/p\u003e\\\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\u003cp style=\\\"margin: 0; font-size: 14px; text-align: center;\\\"\u003e\u003cspan style=\\\"font-size:46px;\\\"\u003ethank you for your inquiry!\u003c/span\u003e\u003c/p\u003e\\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\u003c/div\u003e\\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\u003c/div\u003e\\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\u003c/td\u003e\\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\u003c/tr\u003e\\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\u003c/tbody\u003e\\\t\\t\\t\\t\\t\\t\\t\\t\\t\u003c/table\u003e\\\\t\\t\\t\\t\\t\\t\\t\\t\\t\u003ctable border=\\\"0\\\" cellpadding=\\\"0\\\" cellspacing=\\\"0\\\" class=\\\"text_block block-4\\\" role=\\\"presentation\\\" style=\\\"mso-table-lspace: 0pt; mso-table-rspace: 0pt; word-break: break-word;\\\" width=\\\"100%\\\"\u003e\\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\u003ctbody\u003e\\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\u003ctr\u003e\\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\u003ctd class=\\\"pad\\\" style=\\\"padding-left:60px;padding-right:60px;padding-top:30px;\\\"\u003e\\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\u003cdiv style=\\\"font-family: Arial, sans-serif\\\"\u003e\\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\u003cdiv class=\\\"txtTinyMce-wrapper\\\" style=\\\"font-family: Arial, 'Helvetica Neue', Helvetica, sans-serif; font-size: 12px; mso-line-height-alt: 18px; color: #555555; line-height: 1.5;\\\"\u003e\\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\u003cp style=\\\"margin: 0; text-align: center; mso-line-height-alt: 24px;\\\"\u003e\u003cspan style=\\\"font-size:16px;\\\"\u003eWe\u0026#39;ll get back to you as soon as possible.\u003c/span\u003e\u003c/p\u003e\\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\u003c/div\u003e\\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\u003c/div\u003e\\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\u003c/td\u003e\\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\u003c/tr\u003e\\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\u003c/tbody\u003e\\\t\\t\\t\\t\\t\\t\\t\\t\\t\u003c/table\u003e\\\\t\\t\\t\\t\\t\\t\\t\\t\\t\u003ctable border=\\\"0\\\" cellpadding=\\\"0\\\" cellspacing=\\\"0\\\" class=\\\"button_block block-6\\\" role=\\\"presentation\\\" style=\\\"mso-table-lspace: 0pt; mso-table-rspace: 0pt;\\\" width=\\\"100%\\\"\u003e\\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\u003ctbody\u003e\\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\u003ctr\u003e\\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\u003ctd class=\\\"pad\\\" style=\\\"padding-bottom:10px;padding-left:10px;padding-right:10px;padding-top:40px;text-align:cente #J-18808-Ljbffr