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)

25
votes
1answer
35k views

How to edit a user profile on the front end?

How can I edit a user profile in the front end with a form? first name, last name, username, email address and password
18
votes
10answers
1k views

Contact Form on WordPress Sites?

How does one go about building a page in wordpress that contains a contact form full of custom fields, boxes, inputs, etc. completely determined by the author of the site. It seems odd that wordpress ...
16
votes
5answers
70k views

How to display WordPress User Registration Form in front end of the website?

How to display the WordPress user registration form (the form that appears in "www.mywebsite.com/wp-register.php" page) in the front end of my blog? I have customised the registration form. But don't ...
10
votes
7answers
16k views

Front-end Register Form

I'm looking for an easy way to place the user registration form on the front-end of a WordPress site. I've already used wp_login_form() to place the login form on the front end, but now I need to do ...
9
votes
1answer
3k views

Plugin Form Submission Best Practice

I have done a lot of researching and haven't found quite what I am looking for, so I am hoping that I can be pointed in the right direction. I am developing an Events plugin that will book a ticket ...
6
votes
1answer
802 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 ...
6
votes
4answers
5k 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 ...
6
votes
2answers
520 views

Style reply form different than comment form

Is there a way to display (css and html) in a different way the "reply" form and the main "comment" form?
5
votes
1answer
2k views

Why when I submit a form in wordpress it loads a 404 page though URL is correct

I am just creating a simple contact form, but I notice that it seems to post to an invalid page. The url in the browser is correct but the title of the page is "Page not found" on the top of the page ...
5
votes
4answers
2k views

Does Wordpress have a “Form API”

I do most of my development in Drupal, however I am working on a Wordpress site and I need to make a form. Which got me thinking, is there a Form API for wordpress like there is Drupal? Is there a way ...
5
votes
2answers
156 views

Is it possible to sign in with user_email in Wordpress?

is it possible to sign in with user_email instead of user_login, please ? Thanks.
5
votes
6answers
3k views

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

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: ...
5
votes
2answers
719 views

Complex widget form UI - examples and best practices

I'm contemplating a widget with quite a number of options, which will make for a lengthy widget form. To improve the user experience with this form, I'd like to divide it into sections. I don't feel ...
5
votes
1answer
795 views

Add error message on password protected page

I protected a page with password. I’d like to add a short error message when the inserted password is incorrect. How can I do this? I add this code to show and customize the form on my page. My ...
5
votes
2answers
2k views

How can I get $id variable in widget's form function?

How can I get $id variable in widget's form function? According to widget's structure I see that widget function have $args as a parameter, which will be extracted in function's body. In my case i ...
4
votes
2answers
11k views

Check for correct username on custom login form

I have used Jeff Star's tutorial for creating my own custom login form http://digwp.com/2010/12/login-register-password-code/. It works great, but I have one problem. On the reset password form, if ...
4
votes
1answer
609 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 ...
4
votes
1answer
1k views

Create page to handle form submission

I currently have some custom post types "shops" (actually more like pages than posts) and a custom taxonomy "products" linked to those post types. I'm attempting to create a form (via shortcode) that ...
4
votes
2answers
4k views

Display search results within the same page

Problem I have a page on my site where I need to do additional searching within that page. I am using the default way of WordPress searching with <?php get_search_form(); ?> for my main header ...
3
votes
1answer
4k views

Creating my own Admin Forms in a WordPress CMS?

I just decided to try using WordPress for a CMS (not a blog). The site will have some product information that I want the client to be able to update. Instead of creating an entire admin side just ...
3
votes
2answers
889 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?
3
votes
2answers
155 views

Any high quality form plugins?

There are so many, and I've literally tried at least 10. None are quite right. I don't want one with all this "ajax" stuff. I just want something that validates the input server side, can handle ...
3
votes
2answers
320 views

My login form does not work

I have the following code that generates a login form for every page in my blog. <form action="<?php echo wp_login_url(); ?>" method="post"> username: <br /> <input name="log" ...
3
votes
1answer
2k views

Set Featured Image Front Frontend Form

I have been struggling for days to figure this one out. I have successfully implemented a form to submit posts from the front end of my site. ButI can't figure out how to make the image uploads work. ...
3
votes
1answer
1k views

ajax - why multiple calls to wp_create_nonce() return same value?

I've some trouble getting nonces working with my ajax submit form. First of all i create a nonce and pass it to my registered script, i'll later send it to ajax-handler packed with my form fields: ...
3
votes
4answers
5k views

Submit To PDF in WordPress

Is there a plugin or something that creates PDF files from a entered by the user form data, when it clicks on the submit button?
3
votes
2answers
1k 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 ...
3
votes
2answers
826 views

Non-Linear Questionnaires in Wordpress

I want to make the following happen in Wordpress People answer questions in paginated or single page form. Each next set of options is dependent on the option the user selects preiviously At the ...
3
votes
1answer
1k views

Best way to create multi-step form with data saved to user account for later updating?

I'm attempting to set up a fairly long multi-part form (~50 questions, a few questions per page) with conditional logic. I'd like to offer registered visitors the ability to save their data between ...
3
votes
1answer
713 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, ...
3
votes
1answer
161 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 ...
3
votes
1answer
390 views

User registration problem in WordPress

I am trying to make a user registration form in my site's side bar. Users are able to register but instead of getting a success message, WordPress usually redirect them to 404 page. Below is my form: ...
3
votes
2answers
2k views

Use Contact Form 7 to validate and send a custom-made form

I've fairly used CF7 but I haven't found a work-around or a module to be able to dinamically build a form and then use the CF7 plugin to validate and send it. In my case, I am using custom fields to ...
2
votes
3answers
1k views

Sending form data via PHPMailer - How to action PHP script from a form

Some easy points on offer... I wish to action a PHP script from a WordPress page but where is the best place to store the script? The script works perfectly fine using a non-WordPress environment in ...
2
votes
2answers
330 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 ...
2
votes
3answers
4k views

What is the recommended way to create plugin administration forms?

I have seen and been using the following technique for adding php scripts to my plugin for handling custom forms in a wordpress plugin. from the quizzin plugin: $code_pages = ...
2
votes
2answers
498 views

Form that creates posts

How can I create a form that allows people to submit questions / ideas that once submitted creates a post in wordpress?
2
votes
1answer
73 views

Front-End Interfaces Without Shortcodes

So, I consider myself a "advanced novice" at WordPress development but I still do not have the concept of pages and templates fully understood. I'm having an issue with a feature I'm attempting to ...
2
votes
2answers
1k views

Looking for a simple approach for handling user $_POST data without AJAX?

I'm looking for a simple way for a Wordpress plugin to process $_POST data from a user submitted form. Back end processing will be performed and then I'll redirect to a new page as appropriate — so ...
2
votes
3answers
4k views

WordPress Custom Application form

I want to implement an application form with WordPress, Preferably using a plugin. What I need here is not a contact us form, But I need a complete registration form or customer registration form or ...
2
votes
2answers
491 views

Custom query form submission pagination

There is a question very similar to mine, which can be found here. The difference with my question is: my search form is on several pages (page.php and single.php) and I don't use wp-pagenavi. I've ...
2
votes
4answers
4k views

How to stop form resubmission on page refresh

Hi I have a form that adds attachments to a post, however when the form posts it obviously doesn't show the post with the new attachment echoing "your file has been uploaded". When the user refreshes ...
2
votes
1answer
719 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 ...
2
votes
1answer
80 views

Where should my plugin POST to?

I'm creating a simple plugin to set a page as a homepage from the list pages (to appear next to edit, preview, trash actions etc), I was just wondering what that the most appropriate/secure place to ...
2
votes
3answers
265 views

how to modify comments form

how i can modify comments form, my theme just call: <?php comment_form(); ?>
2
votes
2answers
361 views

Comment form problem with comment_author_url and HTML5 input placeholders

I'm using HTML5 on two sites running two different versions of WordPress. They both exhibit the same behaviour and I would like some help with fixing this please. <label ...
2
votes
1answer
729 views

Gravity Forms not loading under https, jQuery is not defined

I am using Gravity Forms on my Wordpress site, and so far so good. The problem is I have made the page secure (https/SSL), and this is making the form not to work. It looks like the issue is how the ...
2
votes
2answers
1k 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 ...
2
votes
1answer
1k views

show image in mail contact form 7

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 ...
2
votes
2answers
856 views

Autocomplete for taxonomy input boxes on a front end form

I have created a simple frontend form to allow users to submit posts - similar to the tutorial here - http://voodoopress.com/ . I also have a couple of custom taxonomies which i have as text input ...