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)

0
votes
3answers
672 views

Page 2 of Search Results shows homepage

Search bar is just under the header and menu at the top of the page. Example search: http://www.animefushigi.com/?s=bleach Scroll down and try going to page 2, see it shows homepage instead. ...
0
votes
1answer
4k views

Close modal window after form submit [closed]

I have this in a php file from Contact Form 7, which I load into a modal window (FancyBox) and I would like to close it after the user will press the Submit button. I was thinking of adding ...
0
votes
1answer
554 views

Form validation on user profile edit

I have added a custom field to user profiles in bbPress however I am unsure how to do form validation other than javascript. I would like to do some PHP validation however the few things I have tried ...
0
votes
2answers
538 views

Page reload occurs before request finishes

I wrote a plugin to send an invitation to a friend and am submitting a form using AJAX and used the tips talked about in 5 tips for using AJAX in wordpress and another article referenced in the AJAX ...
4
votes
1answer
520 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: ...
0
votes
2answers
584 views

need to add attach thumbnail from my form

i need to add [attach thumbnail] to this form functions.php Code: if( 'POST' == $_SERVER['REQUEST_METHOD'] && !empty( $_POST['action'] ) && $_POST['action'] == "new_post") { ...
0
votes
2answers
717 views

Dashboard Contact Form

Is there a way to make a dashboard contact form widget? I just simply want to have it there so users can give feedback directly from their dashboard.
0
votes
2answers
1k views

How to create and retrieve data from a special registration form?

What is the recommended way to approach the follow issue? I have to create two pages. On one page I will have a small form where users will be able to register themselves (with or without photo). On ...
1
vote
1answer
128 views

Char limit on custom blog-post form? [closed]

I want to setup a simple custom form for users to post, which will automatically: Subscribe user to updates (i.e. moderation approved, comment posted) Enable DISQUS xor IntenseDebate comments ...
5
votes
2answers
4k 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 ...
0
votes
1answer
201 views

Cannot modify header form resubmits data on refresh

I have a contact form that each time I refresh the page I get a prompt to resend all the data, I have added a header("location: location.php"); to the bottom of the form function to try and prevent ...
0
votes
1answer
192 views

Creating Job Tickets

I work in a small print shop and I want to digitize our workflow. I have found many plugins that are for support tickets, but I want to be able to create job tickets for printing jobs. I have found ...
1
vote
1answer
328 views

Settings API erases itself?

I have two forms created using Settings API, and when I save one of them the other one gets erased and vice versa. Here's the whole code so you could paste it into your functions.php file and see ...
2
votes
2answers
1k 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 ...
0
votes
2answers
3k views

File Upload from Frontend

I am working on a blog where user can submit his/her story from the UI. What I would like to happen is if a user submit his/her story it should be visible in the dashboard and i can get the attached ...
0
votes
1answer
562 views

Programming Wordpress to send a custom-built form to specified email address

I have built a custom html/javascript form that I would like to incorporate into my blog. I would like the submit button of the form to send the information to a specific email address. Is there a way ...
1
vote
1answer
982 views

Multiple options pages validation for a plugin

I am writing a plugin and I decided to have multiple pages for different options of the plugin (for clarity's sake). Doing a single option was a piece of cake, but I'm encountering difficulties when ...
0
votes
3answers
2k views

Can a page contain php code?

I am trying to use the following line of PHP code in one of my pages: <input name="from" id="from" value="<?php echo $_GET['from'];?>" type="text" /> But instead of displaying an empty ...
0
votes
2answers
181 views

Trying do build a contact form

I have some problem making my contact form work. The contact form should only be in one simple site. So i created two templates. The first template only has the form. The other one have the php code ...
1
vote
3answers
1k views

Redirection not working in this front end post submission form?

I found this tutorial to create a front end post submission form: It doesn't matter what I type on wp_redirect( 'http://www.google.com' ); I don't get redirected to anywhere. Just the same page but ...
0
votes
1answer
260 views

Can't assign another category other than Uncategorized int he following front end post submission form?

I'm using this front end post submission form that I took from this question: <?php $postTitle = $_POST['post_title']; $post = $_POST['post']; $submit = $_POST['submit']; $category = ...
0
votes
1answer
1k views

How can I add buttons to a custom column in the taxonomy table?

I am working on an issue-based publishing system for a friend of mine. So far I have created a custom taxonomy called "Issue"; added several custom fields to the custom taxonomy (like "Issue number", ...
0
votes
1answer
754 views

What should I write in the post action of this front end post form?

I'm following this tutorial to build a front end form: <?php /** * * New Post Form for Custom Post Types for the Frontend of Your Site * By Jared Williams - http://new2wp.com * * Last ...
1
vote
1answer
1k views

using $wpdb to insert a form into a post

I am wanting to take the following form, and use $wpdb to insert it into a post. I have tried reading the class reference page INSERT rows, but I don't really know what should be referenced. I am not ...
0
votes
1answer
979 views

Submit Custom Postypes from frontend

I am attempting to create a form that submits data and creates a post with custom fields filled. What I would like to do in step form. 1) Create a custom posttype function called "pickups" (I do not ...
3
votes
2answers
636 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" ...
0
votes
3answers
3k views

Building a form with WordPress, and also pulling that data for a user page

I am going to give the most basic example of what I want to achieve. I have a page for booking a pickup service, and a form needs to be created to take information of the following. (Date, # of ...
1
vote
2answers
1k views

Submitting POST data to a custom page template triggers a 404, why?

I've got a simple custom page template with a form on it. This page can process the form itself, so the entered data gets submitted there as well, using POST. Submitting the form, however, results in ...
1
vote
1answer
918 views

How can I populate a select element with terms from a custom taxonomy and filter post results?

Alright, so first, I need you to check out this wire-frame so you can see what I'm trying to accomplish: Wire-frame What I've done so far is this: I created a custom post type for individual ...
0
votes
1answer
213 views

how to handle forms in multiple pages?

I have a simple contact form that I set up to display on multiple pages using a shortcode and a widget but since I need to form to post back on the same were it's displayed I'm not sure how to ...
0
votes
2answers
140 views

Force string into signup form

I am running WP multi-site and BP. The plugin in question is Anti-Splog by WPMUDEV. They have advised they do not support customisations. Anti-Splog tries to limit spam blogs from appearing on your ...
1
vote
1answer
2k views

Passing POST data from one WP post to another

I'm trying to pass data between two Wordpress posts via POST method from a form/link. However, the second post does not seem to be able to grab the POST data. I'm wondering if it has anything to do ...
0
votes
2answers
2k views

RSVP form for Facebook events from a Wordpress post?

Is there a way to add a RSVP form to a Facebook event in a Wordpress post? (let's assume I have a website linked to a Facebook application and I want to publish public events I have published on a ...
0
votes
1answer
526 views

Looking for a simple checkout plugin [closed]

I want to sell tickets to an event on my wordpress site. I don't want to use a huge shop or partner up with ticketmaster etc. What I want is let the customer decide how many tickets of a certain ...
1
vote
1answer
427 views

Add X meta box inputs based on form at top of meta box, how to do it right?

I am setting up a meta box that controls the number of ingredients for a recipe. As each recipe will have a different number of ingredients I decided to use a simple text input and button to set the ...
0
votes
1answer
75 views

Where this validating message come from?

I wrote a simple form, including text field, textarea, select and some validating by WP_error. When I try to submit the form without filling text field or textarea, I got a popup tip pointing the ...
0
votes
2answers
337 views

How to Collect Keyword and Search Engine Data on Webforms?

We have a contact form using Contact Form 7 on our wordpress site. We would like to be able to attach any information about where the user came from: keyword search is the #1 item of interest. We ...
2
votes
1answer
443 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 ...
1
vote
1answer
868 views

Google Map Latitude and Longitude values in form

I have a front end submit form and would like to include a two extra custom fields which will hold Latitude and Longitude values. I want the users to select the location on a map which will be ...
0
votes
1answer
885 views

Comment submission & navigation redirects to default language

I'm using qTranslate for multi-language & wp-commentnavi for comment navigation. The style of my base permalinks are like so: site.com/ -> for default language site.com/en/ -> for ...
1
vote
1answer
267 views

exclude category from WordPress Form function

I have this function and I need to somehow exclude a category number 14 from my submission form. Is there any way to do it inside this function? function retrieve_cat_data($byid = false){ ...
1
vote
1answer
186 views

How to take options from form fields and turn them in to links?

I have a form in WordPress with options when clicked they retrieve a filtered posts. I want to take the options from the form and place it like normal links. Can this be done? Thank You all in advance ...
1
vote
4answers
732 views

Retrieving a Value from a wp-database

why my sql statement is not returning any value.. is this wrong? <?php global $wpdb; $result = $wpdb->get_results($wpdb->prepare("SELECT * FROM ...
2
votes
2answers
194 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 ...
0
votes
1answer
439 views

“operation successful” message

i'm writing some custom wordpress pages, and i want that after an action where the user has addess an item to a list (after the user press the submit button and the page reloads showing the updated ...
1
vote
2answers
6k views

Using AJAX in a plugin to submit form - REALLY confused

Having a bit of trouble using all the Wordpress ajax hooks, and functions. Been reading this post: 5 Tips for Using Ajax in Wordpress But became confused after trying all the code and applying it to ...
1
vote
1answer
193 views

Adding Custom Forms

I'm looking to create a page for a wedding site that will have a form. The idea is that it is an RSVP page where a visitor will input a unique string that was on the invitation that they received and ...
0
votes
1answer
974 views

Redirect plugin after form submit or show errors

I've been developing a wordpress plugin that has an admin section with a form to add and edit various things. Now after an admin submits the form I wanted to redirect if successful (to show updated ...
0
votes
2answers
137 views

wordpress forms submit

I am new to wordpress. I am trying to develop a website where I want user registration form. But I am not sure how should I code in wordpress. I heard about some contact form plugins. Can someone ...
2
votes
1answer
3k views

How to display comments and comment form on custom post type?

Is it possible in wordpress to display comments and comment form on custom post type, and how to do that? Thanks in advance.