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)

1
vote
1answer
998 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 ...
0
votes
1answer
692 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
7answers
19k 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
262 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
757 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
560 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
382 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
541 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?
1
vote
1answer
572 views

How do I let users upload files to a chosen location?

I found some plugins which let me make my own forms but none worked for different reasons. I simply want to make a form so that users can upload files to a folder located in www.chusmix.com/images ...
4
votes
1answer
2k 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 ...
0
votes
1answer
347 views

How to add a new variable to blog creation form?

I'm trying to add a new INPUT field to the blog creation form on Buddypress. Adding the front-end element is the easy part. I'm having some hard time trying to save it. The variable is a string, and ...
0
votes
1answer
137 views

How can I reuse the code to capture a param in a URL and place in a value in a hidden form?

I have a form that will be re-used in different posts. I also have php code that will be reused to populate the form with the value in the URL. I tried to use php shortcode and wp php exec, but it ...
2
votes
1answer
3k 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 ...
3
votes
1answer
5k 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 ...
0
votes
1answer
355 views

jQuery forms & updating info

I'm attempting add some ajax to an existing script, all goes well for the first submit, but subsequent ones are not working as expected. add_action('wp_head', 'my_special_action_javascript'); ...
0
votes
2answers
754 views

Contact Form 7 form is working on local wordpress install but fails on production server [closed]

I've created a Contact Us page (my-site.com/contact-us/) using contact-form-7 which works fine on my local WordPress install. However, when I try the same form on the online version of the site, it ...
0
votes
4answers
11k views

Contact Form 7 Plugin send emails to my Gmail as spam [closed]

I just added Contact Form 7 to my site. I'm using the default configuration (didn't change any setting). The mails are classified as spam in my Gmail inbox. Is there any way of making them go directly ...
2
votes
1answer
132 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 ...
1
vote
3answers
2k views

Creating an online questionnaire form - by Importing the questions from a spreadsheet?

I've got a spreadsheet where each row of the first column is a question, and the next 4 columns are the optional 4 answers to that question. I want to turn these questions into an online form (like ...
19
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 ...