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
Improvement and support of the online store on WordPress
113 USD
There is an online store for auto parts on WordPress + WooCommerce + WPML + WP All Import. What is required is not the development of a new site, but an audit and completion of the existing project developed by another contractor. What has already been implemented: – catalog of… Content Management Systems, Web Programming ∙ 3 minutes back ∙ 8 proposals |
RentverseWe're building a platform that tokenizes physical properties into NFTs, enabling fractional ownership and unlocking liquidity in the real estate market. This means users can invest in premium properties without needing to buy the whole asset. Our next step is to integrate crypto… Cryptocurrency & Blockchain, Web Programming ∙ 16 minutes back ∙ 3 proposals |
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 ∙ 11 hours 49 minutes back ∙ 25 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 ∙ 14 hours 32 minutes back ∙ 46 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 ∙ 17 hours 36 minutes back ∙ 39 proposals |