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
51 views

custom taxonomy dropdown and submit new on frontend form - wpjm

I am editing the wp-job-manager forms to fit our needs and I realized that my custom taxonomy needs to have a dropdown list of already available terms to select from but also I need to give users a ...
0
votes
2answers
44 views

Ajax call URL 404'ing when pushed to staging server

I have AJAX form submission working fine locally. But when pushed to my staging server the process page is 404'ing. I cannot access it directly neither as it 404's but checking on the server and its ...
0
votes
1answer
25 views

What is the proper way to embed the HTML of an external form such as payflowlink from paypal?

I've had a request to paste in the following into a donations page for a group. The trouble is that WP is (rightfully) curtailing this HTML to prevent me or anyone from doing something less than ...
0
votes
0answers
56 views

How Do I Add a Custom Field Inside a Gravity Forms Field?

I would like to add a custom field inside a gravity forms field. The custom field should accept HTML syntax. Here is an illustration of what I would like to achieve: To be specific, how do we add ...
0
votes
0answers
22 views

Submit form to plugin file 404

i've a custom form which i'm trying to process, i created a plugin to do so, however everytime i try to submit the form i'm getting 404 error. this is how my form's action looks like: <form ...
1
vote
1answer
80 views

meta_query issue with multiple numerics

I'm having an issue with a search form. I basically have 7 input fields used to search different properties. All of them apart from the last two see to be working, as soon as I introduce the last two ...
0
votes
0answers
108 views

Generate page URL based on form field input

I have a WordPress page with the URL: http://example.com/mypage/ On that page I have a custom form, on the submission of the form I want to generate the URL in following format: ...
0
votes
0answers
49 views

Tracking click event

I'm trying to use Google Analytics Events Plugin to track some events on this page I added a Click event on class et_pb_contact_submit et_pb_button and on id _wpnonce-et-pb-contact-form-submitted. I ...
0
votes
0answers
40 views

How to retrieve value from Gravity Forms input and put it in template?

I'm trying to retrieve and input from my Gravity Forms form and put it into a template file. I know I have to use gform_after_submission but I am not sure what I am doing. This is what I have so far: ...
0
votes
1answer
331 views

How to handle dynamic form data with repeating fields?

I'm attempting to create a form with duplicatable sections for a listing site. It should work like this: Start with one listing form -> Fill out the form Click "add another" and another duplicate ...
0
votes
1answer
125 views

Validate form in functions.php, send errors back to template

I have a form in a template that upon submission should be validated, and any errors should be displayed, and if no errors, insert the data into the database. I'm new to wordpress, but my idea was ...
0
votes
0answers
18 views

Filtering custom posts

I have to add functionality to my wordpress site that displays some custom posts. However I need to filter the output based on multiple categories/taxonomies (I dont know whether to use ...
0
votes
1answer
51 views

Update only some custom user fields

I have created multiple user fields. These fields are only managed by the administrator to add additional information about the user Now the rules have changed. The users must gain access to their ...
0
votes
0answers
26 views

Image Gallery / Thumbnail for Theme Framework through plugin form

I'm using WPUF plugin form in order to submit custom post_type from frontend and I need to implement the form to themes framework, so it can set the thumbnail / gallery in submitted posts. I ...
0
votes
0answers
37 views

Force user to login before submitting form

I have a form to upload a file to my server and I'd like to force a not registered user to login before submitting. I know how to force him to login after the form is submited by: <form ...
0
votes
0answers
44 views

Woocommerce variable filter form not working

I created a custom variable filter for woocommerce, but when i submit a form its doesn't work... Not filtering a variable selected product. (Show all product on shop page). Thanks for any help! ...
0
votes
2answers
19 views

How to switch between two forms for visitor once admin logged in?

I have two forms (form1 and form2). Once the admin is logged in anywhere, all visitors (not logged in) to my WordPress site should see form1 on the page, otherwise they should see form2. I am using ...
0
votes
0answers
25 views

How to automatically send the data entered in a form to another specific user of the website?

I want to send the data and image uploaded by a visitor to another specific registered user of the website automatically. The recipient will be decided based on the data entered in the form. Please ...
0
votes
1answer
50 views

rewrites and custom links in page need help with add_rewrite_rule

I have one page with edited permalink, like, address.com/detail/ I need to send there some values by GET request, so i would like the link looks like /detail/value1/value2/ i added this code in ...
0
votes
1answer
41 views

Direct form to a custom page template

I have the following form in a Wordpress page : <form action="dbsearch.php" method="POST"> <input name="input" type="text"> <select name="search4" size="1"> <option ...
-2
votes
1answer
36 views

From contact form to paypal

here's my problem. I'm hosting my website on wordpress.com so I really don't have much flexibility to adjust and switch up codes till i upgrade to premium which i'm not too sure i might do because it ...
1
vote
1answer
107 views

Contact Form 7 - Add a Info Text to Checkboxes/Radiobuttons

I need a description to every Checkbox/Radiobutton. For Example Dancecourses. [checkbox* dancecourse use_label_element exclusive "beginner" "crashcourse" "another course" "another course"] I define ...
0
votes
1answer
34 views

Duplicate “default” form with jQuery

I have this code: // Add form jQuery('.add-form').click(function() { // "Copy" default form formGroup = jQuery('.form-item').html(); // "Paste" default form ...
0
votes
0answers
103 views

Contact Form 7 - possible to add form's field multiple times?

I use the Contact Form 7 plugin on a site as events' registration form. I embed the generated forms' shortcode to Pages (I have more forms with different fields). Is it possible to add a button for ...
0
votes
0answers
77 views

How to get data from Wordpress form into php or C#

I have a wordpress website and I created a form where the users can put in some information. I want to get that submitted information using preferably C# or any other popular programming language like ...
0
votes
0answers
45 views

How do I create a form for users to post on the front end?

So basically I have a music theme that allows me to upload music as a post. I want to use the same information on the backend that is in a php file, for the users on the front end, how do I do this? ...
0
votes
0answers
88 views

Post from front end form to post_meta

I want to save a value from the frontend of a post to the post_meta table. Sofar I have this, but it won't save...... I have read that I could use the update_post_meta even if the meta_key doesn't ...
0
votes
0answers
22 views

Wordpress Form Manager

Thanks in advance for any consideration given here. I am building an employment application using Form Manager. Once the form reached a certain size, it quit working and would no longer update. Is ...
0
votes
2answers
422 views

Run JavaScript validation script on form submit in plugin

I have created a small custom plugin which is just an HTML form. The HTML form is echo'd out using PHP and it includes a small JavaScript function that I want to run on submission. I cannot get it to ...
1
vote
1answer
525 views

Ninja form Redirect depending on text field content [closed]

I'm using Ninja Forms and their extension to do front-end posts. They have a function that is supposed to allow you to redirect to a specific page depending on values from the form. my purpose is to ...
1
vote
1answer
49 views

Spammers attacking my Wordpress Site - Removing URL field from core? [closed]

I removed url field from my comments so there is just basically name, email and textarea field. But spammers are keeping spamming me with comments that has URLS even if comments form doesnt have any + ...
0
votes
1answer
37 views

us states dropdown function and echo in theme template files

This may seem like a stupid question but for whatever reason I cant find an answer that works for me.. -- I am trying to create a simple html drop down function in functions.php so I can then echo it ...
0
votes
1answer
312 views

Submit form to a different PHP file in the same plugin folder

I want to submit a form to another PHP file which lays in the same folder: wp-content/plugins/my-plugin-folder The form action attribute looks like this: <form name="lookat" type="submit" ...
0
votes
0answers
88 views

Best practice for writing backend forms to interact with database

I am responsible for a Wordpress site where ingredients, recipes, allergens and similar data is inserted into the database. All the columns in the database are separate from the Wordpress database, ...
0
votes
0answers
30 views

Can I use a hook other than 'init' to handle form submissions?

I'm developing a plugin that handles form submissions at several different points. As such, I was relying on being able to use global $post and get_query_var to determine which stage the user is at ...
0
votes
1answer
244 views

Implementing a custom form in Wordpress

I'm relatively new to Wordpress development. The Environment: Wordpress installation with newest WP version and a Child Theme being used to keep things tidy. The Task: I've created a custom HTML ...
0
votes
0answers
36 views

Save url parameters once page is loaded

I am sending out a campaign and want to track not just how many clicks I get via the campaign, but who of who I send it to actually clicks it. On my end I can append url parameters with the details I ...
1
vote
0answers
58 views

How do I make a child theme I made POST through a 3rd party plugin?

I made a custom form in a child theme I am developing. One of the plugins I have installed is Anspress. I want to use my question form instead of the plugin's form. How do I make my form post through ...
0
votes
1answer
212 views

How to add and submit input fields using a shortcode?

How can I add and submit the post without user login? By that I mean an offline user can add some content on WordPress and submit it, like simple forms in PHP. I tried this code: public function ...
0
votes
1answer
169 views

Contact form submit, having to click twice

I am having an issue with different contact forms (I've tried a few) on mobile devices. The issue being that you have to click submit twice. The first time you click the text grey's out a bit like ...
0
votes
0answers
40 views

Create a shared checklist within Wordpress

Looking for a little help on solving this problem - I've a three week old girl whose nocturnal wakings seems to have damaged my brain. I've a client who wants all of their users to be grouped by work ...
0
votes
0answers
2k views

WordPress AJAX File Upload - FrontEnd

So I have been reading through every WordPress front-end AJAX file upload tutorial I can fine. Nothing is working for me at the moment. The one that makes the most sense to me is this one: ...
0
votes
2answers
142 views

Redirect to page after a widget form submit

I have a widget form with custom fields like age,pincode etc.The submitted form data will be submitted through a 3rd party API which will output me JSON. Now I want to redirect to a page showing the ...
2
votes
1answer
200 views

Processing a subscription form with POST method?

I am trying to integrate a ‘subscribe to newsletter’ feature on my wordpress blog Users just need to enter their name and email address, hit subscribe. This is then supposed to send me an email and I ...
0
votes
1answer
61 views

How to stop being directed to admin.php after sending request to admin-ajax.php

On my plugin admin page, I have make an ajax request to admin-ajax.php. For some reason, once the request is made, another request is made to admin.php which directs me away from my current page... ...
1
vote
1answer
580 views

How do you filter the list of states when country is selected? [closed]

Seeing as there is no StackExchange site (or any other forum, that I can tell) made for WooCommerce questions, I'll run the risk of being shot down for being "off-topic". I need to add a third ...
0
votes
0answers
434 views

how to use custom form field values in email - woocommerce

I am using following code to add a custom field to woo-commerce registration form. After registration is done. I am saving generated activation key to wp_users table. By using that custom field value. ...
0
votes
0answers
41 views

Search form not working as expected

I've made a search form with dropdowns and when I select an option from each one it does not display any results. I've been trying to change the wordrpess search query but with no luck until now. here ...
0
votes
2answers
54 views

Ajax contact form returnig 0

I have read through a lot of responses on this site and am unable to find the issue with my code. The form is : <?php while (have_posts()) : the_post()?> <form method='post' ...
0
votes
0answers
65 views

Adding radio buttons to the Registration form

I have two user groups, companies and individuals and want to add a radiobutton to select between these two. The register form should show a certain field additionally if "company" is selected. I've ...