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)

-3
votes
0answers
16 views

ACF front-end form in modal popup not working [on hold]

I have a built a ACF front-end form to allow logged in users to upload images and add taxonomy tags to each image. Using a standard Bootstrap Modal layout. Modal is working OK and allows the upload ...
0
votes
1answer
12 views

Login_form add to top of form rather then bottom

I have added a 3rd field on the login page, but it shows at the bottom(underneath password) while I would like it to show above Username. How can I manipulate the order of fields? This is the code I ...
0
votes
0answers
23 views

Ajax and form action [on hold]

I'm using Zajax plugin for page-loading. It's impeding the action of a PayPal add-to-cart form and preventing the desired action and delivering a 'failed to load' error. Is there any code I can add ...
-5
votes
1answer
21 views

Best opt-in plugin for WordPress? [on hold]

I'm looking to buy an opt-in plugin. I want to be able to lock content, create a pop-up box, a scroll mat and have an exit intent opt-in form. What do you think the best opt-in plugin for WordPress ...
0
votes
0answers
19 views

Frontend Post with JQuery AJAX to Php Issue

My problem is the following. I'm trying to make users publish custom post_type by frontend through a form like this: <form id="msform" enctype="multipart/form-data"> <fieldset ...
0
votes
2answers
47 views

Get post ID from wp_insert_post()

$new_post = array( 'post_title' => $title, 'post_content' => $description, 'post_category' => ...
0
votes
1answer
44 views

Why doesn't a form need an 'action' with a plugin that uses the post data?

So I'm still rather new to WordPress plugins. And there's one thing that I'm not sure of. I'm building a front-end form that allows users to post posts. In this guide down below there's a plugin made ...
0
votes
1answer
30 views

Form not working as it should in WordPress, but in a normal HTML site it does

I am in need of help. I have a website, which has a form to fill out (simple form, that calls a PHP function and some other JQuery libraries). It is made in an ordinary HTML file, and works well on ...
-1
votes
0answers
19 views

Override WC Vendors/WooCommerce Class

I'm trying to override the default registration form of WC Vendors a WooCommerce Extension. I've copied the class file from the plugin directory to the theme directory and then called it ...
-2
votes
0answers
23 views

forms and admin

Im looking at a fairly complex form... actually a property search form from from Zoopla API running in the inspiry real places theme. I am trying to add fields to the standard form and have found ...
-4
votes
1answer
26 views

Is it possible to set different payment gateway on each Gravity Forms form? [closed]

I run a Wordpress site in Australia involving credit card payments. I've been using eWay payment gateway for a while, now I want to introduce Stripe as well to my forms. I have multiple products, each ...
0
votes
0answers
20 views

How to use pre_get_posts filter from frontend user input (GET variables) or do_action

I'm trying to allow users to filter certain pages based on the input from a dropdown. <div class="filter-by-calories"> <h3 class="filed-title">BROWSE BY CALORIES</h3> ...
0
votes
1answer
18 views

Understanding the workflow of form creation plugin

I want to create a simple form creation plugin(that is specific for my CRM, that's why i need to create one). The idea is having a "add input" button which lets me chose the type of the ...
0
votes
0answers
20 views

How can i implement “select from existing tags” for front end posting?

Hy,on the bottom of Tags: I want to add something to be able to select from existing tags. Something like on backend "Select from the most used tags" Here it's html and php code : case ...
0
votes
1answer
40 views

contactform7 remove tags with “wpcf7_autop false” from functions.php

i want to remove those <p> and <br/> tags from my contactform7 forms. now they have this wpcf7_autop which can be set to false when inserting: define('WPCF7_AUTOP', false); to ...
1
vote
1answer
24 views

How to create a form and display its content as table in admin panel?

I am new to Wordpress CMS and have been into a problem and don't know how to go about it. The problem is I want to create a form with first name, last name, phone number and a submit button. On ...
0
votes
1answer
37 views

Fatal error: Call to undefined function wp_insert_post()

So I have a form that has makes the action jump to another php page. There my php code tries to upload a post. I get the following error: Fatal error: Call to undefined function wp_insert_post() ...
0
votes
2answers
42 views

File Uploader - Upload without adding to Media Library

I have an admin form for a plugin I am making. However, there are a couple of fields I need to add where the admin need to upload a document or image. When these files are uploaded, I do not want them ...
0
votes
0answers
34 views

Contact Form 7 add custom method and action attributes

I have to add custom method and action attributes for my forms. I have found a related SO post here at -> http://stackoverflow.com/questions/14177844/how-to-change-form-action-url-for-contact-form-7 ...
0
votes
0answers
63 views

Integrating Wordpress with a Codeigniter app using $_POST variables

I'm writing a plugin to register and login to a codeigniter app we've got at the same time as registering and logging in to wordpress. the solution I came up with is to submit the form variables to ...
0
votes
2answers
50 views

Can I make Contact Form 7 change over to a new page? [closed]

I'm trying to set up a form for people to fill in, however I want to split it up into sections so as to not create a long list of different details on just one page. For example: PAGE ONE Includes ...
0
votes
0answers
33 views

Get image url from a form

I am new to Wordpress plugin development. I have some questions related to my plugin. I want to get a image URL from a form at backend of my plugin from user and assign it to a (html img) tag src ...
-1
votes
2answers
35 views

shortcode doesn't work

I made my first WP plugin, it is a contact form - here is the code: <?php /* Plugin Name: Example Contact Form Plugin Plugin URI: http://example.com Description: Simple non-bloated WordPress ...
0
votes
1answer
28 views

Ajax form submit within a Post Metabox

I have a custom wordpress MetaBox assigned to post. I have the function running on the post save_action. However I was wonder if I can get a button inside of the metabox the will run the function on ...
0
votes
0answers
22 views

Associate multiple Database ID's

I am using a form plugin in a multi-seller woocommerce environment where each user (seller) utilizes this form which the values are stored in form's DB tables. My problem/question is: when a ...
0
votes
1answer
37 views

Form and database, plugin development

I'm developing my first plugin. It creates directories and save the path, level (if it is a subdirectory of other created directory) and name in a custom table, created at the activation. The plugin ...
0
votes
1answer
40 views

$POST variable is empty in receiving php add-on function but can be seen by jscript function

I have created the following code to explain my problem. Firstly I have a shortcode function which accepts a user input and calls another form: <?php add_shortcode('quote_system', 'qt_system'); ...
0
votes
0answers
58 views

Featured image does not work with images on a post at the frontend?

[Found a partial solution] I need a little help with this problem. I don't know why on my videos the theme uses a thumbnail and set it as featured image but for images it does not. When I install a ...
0
votes
0answers
18 views

Posting from page linked to plugin

I am creating my first WordPress plugin and so far I am not doing to badly but looking for some guidance as not really sure if the way I am thinking of doing this is correct. I have a plugin that ...
1
vote
1answer
58 views

How to pass email values from one php page to another

Good evening, I have two subscription forms (mailclimp) i want to pass the email value from one php page to another. In the code below i add the /** session_start(); **/ in comments because show me ...
5
votes
2answers
566 views

What is the real intention for admin-post.php?

While looking for proper form submission handling in plugins for users (frontend) I've stumbled upon this article Handling POST Requests the WordPress Way, which encourages to use admin-post.php for ...
0
votes
0answers
29 views

Custom Post Type search with category dropdowns

I have a custom post type called MEPs and I have a search function which sort of works but sort of doesn't. The search function needs to call 2 drop downs. One being the top level categories, the ...
0
votes
0answers
36 views

Onclick Save Text In Input Field

Currently, I have a front-end form on my client's wordpress site that allows users to create a post. I'm using the pods plugin to create cpt, custom fields, forms, etc. I have several input fields in ...
-1
votes
1answer
28 views

wordpress not saving form code in code editor

I'm sure this question has been asked a thousand times, but when I search, or post a question with the above title, no answer is presented. A few weeks ago, I was able to save Paypal form code into ...
0
votes
0answers
13 views

Form Won't Anchor After Submit

Having some issues with my form. I basically want the form to anchor at a certain part of the page after a user submits the form but I' can't seem to get it to work. Any ideas? <form ...
0
votes
0answers
24 views

Show error if form input field is blank

Hi i am creating a popup plugin in WordPress in which i want to disable my button which is outside form disable until my form fields are empty. I am not using submit button because after clicking ...
0
votes
1answer
30 views

wp_category_checklist won't show up for non-admin users

I have a product registration page with a form in which I use wp_category_checklist() to make my users select categories. This works great only, I just today noticed that only admin's can use the ...
1
vote
1answer
31 views

Setting specific image size for specific form upload file field

When you upload an image through a form's "upload file" field type to the Wordpress media library - Wordpress automatically generates three copies with three different sizes by default. Now I know ...
-1
votes
1answer
53 views

Help finishing script to export WP user data when form submitted

I have been searching for a solution to export WP user data to another application once a form is submitted. There is an article on how to do this but I am too noob to to get it to work and am asking ...
0
votes
1answer
38 views

Reset recaptcha contact form 7

I have multiple forms(contact form 7) in a page and need to reset the recaptcha after the form is submitted via ajax. I checked recaptcha API and it has grecaptcha.reset(); but it resets only first ...
0
votes
0answers
13 views

media_handle_upload adds unnecessary extra records in wp_posts

So I created a form to have a user create or edit a post: title, metadata and an image. I use this to update the title: $my_post = array( 'ID' => $post_id, 'post_title' => ...
0
votes
1answer
23 views

Custom Form Processing Issue

I have created a form on my wordpress site, a function to process the data located in functions.php, and an action php file. I have tested the processing function and know it works, but I'm having ...
0
votes
1answer
72 views

Hide the term description on the term edit page, for a given taxonomy

I have written some long descriptions for a custom category taxonomy. I don't want to remove them, I just want to hide it from the management page: /wp-admin/term.php?taxonomy=custom_category I ...
0
votes
1answer
26 views

How can I modify labels in default wordpress registration form? [duplicate]

I need to change Label text in registration form, especially "Email" label. I want to add asterisk or just add text "required field" How can I do that? Please advice...
0
votes
0answers
16 views

Plugin to get a result based on form checkbox

I want to create a page with form submit with 3 fields, for exemple: Type of door? [x] stone door [] wood door [] plastic door and then, in the same page return a text ::there are 5 type of stone ...
1
vote
0answers
22 views

After Submitting Comment Form Shows an Empy Page in WordPress

I have created comment form and write comments then submit. But it will shows an empty page. The page path is http://localhost/isite/test/src/wp-comments-post.php I have changed define(wp-debug ...
0
votes
1answer
46 views

Java code/ JSP page in wordpress

Is it possible to write java code or add a Jsp page in word press, I searched on Internet but did not find any solution. I found How to run applet in wordpress But that too was not helpful.
0
votes
1answer
63 views

Adding Additional Variables on Menus Page

I'm learning PHP by building a plugin to show or hide menu items based on a user's location. I am a bit stuck at the moment. In the function below, the text input is being saved to the database, but ...
0
votes
0answers
9 views

Redesigning the add new post form

This is a learning exercise. I'm trying to redesign the form that is rendered when a user tries to add a new post via the administration panel. So far i've tried messing around in ...
1
vote
0answers
15 views

A form that can save/edit after first input

I need a form on my WordPress website that users can input information into through dropdown fields.But i just dont want the information to go away after sending.I need them to still be able to come ...