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
12 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
11 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
10 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
11 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
3answers
35 views

Wordpress Plugin Contact Form 7 Not sending emails [closed]

I'm using the Contact Form 7 Wordpress plugin on my site, however the form isnt sending at all and doesn't seem to be giving any errors. It is installed correctly, as I have used the plugin on many ...
0
votes
1answer
13 views

Adding custom field in menu options [duplicate]

Please take a look at this image Is there's anyway I can add another field called "Font Awesome Icon" for the user to write the icon class and the output should be like this:
0
votes
0answers
12 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
16 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
58 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
1answer
43 views

Plugin Form Submitting to admin-ajax.php instead of admin-post.php

I am building a plugin which loads a form into a table cell when clicked. Here is the AJAX: public static function cp_libhours_ajax(){ ?> <script> ...
1
vote
1answer
54 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 ...
0
votes
0answers
25 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 ...
-1
votes
0answers
119 views

How to use an autocomplete combobox in Contact Form 7?

Firstly, Notice I have found the following terms mean the same: Autofill combobox Autocomplete dropdown HTML5 datalist The Contact Form 7 documentation says we can add a "normal" combo-box with ...
0
votes
0answers
59 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
25 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
1answer
13 views

Custom form not showing in correct place on page

I have a page like this: <h2 class="subHeader contentSubHeader">Are you already a member? Don´t miss your next career opportunity!</h2> <p class="subHeader ...
0
votes
1answer
37 views

How can i see/log all requests coming from a registration form (not from the UI)?

I am talking about the REGISTER form PROBLEM: I have some requests that are coming from somewhere else - not from the user interface. I know this, because these requests don't have all the mandatory ...
0
votes
0answers
85 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
1answer
38 views

admin_post in object oriented plugin

i try to write my plugin object oriented. Now, I have a problem. The admin_post action don't run. I'm posting the code, where I localize the problem. class install { $admin = new ...
0
votes
1answer
37 views

Styling admin page rows in order of importance (checkboxes)

I am altering a plugin's admin area and adding a checkbox for a "Coming Soon" option. As of now, when the user checks the "Coming Soon" checkbox, the entire row will turn green, but there is also the ...
1
vote
0answers
32 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', ...
0
votes
1answer
34 views

add_meta_box creating default form field types

I'm using add_meta_box as per the Codex entry. My question is about the 'callback' to print the form fields on the admin page. In the Codex, the form fields are echoed as written out HTML elements, ...
0
votes
0answers
27 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
1answer
33 views

Is it possible to pass variables to WordPress externally?

I would like to know if it is possible to pass json variables from a form which is located outside WordPress? This is the situation: The user fills a form located on x server. Then his answers are ...
0
votes
0answers
54 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
20 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
1answer
56 views

Form within thickbox

When I try and insert a form into a thickbox for use in the admin area, it seems to be removed completely. What do I need to change? <?php // Enqueue thickbox js and css add_thickbox(); ...
0
votes
0answers
68 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 ...
1
vote
1answer
60 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 ...
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
2answers
173 views

call php file from form and use wp functions

I'm building a stripe plugin and I'm stuck on this minor major issue. Problem: the form calls my process.php page to grab the form input variables, handle the Stripe token, and finally call out to ...
0
votes
1answer
101 views

Pass important values server-side when processing form

I am working on a plugin that has the following within a <form> tag: <input type="hidden" name="postid" value="<?php echo $postid; ?>"> The problem with this is that users can ...
0
votes
0answers
62 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
1answer
33 views

How to know what submit button the user clicked?

I'm working on my settings page, I want to add two different buttons to the form and do something different depending which the user clicked. The documentation states I can create two buttons like ...
0
votes
0answers
67 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
1answer
37 views

Registration form labels - add asterisk

Is there an easy way to add a required symbol like '*' after the html <label> text content in the default user registration form? I'd like the Username and E-mail labels to display: Username * ...
0
votes
1answer
87 views

Front end page submission form does not attach custom post type

This side of WordPress is completely new to me, but is also extremely important. I have created a form that allows me to upload a page, with all the parameters I need, however a custom taxonomy is not ...
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
1answer
40 views

add function to saving change on Options Pages

i make page like this link and it work fine but i need to run some script after it like editing a file i was add it to function my_function() { //do something } function register_mysettings() { ...
1
vote
0answers
98 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 ...
0
votes
0answers
54 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 ...
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 ...
0
votes
1answer
59 views

WPDB secure custom form

I'm creating a custom form to update rows in a secondary MYSQL DB, different from the one of wordpress. This form is public and every user can access it. So I've created a plugin and I'm using also ...
1
vote
1answer
55 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 ...
0
votes
1answer
37 views

Using AJAX for dynamic settings pages

I have a settings page like ... add_options_page ( 'XXX', 'XXX', 'manage_options', 'xxx_plugin', 'xxx_options_page' ); function xxx_options_page() { ?> <div class="wrap"> ...
0
votes
1answer
44 views

search form display no result

i create a searchform in my footer.php <div id="cd-search" class="cd-search"> <form role="search" method="get" id="searchform" class="searchform" action="<?php echo esc_url( ...
0
votes
0answers
190 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: ...