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
1answer
84 views

Capturing POST data

I am trying to modify the Member Status Plugin so that the status are based on the data saved on a custom database table. Basically I wanted to change the administration menu with a form that can ...
0
votes
1answer
240 views

Multi-part form and wp_redirect()

For starters, it's a plugin (with a shortcode) or at least I would prefer it to be. I've got two issues both related to wp_direct. If form 1 validates I want to redirect to form 2, and continue the ...
1
vote
4answers
3k views

Pass data from one page to anothe file/page in wordpress

I have my custome theme in wordpress.This is the path of my custome theme. C:\wamp\www\wordpress2\wp-content\themes\sscy1002\sscy1002 I have created a Page in wordpress which contains some form ...
0
votes
0answers
39 views

Private feedback on users

I am trying to find a way for users to write private/anonymous feedback on each other (similar to ebay or amazon but private, and so that users can view feedback on them and feedback they have sent). ...
3
votes
2answers
2k views

Custom Registration Template/Page

Is there a way to display the WordPress register form on a custom page the way one would use <?php get_search_form( $echo ); ?> for a search form? If not how would one go about creating such a ...
1
vote
1answer
673 views

Check spam in custom form - akismet

I have a plugin that has input form, I have decided to check submitted data with akismet. I do have API key, WP comments are filtered correctly... here is, what I found: ...
0
votes
2answers
456 views

Headers already sent on a frontend post form using wp_redirect before get_header

I've gone through the various issues with headers already sent, checking for white space and making sure that the get_header line appears after the wp_redirect but I'm stuck. The code is: <?php ...
0
votes
1answer
872 views

Display multi-select box choices in a bullet list [closed]

I have a form that includes a multi-select box. <form method="POST" action=""> <select name="countries[]" size="5" multiple="true"> <option ...
0
votes
2answers
430 views

Is there a way to embed a Google Docs form in a page without using plugins?

I'm currently running a Wordpress blog. It's part of a school blog, so unfortunately, I don't have the permissions to install any plugins. I've got a "contact form" set up as a Google Docs form. Right ...
0
votes
2answers
97 views

Create a new page for each form selection

I have a got custom page template which displays a drop down box that has list of countries.A user selects the box and clicks sumbit.Page then then displays the relevant details for that country .IT ...
0
votes
3answers
477 views

How to put a form with php code into a variable or shortcode?

I'm trying to put my frontend form into a variable or a shortcode so I can wrap another shortcode around it (specifically Bainternet Post Creation Limits). My form has PHP code in it so I'm not ...
1
vote
1answer
876 views

Duplicating/Cloning Multiple Form Fields

Not sure what to call this one, but I am working on a form that asks for product information (name, description, color, features, etc.) but what I'd like to do is give users the option to add ...
0
votes
1answer
463 views

Using shortcodes to parse POST request (containing the data from a front-end form)

I would like to allow my subscribers to post classifieds, which are nothing but a custom post type with a few metas for the price, etc. (The existing classifieds plugins I have tried are way too ...
1
vote
1answer
11k views

Insert data in database using form

I am writing a simple plugin that create a table with name "newsletter" in database and provide a shortcode to put a registration form in pages. the form contain "name" and "email". i have problem ...
0
votes
3answers
742 views

Insert Extra fields added in the front end registration form to DB

I have added some extra fields like first_name,middle name,last_name etc into the custom registration form. I want to add those details int the DB also. Now only username,email,Display name and ...
0
votes
1answer
41 views

How to know if a tag has been added within a taxonomy?

I have a custom form field within a taxonomy. However when a new term/tag has been added I need to clear some values through javascript. How can I do this? I found the following code snippet in ...
2
votes
2answers
698 views

Built-in data validation function for URLs

I have a front-end form where people can submit their website URL. I'm actually verifying URLs in Wordpress with a PHP function and I would like to know if there is a built-in function that allows me ...
1
vote
1answer
153 views

Adding a new user from the front end

I have a front end form that creates a new post from users that are not required to login. However, I need to create a new user based on the information passed in the form. As it is right now I can ...
0
votes
1answer
331 views

Search a title word through query_posts (not the exact match)

We're working on a database with personal data from different sportsmen such as name, height, weight, etc. We've managed to build a detailed filter through query_posts. Every filter field is working ...
0
votes
1answer
501 views

Contact Form 7 Plugin emails not being received by some accounts

I am using contact form 7 to send an email form. I receive them, but my clients' email addresses - one at the host and one at gmail, never do. They claim that none of the messages end up in their ...
0
votes
3answers
197 views

Trouble using wordpress functions in a pop-up modal form

I'm working on a plugin and I've added a button to the tinymce editor that pops up a modal form, with options for the shortcode, and then inserts the shortcode with the selected options in to the ...
1
vote
1answer
43 views

wordpress not displaying my form

When I create a page with the content as [contact-form-7 id="199" title="Untitled"] , it displays the form, but when I use it as <div class="first"><?php $recentProjects = ...
0
votes
3answers
285 views

How to stop direct HTTP POST to a PHP script?

I have a form on my site, created using Contact Form 7 with Captcha. Contents of the form when POSTed are being sent to a PHP script, the "action" attribute of the form is set to ...
0
votes
1answer
611 views

Contact form with Jquery and PHP don't work

<?php/* Template Name: Contact */?> <?php get_header(); ?> <?php wp_enqueue_script( 'jquery.validate.min', get_bloginfo('template_directory') . ...
1
vote
1answer
114 views

Plugin to create forms using HTML [closed]

Until recently I've been using Custom Contact Forms to create some more advanced forms. The sole reason I've chosen this plugin was the ability to create my own layouts and basically just code clean ...
1
vote
0answers
589 views

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 ...
0
votes
1answer
3k views

How to open a lightbox form from a navigation menu item

I want to add a custom menu item to the main navigation menu, On clicking this item I want to open a lightbox form. I have the form-shortcode ready to be placed but on a page but I don't know how to ...
0
votes
1answer
2k views

Form action URL unrecognized

I have a contact form previously used in static websites that I’d like to adapt to use in WordPress. I realize there are numerous plug-ins such as Contact Form 7, but would rather use this since it’s ...
0
votes
3answers
9k views

Form action redirect to the same page

I'm making my own theme. In my theme I have a page that display custom post using a custom query. I added a form to this page. The form contain 2 comboboxes that contain values of meta data of my ...
0
votes
1answer
149 views

Making an input field required from WP's perspective

Submitting a post comment without message leads to a white page with a clean WP error message "ERROR: please type a comment." Is it possible to achieve the same thing for input fields from a custom ...
1
vote
0answers
499 views

Single Multisite Signup Page [closed]

I'm trying to turn the WordPress multsite signup page into a one step process instead of two. I'm wanting people to choose their username, email, password and a confirmation of their password, along ...
0
votes
2answers
5k views

Add captcha validation to my custom form for Frontend posting

i have implemented the frontend form, which enables UNREGISTERED users to post on my site. Everything in working perfectly, the only problem I have is with the implementation of the captcha. All of ...
1
vote
1answer
283 views

Raw output (preventing wpautop)

Using WordPress 3.5. I'm trying to put a <form> into a Page of a WP-based site. Unfortunately, WP is "helpfully" screwing up the formatting of the form by inserting <br> and <p> ...
0
votes
1answer
3k views

Contact Form 7 “non-selectable” options in a drop down [closed]

I'm using CF7 and I need to have a dropdown with a non selectable category "header" such as US States AL AK AR...etc. Countries Afganistan Albania etc.... With "US States" and "Countries" not ...
1
vote
2answers
146 views

Is it possible to create a form post wordpress custom navigation link?

I work with a church that has a donate button on their site. The button uses a form post to connect with their simple checkout item and they want a button on the navigation to link to the donation ...
0
votes
1answer
961 views

Email from my theme's contact form doesn't get the reply-to address right

I'm using a theme that has a built in contact form, which has some options (like where the form is sent) set through the OptionTree plugin. What's happening is, the email gets sent, but the reply-to ...
0
votes
1answer
140 views

dynamic enquiry form [closed]

I'm thinking to use Contact Form 7 to create a simple enquiry form like : name, phone, email. This enquiry form will be displayed on every portfolio page. What I want to do is to retrieve also ...
1
vote
2answers
5k views

Inserting Gravity Form checkbox values into Advanced Custom Fields [closed]

I'm trying to feed checkbox values from a Gravity Forms form (which creates a new post) into an Advanced Custom Fields field. I've had a read around and found some info in a post (at the bottom of the ...
0
votes
2answers
157 views

Ajax Plugin Not Echoing Response

I have created a plugin that will submit a form via ajax. Below is the php function. add_action('wp_ajax_nopriv_audience_intel', 'audience_intel_ajax'); add_action('wp_ajax_audience_intel', ...
-2
votes
1answer
301 views

How to get an error message if a form is empty (plugin: Post for site) [closed]

I wonder if you intelligent friends can detect the problem in this code. I want the form to display an error message if it's empty. Now it just goes to my completed form page. <?php /* * * * ...
1
vote
1answer
577 views

Recreating the hierarchy of taxonomies for a dropdown form menu?

I have a form that contains a dropdown menu. This form is on a page form.php and is not part of my theme. It exists outside of my site. This dropdown menu contains my list of values for a custom ...
1
vote
1answer
440 views

How to add a onclick attribute to a list of checkboxes?

I have this array for checkbox: array( 'name' => __('Latest Product',''), 'desc' => __('Select if you want to display latest product',''), 'id' => $prefix . ...
6
votes
1answer
2k views

Page returns 404 with POST variables, but not without

I have a problem with my page. I'm trying to make a "Contact Us" page. It's working perfectly fine design-wise. But when I try to send the form to the same page as origin. It returns 404 error. It ...
0
votes
4answers
19k views

Custom form that store input in database

I have never used WordPress before, but have done a lot of programming. But what is the normal way of making customs forms? I need to create a form where a user fill some input fields and on submit ...
0
votes
1answer
1k views

Contact Form 7 plugin refreshing page on submit [closed]

For those with experience of the Contact Form 7 plugin - When I installed it, the form worked fine, and upon pressing the submit button, there was no page load, all done via Ajax, however now the page ...
1
vote
1answer
146 views

Creating a form contact page?

I'm newbie on WordPress, how can I create a new page/top-link/contact-form for a contact page? I'm using a third party theme which allows you to create a contact form with field, but unbelievable I ...
0
votes
1answer
89 views

Custom form values without plugin [closed]

I just started working on wordpress. Now i have created custom form and that form data I want to save in database and mail also. For that form creation, I have one php file which i have used as ...
0
votes
1answer
364 views

Filter/Sort Post Form On Taxonomy page

I am trying to create a form on the taxonomy template that will be able to filter the posts the current user is viewing. I want to use a few drop downs and submit button to do so. My code looks like ...
1
vote
1answer
3k views

Get user input from a form

I am trying to create a form that will allow users to update their information on the front end. I am just starting to learn PHP (I know C# very well). If I use this code to create a form on a ...
0
votes
1answer
2k views

Remember form field values with page navigation

I have a form on a page template that controls which posts show up on the page and how those posts are ordered. You can see what I mean here: http://www.theseattlevine.com/the-vine The questions I ...