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
1 view

Using Woocommerce, what would be the best way to create a search form similar to the one in the following website?

http://dinarholidays.com/tour-and-transfer-only-airport/ (under "Airport Transfers") The results would be products within a "transfers" category.
0
votes
1answer
10 views

Is there a function to search for a wildcard value when calling a shortcode?

I'm using a plugin to generate a form and rather than inserting the form on to the page using the content editor I'm adding it directly to my template. The problem is that on my local version the id ...
-3
votes
0answers
24 views

Job alert form in popup window without redirecting to other page

How to make job alert form for Alert me to jobs like this option to appear in same page popup rather than getting redirected to the different url
-1
votes
0answers
20 views

Insert 'time' input in Contact Form 7 [on hold]

There is a 'date' input type in Contact Form 7, but I also need a 'time' field in my form - something like type=time. I know it's not supported in all browsers, but would like it to show where it is ...
0
votes
0answers
16 views

Conditional forms with wordpress ajax

I'm creating a wordpress megamenu plugin, i've setup the walker and all frontend things But stuck in the backend i changed some of the walker class <?php /** * /!\ This is a copy of ...
-1
votes
1answer
22 views

Build a Boat Form Plugin [on hold]

I am putting together a quote for a custom wordpress website for a client that specializes in the Pontoon business. I am fairly familiar with Wordpress, HTML, CSS, and a very basic JS. The client ...
0
votes
1answer
20 views

Is Post-Form Resubmission somehow prevented in Wordpress 4.2.2?

I'm developing a Wordpress-Plugin where I add some forms to the wordpress admin. Usually when I'm testing the processing of form data, I fill in the form once and then just reload the page to send the ...
0
votes
1answer
9 views

Show the submitted values in the form when validation fails

Currently I do: $options = get_option( 'jons-plugin-options' ); echo "<input id='jons-plugin-options[field-two]' name='jons-plugin-options[field-two]' size='4' type='text' value='" . ...
0
votes
1answer
44 views

Custom Wordpress+PHP+MYSQL+AJAX form, submit event not captured by Javascript, but does POST data to the DB

I'm building a little form to let users update their contact information outside of the vanilla Wordpress user management systems. I plan to use a simple CRUD setup and throw in some sanitation. I've ...
-1
votes
1answer
31 views

Contact Form 7 checkbox to add a new class to a div

I am using the plugin “Contact Form 7” for WordPress and I’d like to customise the styling of a form. So at some point the form contains a couple of checkboxes and the code generated by the plugin is: ...
-2
votes
0answers
13 views

Executing a query on a database with form information

I tried searching for the answer but I could not find it. Is there a simple way to run a query on a database on my server using the information found in a form? The user will enter their information, ...
0
votes
1answer
16 views

Wordpress tabindex Order

I created a form (through Contact Form 7, although I don't think that makes a difference here), and I believe Wordpress is causing some tabindex issues. I set field 1 to tabindex of 1, field 2 to ...
-1
votes
1answer
10 views

Create register form plus send post

I want to make custom register page with some additional fields which will be shown later on users sent posts. All I need is : Making manual register page Registration Items That I Need Name ...
0
votes
0answers
8 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
16 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
2answers
21 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
20 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
52 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
30 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
17 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
102 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
31 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
10 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
22 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
34 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
33 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
26 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
28 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
21 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
16 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
23 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
43 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
121 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
122 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
128 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
20 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
35 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
107 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
59 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
22 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
133 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
59 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
58 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
58 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
42 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
38 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
38 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 ...