Header Contents Here
Contents will be displayed here...
Page Contents Here
--Select city--
--Select state--
--Select offer_type--
Nation
Local
$(function(){setTimeout(function (){ let searchWidget = $('[data-component-dynamicsearch]'); console.log("searchWidget", searchWidget.find('input[name="keyword"]')); searchWidget.each(function (){ selfSearchWidget = $(this); let keyword = ''; keyword = selfSearchWidget.find('input[name="keyword"]').val(); let selectedObj = selfSearchWidget.attr("data-selected-obj"); let success_redirect = selfSearchWidget.find('input[name=success_redirect]').val(); let all_filters = ''; let filtersQS = ''; if(!success_redirect){ success_redirect = window.location.href; } if (selfSearchWidget.find('.search-filters').length > 0) { all_filters = selfSearchWidget.find('.search-filters').find('select'); all_filters.off().on('change', function(){ let QS = $(this).attr('name')+':'+$(this).val(); $(this).attr('data-qs', QS); filtersQS = ''; let filtersArr = []; all_filters.each(function(){ if($(this).attr('data-qs')){ filtersArr.push($(this).attr('data-qs')); } }); filtersQS = filtersArr.join(';'); let keyword = ''; keyword = selfSearchWidget.find('[name="keyword"]').val(); let prepSrc = ''; if (success_redirect && selectedObj) { prepSrc = success_redirect+'?s='+keyword+'&obj='+selectedObj + '&filters='+filtersQS; selfSearchWidget.find('.searchBtn').attr('href', prepSrc); } }); } if (success_redirect && selectedObj) { prepSrc = success_redirect+'?s='+keyword+'&obj='+selectedObj + '&filters='+filtersQS; selfSearchWidget.find('.searchBtn').attr('href', prepSrc); } selfSearchWidget.find('[name="keyword"]').on('change textInput input', function(){ let keyword = ''; keyword = $(this).val(); let prepSrc = ''; if (success_redirect && selectedObj) { prepSrc = success_redirect+'?s='+keyword+'&obj='+selectedObj + '&filters='+filtersQS; selfSearchWidget.find('.searchBtn').attr('href', prepSrc); } }); selfSearchWidget.find('[name="keyword"]').on('keyup', function(e){ if (e.key === 'Enter' || e.keyCode === 13) { let keyword = ''; keyword = $(this).val(); let prepSrc = ''; if (success_redirect && selectedObj) { prepSrc = success_redirect+'?s='+keyword+'&obj='+selectedObj + '&filters='+filtersQS; window.location.href = prepSrc; } } }); }); }, 2000);});
First Name
Last Name
Email
Phone:
Massage:
Submit
{"components":[{"label":"HTML","type":"htmlelement","input":false,"key":"html5","content":"<div class=\"form-group\"><label>First Name</label><input class=\"form-control\" placeholder=\"First Name\" type=\"text\" name=\"first_name\" data-validation = \"text\" required/></div>","tableView":true,"attrs":[],"placeholder":"","prefix":"","customClass":"","suffix":"","multiple":false,"defaultValue":null,"protected":false,"unique":false,"persistent":false,"hidden":false,"clearOnHide":true,"dataGridLabel":false,"labelPosition":"top","labelWidth":30,"labelMargin":3,"description":"","errorLabel":"","tooltip":"","hideLabel":false,"tabindex":"","disabled":false,"autofocus":false,"dbIndex":false,"customDefaultValue":"","calculateValue":"","allowCalculateOverride":false,"widget":null,"refreshOn":"","clearOnRefresh":false,"validateOn":"change","validate":{"required":false,"custom":"","customPrivate":false},"conditional":{"show":null,"when":null,"eq":""},"tag":"p","id":"e9b2l4"},{"label":"HTML","type":"htmlelement","input":false,"key":"html6","content":"<div class=\"form-group\"><label>Last Name</label><input class=\"form-control\" placeholder=\"Last Name\" type=\"text\" name=\"last_name\" data-validation = \"text\" required/></div>","tableView":true,"attrs":[],"placeholder":"","prefix":"","customClass":"","suffix":"","multiple":false,"defaultValue":null,"protected":false,"unique":false,"persistent":false,"hidden":false,"clearOnHide":true,"dataGridLabel":false,"labelPosition":"top","labelWidth":30,"labelMargin":3,"description":"","errorLabel":"","tooltip":"","hideLabel":false,"tabindex":"","disabled":false,"autofocus":false,"dbIndex":false,"customDefaultValue":"","calculateValue":"","allowCalculateOverride":false,"widget":null,"refreshOn":"","clearOnRefresh":false,"validateOn":"change","validate":{"required":false,"custom":"","customPrivate":false},"conditional":{"show":null,"when":null,"eq":""},"tag":"p","id":"ee09d1e"},{"label":"HTML","type":"htmlelement","input":false,"key":"html7","content":"<div class=\"form-group\"><label>Email</label><input class=\"form-control\" placeholder=\"Email\" type=\"email\" name=\"email\" data-validation = \"email\" required/></div>","tableView":true,"attrs":[],"placeholder":"","prefix":"","customClass":"","suffix":"","multiple":false,"defaultValue":null,"protected":false,"unique":false,"persistent":false,"hidden":false,"clearOnHide":true,"dataGridLabel":false,"labelPosition":"top","labelWidth":30,"labelMargin":3,"description":"","errorLabel":"","tooltip":"","hideLabel":false,"tabindex":"","disabled":false,"autofocus":false,"dbIndex":false,"customDefaultValue":"","calculateValue":"","allowCalculateOverride":false,"widget":null,"refreshOn":"","clearOnRefresh":false,"validateOn":"change","validate":{"required":false,"custom":"","customPrivate":false},"conditional":{"show":null,"when":null,"eq":""},"tag":"p","id":"etbe9nj"},{"label":"HTML","type":"htmlelement","input":false,"key":"html15","content":"<div class=\"form-group\"><label>Phone:</label><input class=\"form-control\" placeholder=\"Phone:\" type=\"text\" name=\"phone\" data-validation = \"notrequired\" undefined/></div>","tableView":true,"attrs":[],"placeholder":"","prefix":"","customClass":"","suffix":"","multiple":false,"defaultValue":null,"protected":false,"unique":false,"persistent":false,"hidden":false,"clearOnHide":true,"dataGridLabel":false,"labelPosition":"top","labelWidth":30,"labelMargin":3,"description":"","errorLabel":"","tooltip":"","hideLabel":false,"tabindex":"","disabled":false,"autofocus":false,"dbIndex":false,"customDefaultValue":"","calculateValue":"","allowCalculateOverride":false,"widget":null,"refreshOn":"","clearOnRefresh":false,"validateOn":"change","validate":{"required":false,"custom":"","customPrivate":false},"conditional":{"show":null,"when":null,"eq":""},"tag":"p","id":"epguv6"},{"label":"HTML","type":"htmlelement","input":false,"key":"html14","content":"<div class=\"form-group\"><label>Massage:</label><input class=\"form-control\" placeholder=\"Massage:\" type=\"text\" name=\"massage\" data-validation = \"notrequired\" undefined/></div>","tableView":true,"attrs":[],"placeholder":"","prefix":"","customClass":"","suffix":"","multiple":false,"defaultValue":null,"protected":false,"unique":false,"persistent":false,"hidden":false,"clearOnHide":true,"dataGridLabel":false,"labelPosition":"top","labelWidth":30,"labelMargin":3,"description":"","errorLabel":"","tooltip":"","hideLabel":false,"tabindex":"","disabled":false,"autofocus":false,"dbIndex":false,"customDefaultValue":"","calculateValue":"","allowCalculateOverride":false,"widget":null,"refreshOn":"","clearOnRefresh":false,"validateOn":"change","validate":{"required":false,"custom":"","customPrivate":false},"conditional":{"show":null,"when":null,"eq":""},"tag":"p","id":"eissev"},{"label":"Submit","shortcut":"","customClass":"btn btn-primary","mask":false,"tableView":true,"alwaysEnabled":false,"type":"button","input":true,"key":"submit","placeholder":"","prefix":"","suffix":"","multiple":false,"defaultValue":null,"protected":false,"unique":false,"persistent":false,"hidden":false,"clearOnHide":true,"dataGridLabel":true,"labelPosition":"top","labelWidth":30,"labelMargin":3,"description":"","errorLabel":"","tooltip":"","hideLabel":false,"tabindex":"","disabled":false,"autofocus":false,"dbIndex":false,"customDefaultValue":"","calculateValue":"","allowCalculateOverride":false,"widget":null,"refreshOn":"","clearOnRefresh":false,"validateOn":"change","validate":{"required":false,"custom":"","customPrivate":false},"conditional":{"show":null,"when":null,"eq":""},"size":"md","leftIcon":"","rightIcon":"","block":false,"action":"submit","disableOnInvalid":false,"theme":"default","id":"eez834"}]}
$(function(){setTimeout(function (){makeUSStatesCitiesDropdown('[data-component-dynamicsearch]');},2000);});
Edit