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
0answers
140 views

Ajaxify Form That Submits To Same Page To Display Post Data

I have a drop down menu that submits one of several filter options. The options are submitted to the same page, where post titles are displayed based on these options. The form is working fine, but I ...
1
vote
1answer
443 views

Embed IPB forums to wordpress page

I have a community that is really forum driven, and after messing with most major content management systems, I've really liked Wordpress for Its front news pages/blog posts. The issue that I'm ...
1
vote
0answers
290 views

How to allow user to select User ID in Formidable Pro form?

The goal of this formidable pro form requires three non-standard things to occur. I've written a custom plug-in with code that accomplishes two of the three goals, but I am unable to get the third ...
1
vote
0answers
157 views

Adding Contact Form 7 to my anti-spam rules in .htaccess

I have the following rules set in my .htaccess file to block spam. It works by not allowing anyone to login, register, or make a comment unless the conditions are met. It works, but I would like to ...
1
vote
1answer
125 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 ...
1
vote
1answer
784 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 ...
1
vote
1answer
358 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 ...
1
vote
3answers
668 views

Pass data from one page to anothe file/page in wordpress

I have my custome theme in wordpress.This is the path of my custome theme. C:\wamp\www\wordpress2\wp-content\themes\sscy1002\sscy1002 I have created a Page in wordpress which contains some form ...
0
votes
1answer
194 views

Form Security: nonce vs. jQuery

I am trying to create a methodology for submitting forms on my WordPress site. In the past, I have used WordPress nonces in order to secure form submission, but I like the idea of using jQuery to ...
0
votes
3answers
966 views

Loading scripts & styles from a meta box callback function

Case: I got a set of classes that build form fields based on data from an input array. The class can build the following types of form fields: input (basic, hidden, password) textarea radio ...
0
votes
2answers
166 views

How to hook into user registration process Before user registers

I need to add a field to the user registration form and then validate it before I add a new user to my WordPress I know how to hook into the registration form via add_filter('register_form', ...
0
votes
3answers
2k views

Contact Form 7 not sending emails- no confirmation, no error

Live site. I've noticed that Contact Form 7 recently stopped working, despite my not having touched any of the settings. What's odd is that I receive neither a confirmation nor an error message; I ...
0
votes
2answers
1k views

Redirect to another page using contact form 7?

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
24 views

What form element names break wordpress?

I know that <input name="name"> will cause wp to bork and throw a 404. It seems that 'year' is the same. Does there exist a list of input names that wp doesnt like?
0
votes
2answers
13k views

How do I Upload/Import Form (Input) Files via. Ajax function?

I keep running into an issue getting the file(s) added/switched to ajax so that the server ajax handler can deal with the rest. How can I get the $_FILES to be passed the same as with the default ...
0
votes
2answers
377 views

How to allow registered users to submit the form only 5 times per day?

Question Is there a way that my registered users (if they are not the form is hidden so I don't need that) are restricted to submit the form more than 5 times per day, or 20 per month or whatever ...
0
votes
2answers
2k views

Saving frontend form data in wordpress

I have front-end user form like, Title Image Upload Drop Down Category Description Tag Now when a user fills the form and hits the publish button from the front-end..... at the back-end a post is ...
0
votes
2answers
212 views

Remove field in the form : only works for “url”, not for “email”?

I would like to remove the email field in the comment form. It works for url but not for email : the email field is still there. Do you know why? <?php function url_filtered($fields) { ...
0
votes
2answers
272 views

A mandatory agreement form to access another page?

I want to set up a page with a form the visitor needs to fill out and accept terms before going on to another page. Is there a plugin to do this? If no plug in, is there another way? Any help would ...
0
votes
1answer
125 views

I am trying to grab the title and put it in a paypal form select option

I am trying insert the title of a post in the option value of a form for paypal purchase, so I know what item they have chosen. But when I do this paypal gives me a error message that something is ...
0
votes
1answer
297 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 ...
0
votes
1answer
3k views

Connect forms in WP to external database

I want to use Wordpress for an existing site (coded in PHP). It has some forms (for member subscription, user can update their data etc.) which are connected directly to an existing database. I don't ...
0
votes
2answers
1k views

Detailed form plugin, with ability to export to excel etc. OR edit PDF live?

I have a client who wants to have online application forms for their non profit service. I have used Contact Form 7 in the past, since its pretty flexible and you can have lots of fields, radio ...
0
votes
2answers
167 views

placeholder text in category form label

Is there a way to put a placeholder text in the category form label? Right now the label is empty and has a dropdown menu filled with categories. I want to make a dummy placeholder text which will be ...
0
votes
2answers
669 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'> ...
0
votes
4answers
2k 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
2answers
801 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
40 views

I am unable to save my data from a form

For some reason I am unable to save the data from my form: add_action( 'admin_menu', 'example_menu_settings' ); /** Step 1. */ function example_menu_settings() { add_options_page( 'example ...
0
votes
1answer
75 views

How to Process Form Request

So... I have a form build into a WordPress page like this: <form action="/help" method="GET"> <h2 class="heading post-title">Contact Us</h2> ...
0
votes
1answer
117 views

How can I modify the media upload form fields?

I would like to add a line of text under the description field in the media edit form to give users more direction as to how to fill out this field. What is the best way to do this? I know how to add ...
0
votes
1answer
62 views

Submitting form in wordpress plugin

I am new to wordpress and currently making a plugin. I am getting list of authors using <?php wp_dropdown_users(array('name' => 'author'));?> Now when submitting my form I want to retain ...
0
votes
1answer
120 views

Using admin-ajax prevents regular php form submission

I have a page with a table of posts and groups of checkbox filters in the sidebar. Looks something like this: www.example.com/toylist |___________| |_______________________| | [ ] Red | | ...
0
votes
1answer
1k views

Simple form that saves to database

I am using a 3rd party service that does a scrub of my database for new entries within a specific table. However I am been unable to find a simple form plugin that submits data to the wordpress ...
0
votes
1answer
274 views

page shows 404 on form submit

I have creating a template page in which i have a form, upon testing it gave a 404 error. should i putting something else in action? `<form action="results.php" method="post"> <!--my ...
0
votes
1answer
19 views

Where to add css file that I want my forms to use?

Where and how should I add the css file that I want my forms to use? Thank you!
0
votes
1answer
49 views

Using AJAX with Forms

I am attempting to validate and submit a form using AJAX in WordPress, however, the response that I am getting is 0. According to the codex, this would seem to indicate that admin-ajax is unable to ...
0
votes
1answer
269 views

Using shortcodes to parse POST request (containing the data from a front-end form)

I would like to allow my subscribers to post classifieds, which are nothing but a custom post type with a few metas for the price, etc. (The existing classifieds plugins I have tried are way too ...
0
votes
1answer
363 views

Contact form with Jquery and PHP don't work

<?php/* Template Name: Contact */?> <?php get_header(); ?> <?php wp_enqueue_script( 'jquery.validate.min', get_bloginfo('template_directory') . ...
0
votes
1answer
864 views

Form action URL unrecognized

I have a contact form previously used in static websites that I’d like to adapt to use in WordPress. I realize there are numerous plug-ins such as Contact Form 7, but would rather use this since it’s ...
0
votes
4answers
6k views

Custom form that store input in database

I have never used WordPress before, but have done a lot of programming. But what is the normal way of making customs forms? I need to create a form where a user fill some input fields and on submit ...
0
votes
1answer
1k views

Remember form field values with page navigation

I have a form on a page template that controls which posts show up on the page and how those posts are ordered. You can see what I mean here: http://www.theseattlevine.com/the-vine The questions I ...
0
votes
2answers
492 views

Downloadable content only for subscribers?

I'd like to use WordPress to set up a whitepapers site. Any user can check the main site with a list (blog format) of white papers available. But if a user wants to download any whitepaper, he has to ...
0
votes
1answer
106 views

how to add a custom form in a page

How do I add a custom form to a WordPress page? I do not need contact form I need a custom form that has my own fields. Some fields get data from a database table like cities and country or any other ...
0
votes
1answer
141 views

Form Submission Warning: Cannot modify header error only when plugin is deactivated

I have created some custom post forms that I'm now using in place of a plugin called WP User Frontend which allows you to post and edit from front end. These post forms we're working great but when I ...
0
votes
2answers
4k views

Contact form 7 select box different value-text then content-text in option

DSoes anyone know how I can set a different valute in the select-options in contact form 7 plugin? Here is an HTML example of what I'm trying to do <selct> <option value="1">My ...
0
votes
2answers
707 views

Plugin that will output submitted form data for user?

I have a standard HTML form that the visitor will fill out. It consists of mostly checkboxes. What I would like, is after the form is submitted, a page is then presented to the user showing what ...
0
votes
2answers
387 views

How to handle forms from sidebar widgets - Processing $_POST variables using get_field_name()

Thanks to Wordpress calling their content 'posts', it makes it hard to find information on dealing with forms submitted with the POST protocol. My question is simple, the answer should be simple to a ...
0
votes
2answers
954 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 ...
0
votes
3answers
1k 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
159 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 ...