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
2answers
233 views

Dropdown List Won't Display Selected Option After Submit / Refresh

I created a user form on my index page which allows the site visitor to re-order my post loop order based on either most recent posts or highest rated posts. The form works perfectly, the problem is: ...
0
votes
0answers
2 views

Processing form post data using database queries to construct custom query string

I have a form on my wordpress site. On form submission I want to: 1) Capture the form data 2) Run database queries using these data 3) Process the results and use these to construct a query string 4) ...
1
vote
1answer
23 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... ...
0
votes
1answer
11 views

Save/retrieve form data best practises for theme development

I'm building a theme and I have a custom page template with a <form> which is for the vistors to fill in and submit. I'm processing the data with help from hooks and this is all separated from ...
1
vote
1answer
372 views

WP Login forms action URLs displayed as pretty URLs in browser (ex with Restore Password)

I would like to use the WP native login/register/restore password/.. functionality, but display pretty URLs instead of wp-login.php I've been looking at the core code and noticed that most login ...
0
votes
1answer
248 views

Update user meta on custom wordpress form and redirect

I have a fully functioning custom wordpress form that updates the user meta when they are logged in, however when I submit it just reloads the same page I am on, I am trying to get it to redirect to a ...
0
votes
0answers
6 views

Link to a page in a multi page form [on hold]

Sorry for the following generic question, but I've look all over the web and Im 90% sure its not possible. I'm using Formidable Forms and have created a multi page form. My question is; does anyone ...
1
vote
1answer
488 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 ...
0
votes
0answers
4 views

Need help creating Multi-steps registration

Hi guys I'm using buddypress's Xprofile feature to add more fields to the registartion form , what I want is to make it a multisteps registration where in the first page a user can only enter his name ...
0
votes
0answers
20 views

Contact form spam, without form?

I previously had a contact page with the theme built-in contact form. I received a lot of spam with that form, and one day I had to change it to add functionalities (upload to google docs) and I ...
0
votes
1answer
800 views

Conditional two level dropdown filter for custom post type

I have set up a custom post type and taxonomy. The post type is called Local Services and the hierarchical taxonomy is called Regions. The Regions have child categories called Areas. I have set up a ...
0
votes
1answer
55 views

Has anyone tried putting PHP ActiveRecord on Wordpress?

I have worked with Ruby on Rails and I was looking for some code that did something close to the wonderfull RoR's ActiveRecord. I stepped by this site. Its PHP-ActiveRecord! I found it amazing, and ...
0
votes
1answer
16 views

How to create input page in Wordpress admin panel?

I have never used wordpress before and I'm trying to learn it now, I hope in this forum we can discuss about wordpress more, so I can more understand about it. I have problem, that I want to create ...
0
votes
0answers
13 views

Saving checkboxes for specific user

In my website i have a bunch of checklists with checkboxes <input type="checkbox"> Option 1 <input type="checkbox"> Option 2 And so on. How would i be able to save these ...
0
votes
1answer
290 views

Display additional form options based on Category selected $categoryId = $_POST['cat']; not working

I have a conditional statement to show certain images to choose from (radio buttons) based on the category chosen, however when the category is chosen, the radio buttons don't show? What am I doing ...
0
votes
1answer
280 views

How to add a onclick attribute to a list of checkboxes?

I have this array for checkbox: array( 'name' => __('Latest Product',''), 'desc' => __('Select if you want to display latest product',''), 'id' => $prefix . ...
0
votes
0answers
9 views

Saving checkbox values [closed]

My website contains a few checklists and i would like them to be able to be saved for every specific visitor. These checklists are just simple input forms in the html editor in wordpress.
0
votes
0answers
8 views

how to include radio buttons “other choice” value in calculation [closed]

I have a set of radio buttons with "other choice" enabled. How can I include values entered in the "other choice" box in a calculation/formula field. If I select one of the radio buttons the value for ...
0
votes
0answers
14 views

Add SELECT in search form

I'm trying to change the searchform adding select tags. In my theme, if I search "a b c", the search result in the URL is "/?s=a+b+c", but with the new form I am not able to print the sum. This is ...
0
votes
0answers
13 views

How should I include a contact form in a premium theme? [duplicate]

So I am researching into creating a premium wordpress theme however am wondering on the best way on going about creating a contact template, in terms of using a plugin for the contact form or create ...
0
votes
1answer
384 views

Custom Contact Form Not Sending (but not giving error)

hope things are going well. I'm attempting to add a custom contact form to a section of home page. I came across a custom contact form at https://gist.github.com/hansspiess/6815875. I implemented the ...
0
votes
1answer
47 views

How to redirect to a page after the form is submitted

I am New to Wordpress.I am creating a Plugin Where I have to import a csv File to database.Uploaded and Entered data Successfully.But my Problem is once the file gets uploaded it shows a blank page ...
0
votes
0answers
11 views

Prevent submission of widget form

How can I prevent submission of a widget form? The following doesn't work for me. And preventing submit won't work because Wordpress uses Ajax for those forms. jQuery(document).ready(function($) { ...
0
votes
1answer
40 views

Creating wordpress user registration form

I am having a form page called Test Form with this form : <div id="container"> <form action="wp-content/themes/max-magazine/TestForm.php" method="post" name="myForm"> User <input ...
2
votes
3answers
291 views

How do I save data from submitted form from widget

I'm looking over internet for some simple solution of email subscription widget but no luck. Or they are too complicated and paid, or they are relaying on some external email functions. I'm not a ...
1
vote
1answer
5k 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 ...
0
votes
1answer
25 views

Make a page (url) not cacheable [closed]

How to setup a wordpress-page in wordpress as non-cacheable in wordpress? I have made up a form manually for a page(wordpress) and I want to make that page not cacheable by browsers. How can it be ...
3
votes
1answer
391 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
35 views

How to selected value default in option list?

I researched but did not find right answer to my question I have custom post type for states, cities and countries and would like to set the default value in the country list for "Argentina", but do ...
0
votes
1answer
1k views

Accept AJAX call with serialized form data

I'm trying to pass a wordpress plugin some form data via ajax and it works just fine, unless the form data is serialized, then the server responds with an error message. I'm stuck with this for days ...
2
votes
1answer
144 views

How do I setup nested repeatable option fields?

I'm trying to wrap my head around how to create a set of option fields that should be able to repeat for as many times as possible. But I'm having a hard time to figure out how to proceed. Currently ...
0
votes
1answer
44 views

How to use wp rewrite to hide form action url?

I have a widget that I'm making that builds a multi-step form which retrieves xml data from a third party plugin (http://xmlplugin.com/geoquote.php). While this plugin is available for use already it ...
1
vote
1answer
442 views

Duplicating/Cloning Multiple Form Fields

Not sure what to call this one, but I am working on a form that asks for product information (name, description, color, features, etc.) but what I'd like to do is give users the option to add ...
0
votes
1answer
233 views

Search a title word through query_posts (not the exact match)

We're working on a database with personal data from different sportsmen such as name, height, weight, etc. We've managed to build a detailed filter through query_posts. Every filter field is working ...
0
votes
1answer
44 views

Adding a Filter to Sidbar Login Plugin to Change Login Button Lable

I'm a newbie and I have not been able to find an answer to my question. I have installed the Sidebar Login plugin and I'm trying to change the form labels, specifically,the login button label. I ...
0
votes
1answer
1k views

Using AJAX to run sql statement and populate dropdown

I am trying to create a search where the user select two different bit of data from databases and it them prints some results that meet requirements. I know I need to use ajax or something similar but ...
1
vote
1answer
47 views

wp_mail file attachment not being placed in upload folder?

I have a form where I want users to be able to select an image to upload. The image gets temporarily uploaded to the wp-content/uploads folder, is attached to the e-mail and then is destroyed. Right ...
0
votes
1answer
41 views

Call another page in forms

I am doing some practice for WordPress plugin. In plugin I am working on a form and what I need is to call another page on submission. I have tried that but nothing seems to work. <form method = ...
0
votes
0answers
31 views

Saving custom form fields

I am creating a plugin. So far I have created a menu and a page containing the form. I want to save these form fields for any user with 'Doctors' role. I think it should be saved under wp_usermeta ...
0
votes
5answers
728 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"> ...
0
votes
2answers
1k views

How to append new form elements in “Add New” form of Users in Wordpress admin panel?

I'm developing a WordPress plugin and I want to append some extra form fields in add new form of Users section inside admin panel without editing core files. Can somebody help me in achieving this.
0
votes
0answers
17 views

Mail after registration with user notification

i have a custom registration form ` global $wpdb, $PasswordHash, $current_user, $user_ID; if(isset($_POST['task']) && $_POST['task'] == 'register' ) { $pwd1 = ...
2
votes
2answers
530 views

Gravity Forms Custom Templates

Im trying to further customise my Gravity Forms "Address" labels. At the moment they read "Street Address", "City" and "ZIP / Postal Code". I, for example, want to change "ZIP / Postal Code" to "Post ...
0
votes
1answer
36 views

Wordpress registration page template

I'm very new in wordpress, and I have a client that needs a custom registration/login form on the front-end side. I also need custom user fields. (phone, company name, about, blog url, etc). For the ...
0
votes
1answer
81 views

WordPress Frontend Post Form (Bootstrap Modal) Not Creating Post

I have a form in a separate PHP file in the theme directory and it's being included in the sidebar of the main page template. The form is inside a Boostrap modal. I've been trying to use this code to ...
0
votes
1answer
277 views

How to put a form with php code into a variable or shortcode?

I'm trying to put my frontend form into a variable or a shortcode so I can wrap another shortcode around it (specifically Bainternet Post Creation Limits). My form has PHP code in it so I'm not ...
0
votes
1answer
34 views

How to redirect user to a page after form submission

I have three dropdown filters on the front site to select country, territory and region and need to redirect the user to the country/territory/region page depending upon the filter values on click of ...
6
votes
4answers
5k views

How to handle form submission?

I'm new to wordpress and hence facing some issues. The use case scenario is as follows: A user is displayed an application form to start a club in his school. The user fills the form and hits the ...
0
votes
0answers
24 views

Forms - Populating registration form fields

I am building a BuddyPress site and have run into a snag I hope someone can help me with. I have 4 different categories with sub-categories of all 50 states in each of them. Each of the 4 categories ...
0
votes
0answers
23 views

Front-end form submission not creating post

I'm trying to use a front end form to create a post. I've been trying for a while now but I the post is not created. I'm using the code below, i'm not sure if i've forgot something. <?php ...