HTML forms are used to pass data to a server. An HTML form can contain input elements like text fields, checkboxes, radio-buttons, submit buttons and more. A form can also contain select lists, textarea, fieldset, legend, and label elements.

learn more… | top users | synonyms (1)

0
votes
0answers
7 views

URL Rewrite Rules & Get Method

I have three dropdowns on my blog which allows you to filter by custom taxonomies. I'm using the following function to create the dropdowns: function get_terms_dropdown_risk_category($taxonomies, ...
0
votes
0answers
14 views

advanced search forms with 3 input text

I was working for an advanced form with 3 input text in purpose to show a list of hotels. The problem is i tried an infinity tricks and functions but without any results, the only result i got is ...
0
votes
0answers
20 views

Update a string from the front-end

I want to have a form with a submit button, that every time the user clicks on submit, it updates a string (named order_string) and sends it to the back-end form to process. This is a part of my code ...
0
votes
0answers
10 views

Contact form 7: Need to receive email from name and email user sender [on hold]

I use Contact form 7 plugin, and i setup new form and set send from like: [a-name] - [a-email] But when send from forms. I received from my email and site name not from [a-name] - [a-email]. ...
0
votes
2answers
13 views

How to add the post ID (or any other post data) to a Contact Form 7 mail?

I've downloaded Contact Form 7 to add contact forms adding a simple snippet after every post, and I've added it in functions.php like this : //if post type I add a form function is_post_type($type) ...
0
votes
1answer
18 views

How to get name and email value from a custom form and add it to campaign monitor subscriber list?

I have a custom form in my site that has name and email address field. How can I get the value of this 2 fields to be added on campaign monitor subscriber list when the user successfully submits the ...
0
votes
2answers
41 views

Custom Form with Ajax

I am having problems with my form. When the submit button is clicked a 404 error is spit out. If anyone has any suggestions I'd be grateful. Ajax handling of form. Going into theme's js. <script ...
0
votes
1answer
26 views

Stop my loop to register data twice

I am facing a problem here. The code below is running on my site and when i fill in the form and check my database the data has been registered twice. Please the the following php code from my ...
0
votes
1answer
11 views

404 on form submit [duplicate]

I have created a template for form validation and when i run it error says EPIC 404...article not found....I dont know anything about Wordpress so anyone can sort it out how to validate my custom form ...
0
votes
1answer
65 views

Taxonomy search/filter with multiple taxonomies and multiple taxonomy terms

I am trying to build an advanced search form that allows users to select from two taxonomy based drop down menus. Each taxonomy drop down has taxonomy terms from which the user can select multiple ...
0
votes
1answer
29 views

Pay before posting (frontend insert post)

I have a form on the frontend which I want users to fill out, when they have I want to save the data and redirect them to pay before submitting the post. How do I save the data before they pay? I ...
0
votes
1answer
9 views

Include plugin form in the home page

I created a Wordpress plugin, which allows the admin to add information through a form, and it is saved in the database. I'm trying to link each photo that I upload in the Media library with a form. ...
0
votes
0answers
20 views

How to display user_meta from form?

I have a form on my website where a user can choose their location from a dropdown list (eg, France, Italy, Germany, etc) when they are writing a post. This is the code used for the LOCATION field: ...
0
votes
0answers
30 views

Attempting to display User Meta details from form

I have a form on my website that users can fill in when creating posts. One of the fields asks for their location (as below): <?php $locs = get_user_meta($uid, 'user_location', ...
0
votes
1answer
31 views

Trying to display user meta by “name” - not by “ID”

I have a form on my website where users can submit their own posts and one of the fields has a dropdown containing various countries so a user can enter their location. I would like this location to ...
0
votes
0answers
21 views

Submit form to another template (ugly url)

I've created a submit form with some filters that makes a query request: <form action="<?php echo get_template_directory_uri();?>/list-items.php"> my form here... </form> Created ...
0
votes
0answers
19 views

Calling the correct permalink via form action

Okay, I have a bit of an issue with my sites search widget If you go to this category page (for example): http://socialvenues.com.au/melbourne/function-rooms then select a region and then city (for ...
0
votes
0answers
14 views

Direct Form access

I am using calculated form plugin to auto calculate the value. To fill a form user has to first create a new post/page and then use shortcode for the form. I want a direct link for form, where user ...
0
votes
0answers
18 views

How to make WordPress forms secure (HTTPS)

I've been trying to get my site to run over HTTPS for ages. At the moment (in Chrome) I have the padlock but have the yellow triangle over it because some content is insecure. I check out the console ...
0
votes
1answer
14 views

Adding custom field in menu options [duplicate]

Please take a look at this image Is there's anyway I can add another field called "Font Awesome Icon" for the user to write the icon class and the output should be like this:
0
votes
0answers
19 views

admin_post_nopriv did not processing submited form

I am creating WordPress widget to generate a form. When user submit the form so it will be processed to send an email to me. The code works well when the submiter is a logged in user. It sent an ...
0
votes
0answers
31 views

Wordpress action form url doesn't work

I have a page-contact.php (i have my custom form) <form id="contact-form" name="contact-form" method="post" action=""> <input type="text" name="name" ...
0
votes
0answers
109 views

Sending post request to admin-ajax.php but $_POST['data']['events'] is NULL

I am trying to debug a plugin that I purchased but I have come up short and could use some help. Whenever I attempt to save settings that are stored in the "events" object (see below) the plugin ...
0
votes
1answer
91 views

Plugin Form Submitting to admin-ajax.php instead of admin-post.php

I am building a plugin which loads a form into a table cell when clicked. Here is the AJAX: public static function cp_libhours_ajax(){ ?> <script> ...
1
vote
1answer
106 views

How to use the built in tooltip for form validation error messages in WP admin plugin?

I'm building a wordpress plugin that includes serveral menus in the wordpress backend (admin). I'd like to use as many existing parts as possible and make my menus look like the standard wordpress ...
1
vote
1answer
18 views

Using Contact Forms to Send Private Information [closed]

I am working on a site for a Doctors Office who wants to use a contact form to send information about their patients to other offices....I was going to use contact form 7 but I'm wondering if there is ...
0
votes
0answers
32 views

wp_mail links are dead

I am trying to make a pseudo-newsletter type plugin which will email that authors of certain posts. The email sends the contents of a textarea with some extra text added to the end of it. I've sent ...
0
votes
0answers
90 views

Changing a field value on submit using a PHP variable

Preface: Ok, I know people are going to tell me "use JavaScript" To you people I'll say "No! I don't want to!" but I have a valid reason: Problem overview: I have a plugin which ...
0
votes
0answers
47 views

Collecting Sensitive Data in Wordpress?

I am in need of creating an online application form that collected a users SSN number and am therefore concerned with security. Is this possible to do on WP with existing plugins? My research thus ...
0
votes
1answer
19 views

Custom form not showing in correct place on page

I have a page like this: <h2 class="subHeader contentSubHeader">Are you already a member? Don´t miss your next career opportunity!</h2> <p class="subHeader ...
0
votes
1answer
42 views

How can i see/log all requests coming from a registration form (not from the UI)?

I am talking about the REGISTER form PROBLEM: I have some requests that are coming from somewhere else - not from the user interface. I know this, because these requests don't have all the mandatory ...
0
votes
0answers
123 views

Ajax Form data is not posted back to the get_results()

I am trying to run a wordpress wpdb->get_results select query and I want to get the search criteria from a textbox. I want to do it form and with ajax without refreshing the page. No matter what I do ...
0
votes
1answer
49 views

admin_post in object oriented plugin

i try to write my plugin object oriented. Now, I have a problem. The admin_post action don't run. I'm posting the code, where I localize the problem. class install { $admin = new ...
0
votes
1answer
50 views

Styling admin page rows in order of importance (checkboxes)

I am altering a plugin's admin area and adding a checkbox for a "Coming Soon" option. As of now, when the user checks the "Coming Soon" checkbox, the entire row will turn green, but there is also the ...
1
vote
0answers
49 views

Styling my own password protected page, how to deal with wrong password?

Per these instructions I've cooked up a custom password protected page for some of the pages on my site: <?php if ( post_password_required() ) { add_filter( 'the_password_form', ...
0
votes
1answer
38 views

add_meta_box creating default form field types

I'm using add_meta_box as per the Codex entry. My question is about the 'callback' to print the form fields on the admin page. In the Codex, the form fields are echoed as written out HTML elements, ...
0
votes
0answers
36 views

using a function in functions.php to process a form generated in functions.php

so i have a site where users can rate items, it saves their ratings to a mysql db and also tallies the average for the item, saving that as well. as it is a generic function and there are hundred of ...
0
votes
1answer
35 views

Is it possible to pass variables to WordPress externally?

I would like to know if it is possible to pass json variables from a form which is located outside WordPress? This is the situation: The user fills a form located on x server. Then his answers are ...
0
votes
0answers
100 views

Unbind Form from Ajax Submit

I am working on a wordpress site that has the plugin contact7 installed. I have created my own form, and because of contact7, when I submit it, it is processed via ajax. How do I undo this so that it ...
0
votes
0answers
25 views

Delete Users using a Front End Form

I viewed this question and would like to see how it was solved. I've been looking all over for help with this. I'm not sure if this link needs to be used within a <form> element. This is the ...
0
votes
1answer
75 views

Form within thickbox

When I try and insert a form into a thickbox for use in the admin area, it seems to be removed completely. What do I need to change? <?php // Enqueue thickbox js and css add_thickbox(); ...
0
votes
0answers
120 views

$_POST form request with admin-post

I tried to use a form with the following markup using the action admin-post.php <form method='post' action='admin-post.php'> I'm using the action hook suggested by Wordpress to proceed the ...
1
vote
1answer
64 views

How to make front end form only accept certain values

I have a front end form, I need that form to attach a taxonomy term to the post, however, I have offered users a dropdown of options, 'a dropdown of custom taxonomy terms.' To create this drop down i ...
1
vote
1answer
38 views

Can you have more than one nonce on a page?

I have a site with a page where there's one form in the sidebar, and one in the main body of the page. The sidebar comes first in the HTML. Both forms have their own nonces (generated with ...
0
votes
0answers
11 views

How map form enteries from DB to a page

I have a form that specific user role will fill out (using a form plugin). I need to display certain parts of that form in a page. Is there a plugin that can do this? As you can tell, I'm not a ...
0
votes
2answers
365 views

call php file from form and use wp functions

I'm building a stripe plugin and I'm stuck on this minor major issue. Problem: the form calls my process.php page to grab the form input variables, handle the Stripe token, and finally call out to ...
0
votes
1answer
110 views

Pass important values server-side when processing form

I am working on a plugin that has the following within a <form> tag: <input type="hidden" name="postid" value="<?php echo $postid; ?>"> The problem with this is that users can ...
0
votes
0answers
77 views

jQuery color picker function on change

So I'm writing a Wordpress plugin that generates a live preview upon changes to a php form using ajax. Everything is working great, but one little issue with jQuery is not quite right. Normally, when ...
0
votes
1answer
43 views

How to know what submit button the user clicked?

I'm working on my settings page, I want to add two different buttons to the form and do something different depending which the user clicked. The documentation states I can create two buttons like ...
0
votes
0answers
90 views

how to capture the value of the selected parent category

I am very new to WordPress as well as coding and I am stuck with one of the form field, which has a select box for listing all categories and sub-categories (taxonomies) in it. But I would like a ...