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
1answer
429 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
187 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
908 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
136 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.
0
votes
1answer
79 views

Creating fields in the database

I am newbie to wordpress plugin and this is my first plugin which I am doing now. I want that when the plugin will be activate it will make some predefined fields in the database and also the same ...
1
vote
1answer
3k views

add_filter the_content str_replace after shortcode

I want to add a PHP str_replace to the add_filter('the_content') function. I believe my problem is that the shortcodes are loading after the str_replace is called. I have a shortcode that outputs a ...
1
vote
1answer
746 views

How to Validate Widget Input

I have been working with widgets and widgets API. I see that the widget form is rendered and processed through widget() function. I can write validation logic inside the widget() function. I will ...
1
vote
2answers
3k views

Show selected value in a drop down menu

I have a multisite setup and I am adding some additional information fields in the profile edit screen in my theme's dashboard. I am primarily using text fields however I have a drop down selection ...
0
votes
2answers
42 views

wordpress blog, is there a way to make anyone post in a blog without having login info

I am creating a wordpress blog site with some custom function. One on the thing that I need to do to have a function where user can post to blog without using login information. Is that doable? I know ...
2
votes
1answer
129 views

Where should my plugin POST to?

I'm creating a simple plugin to set a page as a homepage from the list pages (to appear next to edit, preview, trash actions etc), I was just wondering what that the most appropriate/secure place to ...
0
votes
1answer
279 views

Form post to Wordpress page = wrong template

I'm using permalinks and I have a page with a slug like this: http://www.mysite.com/jobs/ The page uses a specific template for itself. On another page I have a form that I submit as POST to ...
1
vote
1answer
8k views

Create a registration form with a PayPal checkout fee?

My client is looking to start taking online registration for their many conventions and events. Previously they handled this all offline with PDF documents and in person payment. I'm looking for ...
0
votes
3answers
989 views

In admin panel, use a form to create a post?

I'm unfortunately working with rather thick headed clients who insist they need a "form" to fill out instead of the normal WP WYSIWYG Post editor. I tried to tell them that they could hide the parts ...
2
votes
1answer
705 views

One comment per user per post

How can i disable the comment form, if the user is already submitted a comment for the specified post? I am using this now, but this is only good for 1 post / user / website. <?php global ...
1
vote
1answer
6k 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 ...
1
vote
1answer
1k views

How to modify the action attribute of the wp-login.php?action=register form?

I'm trying to create a reference registration system in Wordpress. The idea is that the user will click a link which will contain wp-login.php?action=register&ref=12345 I'm hooking into the ...
0
votes
2answers
628 views

Allow users to enter and edit data in one-to-many configuration

We would want a user to login and be presented with a form that they would potentially have to submit multiple times (disclosures of any industry relationships, one form per disclosure). The ...
0
votes
2answers
407 views

Is there a WordPress form plugin that can easily be configured for Google Analytics goals?

I don't want to have to make use of a destination url, so ideally I would like to be able to add the onclick="_gaq.push(['_trackPageview', '/G1/whatever']);" event to the submit button on the form.
5
votes
2answers
180 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.
0
votes
1answer
340 views

custom contact form no longer working (because of 3.2?)

Been trying to ask on Wordpress forums, but no hits. I'm hoping there are more people here that can help me. My custom contact form page used to work, but for some reason, it results in a 404 error ...
0
votes
1answer
1k views

Help with forms and nonces

I am trying to create a nonce to use with a (public-facing) form. Below is my code: function my_form() { if (isset($_POST['submit'])) { $name = $_POST['name']; $description = ...
0
votes
2answers
2k views

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

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 ...
3
votes
2answers
1k 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 ...
1
vote
1answer
1k views

How to bring registration field to index page? [closed]

I am using wordpress and buddypress for my site and my registration works perfectly on www.mysite.com/register, i need to bring the registration fields to the home page(index.php). My register page ...
1
vote
3answers
5k 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

WordPress custom form action url

Is there any way to replace standard WordPress comments form action, which usually looks like this: <form action="<?php echo get_option('siteurl'); ?>/wp-comments-post.php" method="post" ...
-1
votes
1answer
117 views

Standard API for rendering a date form

I'm hoping to enhance an existing plugin's setting page by adding an 'end date' form. I know how to add text and other form fields but was wondering if there is standard function that will render a ...
0
votes
2answers
2k views

easy steps to make front end form without plugin

i don't know this topic might covered else where. but i am trying to find step by step simply tutorial. to make a plugin where i can add a new page to site. and in that page i put some form. and only ...
0
votes
2answers
279 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
1answer
1k views

Exclude category from drop down list form

I need a bit of quick help. How do I exclude category ID number 50 for example in drop down list form in Wordpress? I have this code and I need to just insert the excluded category id. <?php ...
0
votes
1answer
140 views

Custom forms with HTML

Will there be any issues with creating a custom form in the index page? Will I be able to get and post requests? It's a simple email validation form and once validated, the user will be able to ...
1
vote
3answers
371 views

Custom CSS for plugin form

I have a short code that is adding a form to a page. How do I ensure that the CSS for the form is loaded in time with the shortcode?
0
votes
1answer
225 views

Standalone form does not post to the url when form fields are populated (otherwise it does)

So this is weird.... I have a form I've created myself (not a plugin, this is what I mean by standalone), and for some strange reason it does not post to the form's action when the form fields have ...
4
votes
1answer
2k 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 ...
1
vote
2answers
840 views

How can i add validation to this login form with out it redirecting to the wp-login.php page

Im using the code as posted on the website below, to create a hard coded login form. http://www.wprecipes.com/add-a-login-form-on-your-wordpress-theme What would be the best way of incorperating some ...
1
vote
2answers
2k views

Using the WordPress selected() function

I'm using the WordPress selected() function to display the current option in a dropdown list. The issue I am having is that for some reason WordPress is printing out selected='selected' above the form ...
0
votes
1answer
141 views

How to go to tag archives using a form

I've set up a custom post type called 'properties'. These posts can be tagged with the custom taxonomies of 'area' and 'university'. I would like to be able to have a form with a drop-down for each ...
2
votes
1answer
1k 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 ...
11
votes
1answer
6k 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 ...
0
votes
2answers
829 views

Why after a form post back, I get 404?

I am creating a contact form page. Perhaps I am doing it wrong? I have something like <?php // even when I remove this validation block it fails if (isset($_POST['name'])) { // do validation ...
0
votes
2answers
6k views

How to add search form in main page body?

I'm fairly new to wordpress. I'm trying to develop a website with search option to find available room information. I would like to add a search box where people would be able to enter their ...
1
vote
3answers
1k views

Comparing formidable pro and gravity forms [closed]

Has anyone come across any good reviews/comparisons of gravity forms and formidable pro? I am trying to find more information on both. I have a couple of sites that need several forms for adding ...
1
vote
1answer
157 views

Navigational drop-down lists in Wordpress?

I'm trying to simplify a set of links by placing them in a drop down list (form style) with a submit button that will take users to the page in question. Ideally, I'd like it to behave like the ...
-1
votes
1answer
149 views

Will my Wordpress site become vulnerable after adding this functions which allows more HTML tags for subscribers?

I was thinking of adding the following lines of code to my functions.php file: /** * Change the default list of allowed html tags */ add_action('init', 'edittag', 10); function edittag() { ...
2
votes
1answer
189 views

How to sent one form values to 2 different sites in wordpress

I am trying to post values in a form into 2 different urls. Is this possible? Basically i want to have a form send the form optin values into aweber and send a email with the filled in values. I am on ...
1
vote
1answer
187 views

Varying Search Result Pages

I have two different kinds of search results on my site and I'd like to change the look of the search result page entirely. I've played around with the search form a bit but I'm unsure how to force it ...
0
votes
3answers
2k 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
1answer
3k views

Saving data to database and exporting to excel

I'm creating a form in a blog for users to register their emails so I can send a newsletter later but I don't want to use any newsletter plugin for that. I'd like to save the emails and than export ...