Make a form in wordpress
jQuery(document).ready(function ($) {
* *
* Get URL parameters using jQuery
* The
* The
var getUrlParameter = function getUrlParameter(sParam) {
var sPageURL = decodeURIComponent(window.location.search.substring(1)),
sURLVariables = sPageURL.split('&'),
The Parameter Name,
I is;
for (i = 0; i < sURLVariables.length; i++) {
sParameterName = sURLVariables[i].split('=');
if (sParameterName[0] === sParam) {
return sParameterName[1] === undefined ?true : sParameterName[1];
The
The
and the
* *
Conditional logic
* The functions below will show / hide fields based on answers to other fields
* Change() function make sure that the status appears corresponds to the original */
//cover from the beginning (for the usual application of the field)
$('#wpas_my_custom_field_id35_wrapper').hide();
$('#wpas_my_custom_field_id21_wrapper').hide();
$('#wpas_my_custom_field_id16_wrapper').hide();
$('#wpas_my_custom_field_id17_wrapper').hide();
$('#wpas_my_custom_field_id18_wrapper').hide();
$('#wpas_my_custom_field_id19_wrapper').hide();
$('select[name="wpas_department"]').on('change', function () {
// Show an additional field if the option is selected "Request for massage, etc, swimming"
var visible = ($(this).val() = '22') ?The true: false
$('#wpas_my_custom_field_id16_wrapper').toggle(visible);
$('#wpas_my_custom_field_id17_wrapper').toggle(visible);
$('#wpas_my_custom_field_id18_wrapper').toggle(visible);
$('#wpas_my_custom_field_id19_wrapper').toggle(visible);
Remove the mandatory attribute if the field is hidden.
$('#wpas_my_custom_field_id35'). removeAttr('required');
$('#wpas_my_custom_field_id21'). removeAttr('required');
and change();
$('select[name="wpas_department"]').on('change', function () {
// Show an additional field if the option "Normal application" is selected
var visible = ($(this).val() = '21') ?The true: false
$('#wpas_my_custom_field_id35_wrapper').toggle(visible);
$('#wpas_my_custom_field_id21_wrapper').toggle(visible);
Remove the mandatory attribute if the field is hidden.
$('#wpas_my_custom_field_id16'). removeAttr('required');
$('#wpas_my_custom_field_id17'). removeAttr('required');
$('#wpas_my_custom_field_id18'). removeAttr('required');
$('#wpas_my_custom_field_id19'). removeAttr('required');
console.log ('test');
and change();
$(document).ready(function() {
$("#wpas_my_custom_field_id2").mask("+7 (999) 99-99-999");
and the
and the
Client's review of cooperation with Didar Zhexembaev
Make a form in wordpressTo be honest, the artist has exceeded all the expectations. Clean code, understanding of processes, very responsive. I will work more.
Freelancer's review of cooperation with Konstantin Grad
Make a form in wordpressExcellent customer clear TZ I recommend to everyone🌟🌟🌟🌟🌟
Current freelance projects in the category Web Programming
Development of a system for automating job postings in Facebook groups for a recruitment agencyI am looking for a specialist to create and maintain a job posting system in Facebook groups.About the company:We are a recruitment agency in Israel and we specialize in personnel selection for enterprises, factories, warehouses, manufacturing companies, and other employers… Web Programming, Bot Development ∙ 10 hours 41 minutes back ∙ 24 proposals |
Layout designer for multi-page advertorial website (Health Media) — vibe coding, clean code
150 USD
We need to create a multi-page website in the style of health media, based on healthinsider.news. Not just a landing page — a full-fledged pseudo-editorial site (advertorial), designed to attract traffic from Meta Ads. IMPORTANT: the task is to be done through vibe coding… HTML & CSS, Web Programming ∙ 13 hours 24 minutes back ∙ 43 proposals |
A redesign of the website is needed, as well as the development of functionality for the personal account of wholesale buyers.Technical TaskProjectRedesign of the corporate website and development of a personal account for wholesale buyers, focus - children's clothing.Project GoalTo create a modern digital platform for B2B and B2C clients of the company with an emphasis on improving user experience,… Web Programming ∙ 16 hours 28 minutes back ∙ 38 proposals |
PIM system
225 USD
A PIM system needs to be created. The number of products is several million. There are several suppliers providing data in different formats: csv, xml, API. The data is limited, and often it is necessary to find product characteristics from other sources and supplement them. A… Databases & SQL, Web Programming ∙ 18 hours 13 minutes back ∙ 34 proposals |
We are looking for a specialist who will create an XML/YML file with products for the marketplaces Rozetka and Kasta.A file with products needs to be prepared: name, description, price, stock, photo, categories, specifications, sizes/colors. Important: the file must pass Rozetka validation and be uploaded correctly to Kasta. The product is available in our CRM Sitnix and on the website… Web Programming ∙ 21 hours 19 minutes back ∙ 27 proposals |