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)

2
votes
3answers
2k views

Wordpress plugin form not saving data

I am learning development of plugins, I am stuck into saving the plugin options form data. I have a plugin options page, where three fields asking for number of videos, height and width are coded. ...
0
votes
2answers
194 views

How to: Retrieve an attachment image from post and output it

If anyone can help me I would be gratefull! I got a gravity form with the post_type fields including the submit image when submited it displays the: title content image tags So my question ...
1
vote
2answers
976 views

Form doesn't submit on second submit call

I've been strugling with the following issue for over a week now so please excuse the long description. I want it to be as accurate and clear as possible: I'm using the "simplr registration form" ...
1
vote
2answers
326 views

Form in WordPress : 404

In my WP site I've got a Contact page whose URL is mysite.com/contact/ and which contains a <form> with an action attribute set to action="/contact/" Clicking on the submit button brings me to ...
2
votes
2answers
2k 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 ...
5
votes
2answers
821 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 ...
0
votes
1answer
922 views

How to use multiple check-box values to work in a function and insert values in database

I am working on a custom theme where there is option to upload images . I have certain check-boxes in the form which the users select as per where the image has to go. My form code is as follows : &...
-2
votes
1answer
656 views

Order form for WP (similar to a wishlist) [closed]

Can anyone recommend a plugin to accomplish the following in WP? 1) I have a form where a visitor can enter his contact information and list the nice to have items with a price. For example: Item ...
6
votes
2answers
657 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?
2
votes
3answers
4k views

Custom form, shortcode, and submit handler

I have a frontend form with a bunch of input. My requirements force me to use a custom shortcode to create the form. I have already tested a page with that shortcode. Here's my : <form name="...
0
votes
1answer
367 views

Undefined variable _POST

Using 3.1.1 with debug on, I am getting following notice. Notice: Undefined variable: _POST in <filepath> on line 1000 Code at line 1000 is $data = $_POST Why am I getting this notice? ...
3
votes
2answers
163 views

Any high quality form plugins? [closed]

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 ...
2
votes
1answer
4k views

I am trying to create a simple frontend form for posting

i am trying to learn and create some deeper things with Wordpress. My goal is to create a code/script/plugin that will allow me to post from the frontend. I have seen many plugins, like templatic ...
2
votes
3answers
5k 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
648 views

Phantom 302 status code when sending a POST requests on pages

I really hope I've got a simple issue in front of me here, as it's sort of driving me up a wall. Short story: submitting a simple form on the front end of the site results in a 302 Found redirect, ...
4
votes
1answer
2k 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: ...
8
votes
3answers
19k 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 ...
0
votes
2answers
2k views

Redirect to another page using contact form 7? [closed]

I'm using CF7 to send some information to my email and everything's working fine, but I need to redirect the users to a different page after the email has been sent, by default the forms are sent to ...
0
votes
2answers
3k views

A form in a custom widget

I'm trying to build a contact form custom widget. So i would like to display a contact form with a WordPress widget and send a message. No problem to display the form with my widget but when i click ...
2
votes
1answer
917 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 ...
0
votes
1answer
1k views

my checkbox is not saving it's value

Processing the following form in the admin area, but the database constantly returning an empty cell where the info should be. Help!! <form action="options.php" method="post"> <...
1
vote
1answer
3k views

Front End Post Submit Form

I'm working on a site that is going to be community powered. It's going to have the form for registered users to submit draft posts, which will then be approved or deleted by the site's editors. The ...
0
votes
2answers
293 views

Testing a Form's Zipcode Field with Regular Expressions to Determine Wordpress Page Behaviour

I want to use a Regular Expression(regex) to test the value of a form's zipcode field on a WordPress page, then based upon those results either: Selectively assign/reveal price fields on the same ...
0
votes
1answer
190 views

Custom taxonomy admin description

Is it possible to add a short description to a custom taxonomy's admin area? For example, I've added a taxonomy that determines what kind of banners are displayed on a post's page. In the meta box ...
0
votes
2answers
732 views

Redirecting after login?

I'm using the following to let the user login: <form name='loginform' id='loginform' action='<?php echo get_settings('siteurl')?>/wp-login.php' method='post'> <...
6
votes
2answers
4k 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 ...
0
votes
4answers
3k views

How to verify this checkbox is checked?

Actually I want to include a file if the checkbox is checked <?php $checked = get_option('automatic') ? "checked='checked'" : ""; echo "<input type='checkbox' name='automatic' $checked />"; ...
0
votes
1answer
82 views

How to add a button that enables the user to insert a link in a textarea located in the front-end?

I'm using the following plugin: http://wordpress.org/extend/plugins/question-and-answer-forum/ It as a textarea which enables the user to post a question. The author told me how to allow html on it. ...
0
votes
1answer
496 views

Categories as selectable links on submission form

I have a submission form where users can submit posts on my site. I have three steps (3 form pages) and in the first one user selects the post category, clicks the submit button and moves on to the ...
1
vote
2answers
6k 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 ...
25
votes
6answers
116k 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 ...
1
vote
1answer
523 views

How Could I sanitize the receive data from this code

<form id="tellastory" method="post" action=""> <label for="fullname">Full Name </label> <input id="fullname" name="fullname" type="text" maxlength="255" value=""/> ...
46
votes
1answer
73k 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
2
votes
3answers
271 views

how to modify comments form

how i can modify comments form, my theme just call: <?php comment_form(); ?>
1
vote
1answer
357 views

When using Simple Fields plugin, how do I pull the information out of the database to display on a page?

Pretty much what the question says. I used simple fields, but I'm unsure in WP how to get the information back to display on a page?
0
votes
1answer
131 views

free form wordpress

My question is kind of simple: I have a voucher. I would like to people fill an form on my WordPress site and when they click submit, they receive an e-mail with the voucher... Is there a plugin out ...
0
votes
2answers
1k views

404 Error on form submission within custom post type

I'm trying to create a forum system using WP's custom post types - two post types as Topic/Reply and a Forum taxonomy. I have created a singular template for the topic post type, in which I added a ...
0
votes
1answer
1k views

How do I add the same contact form to multiple wordpress sites and capture the response in one place or database?

I own a network of 100+ Wordpress based websites. All website are separate installations of Wordpress and are on different servers. I would like to create one contact form have it shown in the ...
1
vote
2answers
794 views

Anonymous Postings

This is a repost of a question asked on stackoverflow, and was referred to this site: My client wants to create a form on his new WP site that when filled out and submitted will be submitted to his ...
2
votes
2answers
411 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 for="url">Website</...
3
votes
3answers
6k 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 = array('quiz_form.php','...
1
vote
1answer
1k views

How to create a multiple choice radio group for a single theme option

Logically, I'm thinking it should something like... <input type="radio" id="my_category_layout"> <option value="Item1">Item 1</option> <option value="Item2">Item 2</...
0
votes
1answer
753 views

Best way to reset some admin options form to default?

I got some option pages for my theme. I did this whit add_menu_page, add_submenu_page. I further got settings with register_setting and there i got add_settings_section and add_settings_field(s). The ...
10
votes
8answers
23k 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 ...
1
vote
1answer
278 views

On update to 3.04 site started recording accents as “&Atilde;&iexcl;” and “á”, what to do?

One day my site worked perfectly and the next it suddenly started to have trouble recording accented characters. The problem affects posts' body, if I submit a post with an accent on the title it ...
1
vote
2answers
2k views

Saving checkbox/option list status?

my self-made admin panel works just fine, but it doesn't save values of form inputs. When I type something into textbox and click "save" it is still there after refreshing, thanks to PHP: <input ...
0
votes
1answer
820 views

How to send form data from WordPress (Meta Box) to an OData service?

I have created a form within a Meta Box on the 'Add New Page' screen. I want the data from this form to be sent to an OData service on a central server. I can see that OData is supported on PHP (...
0
votes
2answers
569 views

How to embed form data within the 'Add new post'

I want users to be able to use a car template in new posts. The template will include items such as a photograph of a car, make, model, number of doors, colour of car, etc. Users will not want to use ...
0
votes
1answer
388 views

Sidebar login widget with error print, returns an error

i'm building a widget to login from the sidebar and print errors if any, so everything is working fine except that when i login it returns an error: Warning: Cannot modify header information - headers ...
2
votes
2answers
567 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?