The forms tag has no wiki summary.
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 ...
17
votes
1answer
20k 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
11
votes
7answers
44k 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 dont ...
9
votes
7answers
12k 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 ...
6
votes
2answers
416 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
736 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
2answers
145 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
5answers
808 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
632 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
2k 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 ...
5
votes
2answers
1k 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
1answer
268 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 ...
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
2k 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
2answers
386 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
3answers
805 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 ...
3
votes
2answers
147 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
187 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
306 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 ...
3
votes
1answer
705 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
3k 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
183 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
1answer
338 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 ...
3
votes
1answer
121 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
2answers
1k 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
1answer
3k 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 ...
2
votes
3answers
198 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
88 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
2answers
2k 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
3answers
3k 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
414 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
2answers
1k views
How to handle form submission?
I'm new to wordpress and hence facing some issues:
The use case scenario is as follows:
1) A user is displayed an application form to start a club in his school.
2) The user fills the form and hits ...
2
votes
2answers
652 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 ...
2
votes
2answers
591 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
2answers
315 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
119 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
294 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
1answer
609 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
529 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 ...
2
votes
1answer
154 views
Stop wordpress automatically escaping $_POST data
I have a custom front end form which creates a custom post type post and have just discovered WordPress automatically escapes $_POST data in the same way that Magic Quotes does.
I have Magic Quotes ...
2
votes
1answer
668 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 ...
2
votes
1answer
622 views
Getting the dropdown menu to redirect to different pages?
What I am having trouble with is a dropdown box that I want to add to my sidebar. the blog will have more than one user so what I want for the dropdown to do is list all the different users by their ...
2
votes
1answer
602 views
How to add multiple checkbox elements to media attachments?
Based on solved question from:
How to add a checkbox element to attachments editor with example
Theres an example of multiple Checkboxes, for example: Colors, patterns, etc... A grouped list but ...
2
votes
1answer
1k views
Best Practices for Creating and Handling Forms with Plugins?
I'm writing a plugin that creates and handles a simple form. This has been my approach sofar, but it's turned out to have some major flaws:
1) On plugin activation, create a blank page for the form ...
2
votes
1answer
121 views
Using transients to store captchas
I was just wondering if something like this would work:
The page displays a form, with a captcha code inside it.
When this form is generated, a transient is set to store the captcha code.
The vistor ...
2
votes
1answer
176 views
User registration problem in wordpress
I am trying to do a user registration form in my site's side bar, although users were able to register but instead of getting success message, wordpress usually redirect them to 404 page.
below is my ...
2
votes
2answers
114 views
Obfuscating Email Addresses in Form Fields
I'm writing a WP Theme where registered users can email post authors sending them en email from the post's page itself.
So I created a contact form in which I get the user and author infos and emails ...
1
vote
3answers
1k views
Using filter to add additional fields to comment_form()
I want to add a field to the comments and have used these codes.
functions.php
function my_fields($fields) {
$fields['url2'] = '<p class="comment-form-url2">
...
1
vote
2answers
2k views
Post from front-end with post types, categories and taxonomies
I am now developing a wordpress site that will be something like a directory. People will be able to submit walkthroughs, advanced reviews, as well as cheat codes for games. We were going to make a ...
1
vote
2answers
7k 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 ...
