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
46 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
0answers
111 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
83 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
0answers
31 views

Let readers suggest edits from the frontend

I'd like to make my articles editable at the front-end for any reader who visits the site. (More like a wiki). I don't really want to trouble them through the registration process. I have no idea how ...
1
vote
0answers
332 views

Contact form won't submit

I posted this on the Stackoverflow site and haven't received much assistance with the issue. I hope that, by reposting it on here, someone could please offer me any assistance. I am creating a theme ...
1
vote
0answers
53 views

Edit Custom Post Type on Custom Admin Page instead Post Admin

Background: I am still quite fresh to coding and WordPress. For me the best way to understand, is to work on a specific project. Project: I want to build a Customer Relationship Tool for WordPress ...
1
vote
0answers
381 views

jQuery and AJAX Not working with Select Form Element

I seem to be having a strange issue with jQuery and a newly-created AJAX form/function. I'm pretty new to AJAX so please bear with me. Here's the jQuery: ...
1
vote
0answers
76 views

Search Query: how to construct a search string from two select elements?

Im trying to create a wordpress search widget. The final search string Im trying to submit is made up of two keywords, one each from a select element. I'd like the final search query to be ...
1
vote
0answers
169 views

GET form action. Redirect to self

I'm writing filter for posts by category on author page. I send category name in $_GET array in this form: <form action="" accept-charset="UTF-8" method="get" id="form1"> <select ...
1
vote
0answers
90 views

Post submit using shortcode and init

I'm trying to find the best way to return errors to a page once a form submitted by using a shortcode. I'm adding a function to init such as - add_action( 'init', 'contact_form_process_post' ); ...
1
vote
0answers
89 views

Image upload and other options in the same plugin settings form?

I write a wordpress plugin. My plugin has two options. One is an image upload mechanism and the other is a checkbox. My code is below: <?php /* Plugin Name: Plugin Name Plugin URI: Description: ...
1
vote
0answers
110 views

Login to wordpress by clicking a link and specifying usernaname and password in url

I'm running a php application on an ubuntu server that's completely independent of my wordpress site. I'm using an iFrame of the server inside the wordpress site, but I need to login to Wordpress with ...
1
vote
0answers
60 views

Search form not finding content in template page

I created some template pages on my wordpress theme and when I'm trying to do search for some words it returns Nothing Found. When I tried to search for words from the posts or normal pages(Not ...
1
vote
0answers
264 views

Wordpress running SQL query to update database from form

Basically I want to take information in from a form and use a separate php page to update the database. so here is the original wordpress php page (add_person.php): <?php /* Template Name: ...
1
vote
0answers
175 views

Dynamically add more fields/remove last field in a form

What I want to achieve is to build a form, which contains buttons "add one more field" and "remove last field" that would do exactly this - add a field dynamically to my form or remove the last one. I ...
1
vote
0answers
559 views

jQuery Plugin to use Wordpress functions in AJAX request

I'm using Chained Selects jQuery Plugin to create multiple chained selection fields. I'm using the remote version of the plugin to build the related options by means of AJAX request from a separate ...
1
vote
0answers
48 views

Showing errors from processing function on form

I use a function from my functions.php to process a front end post form. I store the errors in the variable $output but need a way to show it on the post form after submit. How can I do that?
1
vote
0answers
67 views

Submit custom form from post content and execute in plugin

I have prepared custom form (quiz plugin) with embedding in custom posts via {{QUIZ_ID}} placeholder. My form is displayed in post correctly but bigger problem is what form action should I create (and ...
1
vote
0answers
194 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
0answers
506 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 ...
0
votes
0answers
19 views

How to display user_meta from form?

I have a form on my website where a user can choose their location from a dropdown list (eg, France, Italy, Germany, etc) when they are writing a post. This is the code used for the LOCATION field: ...
0
votes
0answers
28 views

Attempting to display User Meta details from form

I have a form on my website that users can fill in when creating posts. One of the fields asks for their location (as below): <?php $locs = get_user_meta($uid, 'user_location', ...
0
votes
0answers
19 views

Submit form to another template (ugly url)

I've created a submit form with some filters that makes a query request: <form action="<?php echo get_template_directory_uri();?>/list-items.php"> my form here... </form> Created ...
0
votes
0answers
17 views

Calling the correct permalink via form action

Okay, I have a bit of an issue with my sites search widget If you go to this category page (for example): http://socialvenues.com.au/melbourne/function-rooms then select a region and then city (for ...
0
votes
0answers
13 views

Direct Form access

I am using calculated form plugin to auto calculate the value. To fill a form user has to first create a new post/page and then use shortcode for the form. I want a direct link for form, where user ...
0
votes
0answers
16 views

How to make WordPress forms secure (HTTPS)

I've been trying to get my site to run over HTTPS for ages. At the moment (in Chrome) I have the padlock but have the yellow triangle over it because some content is insecure. I check out the console ...
0
votes
0answers
17 views

admin_post_nopriv did not processing submited form

I am creating WordPress widget to generate a form. When user submit the form so it will be processed to send an email to me. The code works well when the submiter is a logged in user. It sent an ...
0
votes
0answers
24 views

Wordpress action form url doesn't work

I have a page-contact.php (i have my custom form) <form id="contact-form" name="contact-form" method="post" action=""> <input type="text" name="name" ...
0
votes
0answers
93 views

Sending post request to admin-ajax.php but $_POST['data']['events'] is NULL

I am trying to debug a plugin that I purchased but I have come up short and could use some help. Whenever I attempt to save settings that are stored in the "events" object (see below) the plugin ...
0
votes
0answers
28 views

wp_mail links are dead

I am trying to make a pseudo-newsletter type plugin which will email that authors of certain posts. The email sends the contents of a textarea with some extra text added to the end of it. I've sent ...
0
votes
0answers
86 views

Changing a field value on submit using a PHP variable

Preface: Ok, I know people are going to tell me "use JavaScript" To you people I'll say "No! I don't want to!" but I have a valid reason: Problem overview: I have a plugin which ...
0
votes
0answers
41 views

Collecting Sensitive Data in Wordpress?

I am in need of creating an online application form that collected a users SSN number and am therefore concerned with security. Is this possible to do on WP with existing plugins? My research thus ...
0
votes
0answers
115 views

Ajax Form data is not posted back to the get_results()

I am trying to run a wordpress wpdb->get_results select query and I want to get the search criteria from a textbox. I want to do it form and with ajax without refreshing the page. No matter what I do ...
0
votes
0answers
36 views

using a function in functions.php to process a form generated in functions.php

so i have a site where users can rate items, it saves their ratings to a mysql db and also tallies the average for the item, saving that as well. as it is a generic function and there are hundred of ...
0
votes
0answers
94 views

Unbind Form from Ajax Submit

I am working on a wordpress site that has the plugin contact7 installed. I have created my own form, and because of contact7, when I submit it, it is processed via ajax. How do I undo this so that it ...
0
votes
0answers
25 views

Delete Users using a Front End Form

I viewed this question and would like to see how it was solved. I've been looking all over for help with this. I'm not sure if this link needs to be used within a <form> element. This is the ...
0
votes
0answers
108 views

$_POST form request with admin-post

I tried to use a form with the following markup using the action admin-post.php <form method='post' action='admin-post.php'> I'm using the action hook suggested by Wordpress to proceed the ...
0
votes
0answers
11 views

How map form enteries from DB to a page

I have a form that specific user role will fill out (using a form plugin). I need to display certain parts of that form in a page. Is there a plugin that can do this? As you can tell, I'm not a ...
0
votes
0answers
72 views

jQuery color picker function on change

So I'm writing a Wordpress plugin that generates a live preview upon changes to a php form using ajax. Everything is working great, but one little issue with jQuery is not quite right. Normally, when ...
0
votes
0answers
85 views

how to capture the value of the selected parent category

I am very new to WordPress as well as coding and I am stuck with one of the form field, which has a select box for listing all categories and sub-categories (taxonomies) in it. But I would like a ...
0
votes
0answers
10 views

More fields on custom signup page

I have recently read this question. --> How to edit a user profile on the front end? Now, i am thinking of to build a custom signup page for my site. But, i searched over the internet i found all ...
0
votes
0answers
36 views

Data not saved Wordpress Custom Admin Page

I try to create an option page for a Wordpress theme. I manage to create the page, the Metaboxes , but when I send the form, the data are not saved. Before I show you my code , I specify that I use a ...
0
votes
0answers
62 views

How do I handle a form submission to a custom page template?

I have an html form on homepage which list some cities and areas in dropdown.When user submit the form I want to display wordpress authors/users based on those city and area selected. I already handle ...
0
votes
0answers
196 views

value not saving in the form when dynamically creating an input

var AppendDivStore = jQuery(".AppendDivStore"); jQuery('<input />').attr( { type: 'text', class: 'PastetheSkillsValuemy'+inc+'', id: 'wpjobus_resume_skills['+inc+'][1]', name: ...
0
votes
0answers
19 views

Editable form with database

I want to create a profile page in which user will give title and description for it.this title should be visible in list on same page by clicking on it associated description should get open for ...
0
votes
0answers
8 views

Accessing current post data through a function

I'm using ninjaforms on my wordpress site and i have a form that is displayed on my post template. The idea behind the form is give the user a PDF file once they have completed the form. I need to ...
0
votes
0answers
56 views

Simple email input store in database

I'm trying to build a really simple form to store email adresses in the wp database for future newsletter purposes. What I have is just a single email input: <form method="POST"> <input ...
0
votes
0answers
70 views

Creating a custom Search Form that links to a custom database?

I'm kinda new in Wordpress and I'm still learning as I go along. Currently, I'm trying to create something like this I have a custom set of database in the server in mysql with a table. The ...
0
votes
0answers
58 views

Insert data to DB

I create plugin and that plugin, when is activate, create new table in DB.. Now i need to insert some data like (firstname, lastname..) in that table.. Here is my form : <form name="cool_form" ...
0
votes
0answers
68 views

Split a long form into multiple pages 2

this is a question as a followup to this discussion: Split a long form into multiple pages In essence: I have a long form that gets submitted. I need to change this to a multipage/multistep form over ...