Contact Form 7 plugin refreshing page on submit [closed]

Closed. This question is off-topic. It is not currently accepting answers. Your question should be specific to WordPress. Generic PHP/JS/HTML/CSS questions might be better asked at Stack Overflow or another appropriate site of the Stack Exchange network. Third party plugins and themes are off topic. Closed 7 years ago. Improve this question For those with … Read more

jQuery Plugin to use WordPress functions in AJAX request

I’m using Chained Selects jQuery Plugin to create multiple chained selection fields. I’m using the remote version of the plugin to build the related options by means of AJAX request from a separate PHP file. So basically it works by calling the following code: $(“#field2”).remoteChained(“#field1”, “/data/json.php”); What I would like to do I would like … Read more

How to disable/enable select field using jQuery?

I would like to create an option in a form like [] I would like to order a [selectbox with pizza] pizza where selectbox is enabled only when checkbox is checked and disabled when not checked. I come up with this code: <form> <input type=”checkbox” id=”pizza” name=”pizza” value=”yes”> <label for=”pizza”> I would like to order … Read more

Plugin options page – form with two different submit buttons

In my plugin options page I have two buttons, netted way down looks like this – a single form, with two submit buttons. <form action=”options.php” method=”post”> <input id=”submit_button” name=”submit” type=”submit” class=”button-primary” value=”Save Stuff” /> <input id=”remove_button” name=”remove” type=”submit” class=”button-secondary” value=”Remove Stuff” /> </form> PHP: if( isset($_POST[‘remove’]) ) …do something….; if( isset($_POST[‘submit’]) ) …do something else…; … Read more

Mail Form in a modal box without plugin

I’ve builded a WordPress theme based on Twitter Bootstrap 3.x. I’ve a mail form in modal box. When I click submit button, it returns 404 error page. I also checked for reserved names in $_POST and $_REQUEST variables. What can be the reason? <?php get_header(); ?> <script src=”https://www.google.com/recaptcha/api.js”></script> <?php $hasError=””; $succMsg = ”; if(!empty($_SERVER[‘HTTP_X_FORWARDED_FOR’])) { … Read more

Gravity list field override and adding javascript [closed]

Closed. This question is off-topic. It is not currently accepting answers. Your question should be specific to WordPress. Generic PHP/JS/SQL/HTML/CSS questions might be better asked at Stack Overflow or another appropriate Stack Exchange network site. Third party plugins and themes are off topic, they are better asked about at their developers’ support routes. Closed 5 … Read more