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)

3
votes
1answer
1k views

How to pass on Google Adwords gclid variable to other pages

i need to track if people filled out any of my forms on my wordpress blog if they where coming from a Google Adwords ad. There are many forms on my website like for booking a demo presentation, ...
0
votes
2answers
728 views

Downloadable content only for subscribers?

I'd like to use WordPress to set up a whitepapers site. Any user can check the main site with a list (blog format) of white papers available. But if a user wants to download any whitepaper, he has to ...
1
vote
2answers
280 views

Having a Function Inside of the Loop

I am trying to make a frontend product editor for WooCommerce, and have a loop that returns all of the products for the current user. I am trying to use gravity forms as the editor, so a single ...
3
votes
2answers
2k views

Submitting post to database then redirecting to paypal

I am trying to submit form data to the database then send the client over to paypal which will use IPN to send a response back. Right now I have the form submitting to the database, I have the IPN ...
1
vote
2answers
417 views

How to create and work with custom data / tables (i.e., for arbitrary data)?

Getting started on Wordpress just today. I noticed that Wordpress created tables in a mySql database (with name *.wrdp1) when I first set it up. These tables cover comments, posts, users, and some ...
1
vote
0answers
46 views

Showing errors from processing function on form

I use a function from my functions.php to process a front end post form. I store the errors in the variable $output but need a way to show it on the post form after submit. How can I do that?
0
votes
1answer
118 views

how to add a custom form in a page

How do I add a custom form to a WordPress page? I do not need contact form I need a custom form that has my own fields. Some fields get data from a database table like cities and country or any other ...
0
votes
1answer
551 views

Front end post form validation

I have a front end post from that works fine except for the validation that I need done before it's processed. Ultimately I'd like to be able to do this with ajax because I have to do some things like ...
0
votes
1answer
82 views

County Finder form/plugin?

I'm developing a WP site for a client and need to build in a "county finder" for our state (VT). Users would type the name of a town into a field (or select the town from a drop-down menu), press ...
0
votes
1answer
82 views

Custom form on front page redirects on error page

I've created a form in a wordpress page (it's hardcoded in it's template.) This form redirects on the same page as it's on. This form also verifies the data right there, in the template file. If I ...
0
votes
1answer
177 views

Form Submission Warning: Cannot modify header error only when plugin is deactivated

I have created some custom post forms that I'm now using in place of a plugin called WP User Frontend which allows you to post and edit from front end. These post forms we're working great but when I ...
1
vote
1answer
398 views

Adding data to an array in usermeta and displaying it in a loop

I have a front end post form where I take a file upload of an image. That image gets stored as a custom field which is easy enough to do. What I need to do though is store each unique image url for ...
0
votes
1answer
551 views

Problem uploading different files as custom fields with front end post form

I have a front end post form that I'm having some problems getting the right path for the media to save as custom fields. The path to the file gets saved as ...
1
vote
1answer
346 views

Additional form options based on category selected not working

I have a conditional statement to show certain images to choose from (radio buttons) based on the category chosen, however when the category is chosen, the radio buttons don't show? What am I doing ...
1
vote
1answer
86 views

Avoid updating post when sending POST or GET request to post.php

I've created a Plugin which adds a new meta-box on the post.php dashboard page, containing a form. Whenever a POST request is submitted from that form, I would like to save some post meta-data. I ...
0
votes
1answer
2k views

How do I insert a custom field in a user submitted post?

Please help! I have a form for users to submit posts, and I want them to be able to choose photos already in the media gallery based on category selected. I want to include radio buttons to choose ...
0
votes
1answer
227 views

Can I have two submit buttons in one form? [closed]

I want to provide 2 buttons in one form. User click either button can submit the form but do different jobs-- one button is to import checked files, another button is to create fiels. Will this ...
1
vote
1answer
132 views

Register page in admin area

Ok, so I have a table in my admin area for my plugin. Each row as an edit button, which should post to the edit page. I don't know how to add my php edit page to the registered wordpress page, though, ...
0
votes
1answer
828 views

The Correct Way to Use Nonce Field without Settings API

I'm trying to create an admin option page without the Settings API for some reasons. Then if I do so, I've heard that I need to use nonces for security. I'd like to know the correct way to use them. ...
0
votes
2answers
5k views

Embed interactive pdf

I have interactive pdf documents that I need to put on a wordpress site. Visitors need to be able to fill these in and print them out to sign and post. They do not need to be emailed or saved to the ...
1
vote
2answers
535 views

Form that sends data to an admin panel and can export it

Is there a way to have a form submit data to a admin control panel where the data is stored and can be rectified there? Could it also be able to export the data as excel for example?
0
votes
1answer
2k views

Using AJAX to run SQL statement and populate dropdown

I am trying to create a search where the user selects two different bits of data from the database and it then prints some results that meet requirements. I know I need to use AJAX, or something ...
0
votes
2answers
555 views

How to allow registered users to submit the form only 5 times per day?

Question Is there a way that my registered users (if they are not the form is hidden so I don't need that) are restricted to submit the form more than 5 times per day, or 20 per month or whatever ...
8
votes
3answers
8k views

How to handle form submission?

I'm new to wordpress and hence facing some issues. The use case scenario is as follows: A user is displayed an application form to start a club in his school. The user fills the form and hits the ...
2
votes
1answer
844 views

Is there any good tutorial to write custom login, registration and password recovery forms? [closed]

I like to have login and password recovery managed by my own forms and embed them into my theme. I'm using the well written Jeff Farthing's plugin "Theme My Login" on some of my projects. But I would ...
0
votes
1answer
46 views

Bypassing a Form Options

here is the situation. I am using a plugin and although it is (half) works, I can't access the setting page. The plugin is to fetch thumbnail from Youtube and other video sites, but the problem is, I ...
1
vote
0answers
67 views

Submit custom form from post content and execute in plugin

I have prepared custom form (quiz plugin) with embedding in custom posts via {{QUIZ_ID}} placeholder. My form is displayed in post correctly but bigger problem is what form action should I create (and ...
0
votes
1answer
654 views

Form submit from modal window to parent window

Trying to submit a field value from a popup modal window to my WordPress parent window meta-box. On my add post page I have a metabox with a field type 'text'. The id of my 'text' field type input ...
1
vote
0answers
186 views

Ajaxify Form That Submits To Same Page To Display Post Data

I have a drop down menu that submits one of several filter options. The options are submitted to the same page, where post titles are displayed based on these options. The form is working fine, but I ...
3
votes
2answers
1k views

How to insert PHP code in a WordPress Post

I need to insert into post a simple form handler, but WordPress' engine deleted my code after saving. how can I fix it?
-2
votes
1answer
83 views

Using Form to alter PHP variable [closed]

I'm pulling custom posts by their meta_key using this function: <?php $args = array( 'numberposts' => 10, 'meta_key' => 'allvotes', 'orderby' => ...
0
votes
1answer
339 views

Adding a “Report the post” button/form?

I have a user-generated-content website with WP. I would like to allow the readers to notify me of posts that should be taken down. I need to: add a button to the end of each posts, that when ...
0
votes
1answer
149 views

noheader on the user/frontend side

I have an application which has the following structure on the user/frontend side: usercontroller: generates output userformhandler: processes user input and redirects back to usercontroller So, ...
1
vote
2answers
568 views

Embed IPB forums to wordpress page

I have a community that is really forum driven, and after messing with most major content management systems, I've really liked Wordpress for Its front news pages/blog posts. The issue that I'm ...
1
vote
0answers
471 views

How to allow user to select User ID in Formidable Pro form?

The goal of this formidable pro form requires three non-standard things to occur. I've written a custom plug-in with code that accomplishes two of the three goals, but I am unable to get the third ...
3
votes
1answer
182 views

Saving two categories from two dropdowns in front end posting form

So, here's the deal: I have two category dropdowns, the first for the parent categories and the second for the child categories. They form a chain so that when you select the parent category the ...
1
vote
0answers
198 views

Adding Contact Form 7 to my anti-spam rules in .htaccess [closed]

I have the following rules set in my .htaccess file to block spam. It works by not allowing anyone to login, register, or make a comment unless the conditions are met. It works, but I would like to ...
0
votes
1answer
449 views

Converting a working AJAX form to work with Wordpress

I have a working html form with jQuery validation and have been submitting the data with AJAX, I am now trying to copy this form in to my own Wordpress theme, but I can't see where I am going wrong in ...
5
votes
6answers
5k views

How can I make wp-pagenavi work on a custom query built upon a form submission? [closed]

I've also posted this on the wordpress support forums, for scribu's wp-pagenavi plugin: http://wordpress.org/support/topic/plugin-wp-pagenavi-custom-query-form-submit-part-2?replies=1 My situation: ...
0
votes
2answers
2k views

Saving frontend form data in wordpress

I have front-end user form like, Title Image Upload Drop Down Category Description Tag Now when a user fills the form and hits the publish button from the front-end..... at the back-end a post is ...
4
votes
1answer
753 views

<form> inside a metabox

I'm trying to write a plugin that allows a user to upload a video to Vimeo through the Vimeo upload API. In order to avoid trying to upload a video to a potentially shared hosting account and then ...
1
vote
2answers
8k views

Contact form 7 select box different value-text then content-text in option [closed]

DSoes anyone know how I can set a different valute in the select-options in contact form 7 plugin? Here is an HTML example of what I'm trying to do <selct> <option value="1">My ...
-1
votes
1answer
72 views

Search Results with googlemaps

I have made a custom search for houses. The problem is that I have to show in the search results page, a "googlemaps" with the points at which there is a house, according to the search results ...
0
votes
1answer
143 views

Passing values by form to create a query

I have this structure: taxonomy - term1 -- child term1 -- child term2 -term2 -- child term1 -- child term2 I have two select boxes. First one shows the parent terms (term1 ...
0
votes
1answer
947 views

Uploading PDF files from the front-end

I am working on a Wordpress site that has a custom front-end form for submitting posts. I need to add a field in the form to allow users upload a single PDF file along with the post. How can I achieve ...
0
votes
2answers
868 views

Specify ABSPATH in jQuery url

I'm building a custom jQuery form and I need to specify the siteurl in the url that loads /wp-admin/admin-ajax.php. I place this code in the template that has the form: <script ...
0
votes
2answers
282 views

Remove field in the form : only works for “url”, not for “email”?

I would like to remove the email field in the comment form. It works for url but not for email : the email field is still there. Do you know why? <?php function url_filtered($fields) { ...
0
votes
2answers
431 views

A mandatory agreement form to access another page?

I want to set up a page with a form the visitor needs to fill out and accept terms before going on to another page. Is there a plugin to do this? If no plug in, is there another way? Any help would ...
0
votes
2answers
1k views

Plugin that will output submitted form data for user? [closed]

I have a standard HTML form that the visitor will fill out. It consists of mostly checkboxes. What I would like, is after the form is submitted, a page is then presented to the user showing what ...
2
votes
1answer
2k views

show image in mail contact form 7 [closed]

I am using contact form 7. I have a file field to upload images. Code of file field in contact form 7 [file* image filetypes:jpg|png|gif] I need to display the uploaded image in mail using ...