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
183 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
396 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 ...
1
vote
1answer
168 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 ...
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
606 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
2k 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 ...
1
vote
1answer
6k 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 ...
1
vote
3answers
362 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?
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
186 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
2answers
645 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
1answer
569 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 ...
1
vote
1answer
28 views

Display users uploaded files as posts

So I have implemented the functionality where anyone can upload certain types of files with a title and description. I am having trouble with the idea displaying them as posts or list in the a certain ...
1
vote
1answer
277 views

Add Div to Comment Form

I have some code that displays my comment form and my custom validation, what I'd like to do is add a div right underneath the title, but I'm not sure how to do that because that code is generated... ...
1
vote
1answer
75 views

How can I do a URL redirection when an user uses wrong login details?

I have got this form for login from the front-end. <form action="<?php echo site_url('wp-login.php', 'login_post'); ?>" method="post" <?php /*id="login-page-form"*/ ?>> ...
1
vote
1answer
441 views

using update_user_meta in form to set and get custom meta

I have a template where a user will set some custom meta values via a form on the front end of my site. I call this form via a function in my functions.php file. Currently when the text inputs are ...
1
vote
3answers
111 views

Post form as custom post

I'm new to WordPress and need to create a website including a special form, with which I can upload photos, set my position on an OpenStreetMap and choose from several dropdown menus. Here you can ...
1
vote
1answer
495 views

Error on inserting a form value to database

hi i have decided to store few values in a separate table, So i created it and now i used a form to store values but when i process that form i'm getting error Trying to get property of non-object and ...
1
vote
1answer
321 views

Custom profile field with birthday. Troubles with <select>

I made custom profile fields for birthday data. function my_user_field( $user ) { $birthday_day = esc_attr( get_the_author_meta( 'birthday_day', $user->ID ) ); ...
1
vote
5answers
1k views

How to trigger $_GET request within admin plugin page?

I have this form in my plugin function: <form method="get" action="" enctype="multipart/form-data"> <p class="submit"> <input type="hidden" name="do_it_hidden" value="run"> ...
1
vote
1answer
552 views

jQuery Validate wp_editor

I have a form, and in the form, I use <?php wp_editor('', 'user_submitted_progress', $settings = array('textarea_name' => 'user_submitted_progress')); ?> to generate a TinyMCE, rather than ...
1
vote
1answer
614 views

Check spam in custom form - akismet

I have a plugin that has input form, I have decided to check submitted data with akismet. I do have API key, WP comments are filtered correctly... here is, what I found: ...
1
vote
1answer
9k views

Insert data in database using form

I am writing a simple plugin that create a table with name "newsletter" in database and provide a shortcode to put a registration form in pages. the form contain "name" and "email". i have problem ...
1
vote
2answers
146 views

Is it possible to create a form post wordpress custom navigation link?

I work with a church that has a donate button on their site. The button uses a form post to connect with their simple checkout item and they want a button on the navigation to link to the donation ...
1
vote
2answers
314 views

Having a Function Inside of the Loop

I am trying to make a frontend product editor for WooCommerce, and have a loop that returns all of the products for the current user. I am trying to use gravity forms as the editor, so a single ...
1
vote
1answer
964 views

Add new user and site per front end form

Do you know any multisite plugin which allows users to create a user account and a site after a form submission. After the form submission, the form will automatically add a site in the network admin ...
1
vote
1answer
95 views

Template plugin for blog posts? [closed]

can someone recommend a plugin to do the following? My wordpress CMS has two types of users: administrator and editor, both of whom are not technologically savvy, so they need things to be super ...
1
vote
1answer
908 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
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 ...
1
vote
1answer
811 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 ...
1
vote
1answer
676 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 ...
1
vote
1answer
553 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 ...
1
vote
1answer
261 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
2k 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.
1
vote
1answer
949 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 ...
1
vote
1answer
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
vote
1answer
666 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
1answer
156 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
vote
1answer
332 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?
1
vote
2answers
732 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 ...
1
vote
1answer
981 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 ...
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 ...
1
vote
1answer
50 views

How to use the built in tooltip for form validation error messages in WP admin plugin?

I'm building a wordpress plugin that includes serveral menus in the wordpress backend (admin). I'd like to use as many existing parts as possible and make my menus look like the standard wordpress ...
1
vote
1answer
14 views

Using Contact Forms to Send Private Information [closed]

I am working on a site for a Doctors Office who wants to use a contact form to send information about their patients to other offices....I was going to use contact form 7 but I'm wondering if there is ...
1
vote
0answers
31 views

Styling my own password protected page, how to deal with wrong password?

Per these instructions I've cooked up a custom password protected page for some of the pages on my site: <?php if ( post_password_required() ) { add_filter( 'the_password_form', ...
1
vote
1answer
58 views

How to make front end form only accept certain values

I have a front end form, I need that form to attach a taxonomy term to the post, however, I have offered users a dropdown of options, 'a dropdown of custom taxonomy terms.' To create this drop down i ...
1
vote
1answer
37 views

Can you have more than one nonce on a page?

I have a site with a page where there's one form in the sidebar, and one in the main body of the page. The sidebar comes first in the HTML. Both forms have their own nonces (generated with ...
1
vote
0answers
96 views

Ajax form submission from admin panel

I have created a page in admin panel and there I have created a form for CSV export/import . Action of my form is "/wp-admin/admin-post.php" . I want to submit that form via ajax . I want to remain on ...
1
vote
0answers
75 views

Handling results from data hooked into admin_post

I'm writing a plugin that uses a form to pass some data through to itself. Is there any way to do this "The WordPress Way"? Sample form code (on a custom submenu page added under "Tools"): <form ...
1
vote
1answer
54 views

WP Plugins - Use includes to display page content

So I have a plugin I have been working on. It adds a menu and multiple submenus. Each submenu page contains a form, this form is created in a function called add_content_submenupagename. This ...