Skip to main content

All Questions

Tagged with
1 vote
0 answers
88 views

Rearranging fields in my MemberPress form also duplicates them

I want to modify my MemberPress registration form field order. I want email to be at the top rather than down below the username field where it sits by default. I'm using this code in my child theme's ...
Arista Witty's user avatar
1 vote
1 answer
50 views

jQuery submit button reloads the page even with preventDefault() in WordPress

I have some jQuery that I plug some numbers in via some text fields then it should print out the results, this works fine on my local machine. However, when I add to my WordPress environment, the ...
Beep's user avatar
  • 2,823
2 votes
2 answers
62 views

mask for entering numbers in the form

There is a contact form on wordpress, This jQuery makes the send button unavailable until the data is filled in, how to make a mask, the minimum number of digits when filling in, I use 2 fields, name ...
Никита Кабанов's user avatar
0 votes
0 answers
45 views

jQuery added form row not submited

I am creating custom Worpdress plugin. I have form table. I have button that adds new row to the form and calls ajax which adds the row to the database. Problem is, if I add new row, change some ...
Eduard's user avatar
  • 3
1 vote
1 answer
318 views

Form validation when select option from another select

I have a form with 2 select. When a user chooses option from a Select B, it display a specific value from select A using this script : var $ = jQuery; $(document).ready(function () { $('#...
Viko's user avatar
  • 63
1 vote
1 answer
132 views

How to create an internal search engine only selecting the ingredients of the products?

I am looking for a way to create an internal search engine on the web to find the products in the catalog by their ingredients and not by categories, SKU, tags, etc... I was looking for the option to ...
Estudiante's user avatar
0 votes
2 answers
146 views

Show alert if weekend is clicked in Gravity Forms datepicker (WordPress)

I am using Gravity Forms with the date picker, and I need to show an alert if someone clicks a weekend. Here is my code: $( document ).ready(function() { $("#input_2_3").datepicker({ // ...
User_FTW's user avatar
  • 524
0 votes
3 answers
1k views

How to submit AJAX Forms only specific fields

I have a form that allows the user to change their account info. I added ajax requests to save changes without page refresh. My problem is that I don't want to submit all the fields on the form ...
Snorlax's user avatar
  • 293
1 vote
2 answers
1k views

Prevent form from submitting does not work in wordpress with jquery

I have a wordpress site (v.6.0.2) and I also have a contact form built with the WPForms plugin. What I am trying to do is to prevent the form from submitting when the name field does not contain two ...
Nick's user avatar
  • 956
0 votes
1 answer
444 views

How to submit ajax form in wordpress (getting error 400)

I am building my personal website based on wordpress / woocomerce. I am currently working on a form that allows users to change their account information such as name, surname and much more. ...
Snorlax's user avatar
  • 293
0 votes
0 answers
96 views

Wordpress/Javascript form not working on custom post type single posts

We are facing this weird behavior on our wordpress website. Below is a custom post type (hotel) post, as you can see everything loads perfectly and even the enquiry form is working fine with the input ...
0xm1cro's user avatar
  • 35
1 vote
1 answer
3k views

Prevent Elementor form submission with jQuery

We have a simple Elementor form with one field for an email address and a submit button, for people to sign up to a newsletter. I'm trying to add some custom validation to only allow submissions from ....
AJT's user avatar
  • 266
0 votes
1 answer
58 views

Javascript or jquery change fields value by name

I use these codes to change the value of a field. Only the first two lines run, I tried the rest of the code but it did not work and sometimes the message "Uncaught ReferenceError: $ is not ...
Manouchehr Tizkhan's user avatar
2 votes
3 answers
2k views

How can I check if 2 Contact Form 7 checkbox inputs are checked or not, with the use of Jquery?

To begin with this is my HTML: <p> <span class="wpcf7-form-control-wrap checkbox-770"> <span class="wpcf7-form-control wpcf7-checkbox" id="Personal&...
Jameu Lukasli1's user avatar
0 votes
1 answer
244 views

Wordpress piotnetforms plugin how to run Jquery code after form submission

I have a form on my Wordpress page created by piotnetforms and I would like to run a Jquery code, after the form submit. this is the link for the form: the form Link This is the code I have : jQuery(&...
amine's user avatar
  • 33

15 30 50 per page
1
2 3 4 5
17