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
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
18 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
10 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 ...
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 ...
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
19 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 ...
-3
votes
0answers
27 views

Session getting destroyed [duplicate]

I have started session from config.php if (!session_id()) { session_start(); } Have added the code in header.php: session_start(); To maintain the session But My website is destroying ...
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
1answer
54 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
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
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
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
39 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 ...
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 ...
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
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
46 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
40 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
0answers
16 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 = ...
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
80 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
33 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 ...
0
votes
0answers
23 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 ...
0
votes
2answers
231 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
2answers
23 views

Checkbox won't check when label is clicked

I'm not sure if this is a WordPress specific issue but when I create a simple form as a widget in my sidebar the checkbox won't check when I click on the label. Strangely though, it does work when ...
0
votes
0answers
19 views

Contact form with dynamic recipient

I am creating profiles of people where each person is a custompost; I need my customposts have a contact form send mail to different recipient. I have already created a Metabox in which to put the ...
-1
votes
1answer
34 views

Forms won't submit

I have a brand new theme that I just built out using _s's (underscores) that won't submit forms. Here are the errors I get in the console: On submit: Uncaught Typeerror: cannot read property: ...
0
votes
1answer
24 views

Redirect loop upon installation of my plugin

I have created a plugin that uses a shortcode [MyCreditStatus] to display a form (multi-page form). This plugin uses an API that I also made. When I try to install the plugin, there are times that ...
0
votes
0answers
24 views

Form request to page in admin panel

I'm current creating a small WordPress plugin for personal use and i have a problem with making forms working. Since i found some problems using the same page with refresh i created another php page ...
0
votes
1answer
51 views

Ajax contact form return 0

I have a contact form that I want to submit using ajax. It seems like send the data, but the only retrieved is 0. HTML form: <form method="post" ...
0
votes
1answer
59 views

Contact Form 7 order catalogue issue [closed]

I have an issue with contact form 7.I have an idea to make page with catalogues/products for ordering,but i would like to use contact form 7 for it.So my idea is to create post type for ...
0
votes
1answer
41 views

How do I convince this button to do something when it is clicked?

I'm trying to use ajax to give me an alert when I click a button. Eventually I want it to do some form validation, but for now I would be happy just to see the alert. I've read the docs and about a ...
0
votes
1answer
27 views

limit characters when posting from form

I have a form were users can post question on my page and I would like to limit the characters in the description part of the form. It would also be a plus if I could get a word counter to work. The ...
0
votes
0answers
22 views

Populating a form with SQL queries

Being a 'learning by example' kind of guy, I've populated a form using this code; <?php $meta_key1 = 'area'; $postids = $wpdb->get_col( $wpdb->prepare( " SELECT ...
0
votes
0answers
24 views

Wordpress multiple forms

I have a question on how to approach the following situation. When you have a website like: www.green.com/page1 www.green.com/page2 www.green.com/page3 www.green.com/page4 With on every page a ...
1
vote
1answer
37 views

Using POST method in meta box, no results

I'm having trouble figuring out what's going wrong with my code. I created a meta box for a custom post type (project) that adds people to the project via the edit project page. The box also displays ...
0
votes
0answers
24 views

Search Form Including Price

I've been searching through posts & tutorials for four days now without any luck. My background is front-end web design but the latest project calls for a little more in depth work. I'm looking to ...
0
votes
1answer
59 views

Custom Taxonomy Not Saving in Front End Post

I am trying to create a front end posting form that will allow users to create a post when schools are closed. I have 4 custom taxonomies closed_schools, study_open, safe_arrival, hour_delay. each has ...
0
votes
1answer
126 views

Form isn't inserting data into database with ajax plugin

I've been working at this for weeks without success. I've figured out problem after problem with the code, but none of the corrections seem to fix my core problem. The form doesn't insert anything ...
0
votes
1answer
37 views

Echo out element to another page.

I have a small plugin that displays how many submissions are left on current ninja form. And writes it out as so <p id="submissions-left">hurry only 25 submission left. <\p> And tacks ...
0
votes
0answers
26 views

Update entry in WP database through backend form

I'm trying to find a way to UPDATE a entry in my WP DB via a form. My idea is to grab the current entry values, link to another page with another form and display them there inside containers. That ...
0
votes
1answer
30 views

Headers for Contact Form are wrong

I am using a simple contact form I created myself that consists of just a script (php) and a WordPress shortcode. It works fine except the headers are saying something like foo@somewebhosting.server54 ...
0
votes
1answer
101 views

Why is contact form not working?

I am using a custom contact form plugin from code.tutsplus but it is not working. It looks as if the form is sent because I get the confirmation badge, although I receive no email (I have tried ...
0
votes
2answers
61 views

Custom form in admin area, redirect in wrong page

I'm writing a custom form on my plugin settings area. <form action="<?php echo admin_url('options-general.php?page=yasr_settings_page') ?>" id="form_add_multi_set"> ...