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
8 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 ...
4
votes
1answer
35 views

Can I verify nonce which was generated on a different WP site?

I have a form with the action going to a different wordpress site. I want to use wp_nonce to generate fields in the form on site A. Can I use wp_verify_nonce on site B to verify the nonce fields?
1
vote
0answers
27 views

Input in plugin widget does not allow spaces

I'm developing a plugin for a client which allows keeping records of reservations to their hotel, and it has a widget which allows clients to make reservations. However, for some reason one of the ...
0
votes
0answers
9 views

Building a request processor for multi-page forms, etc using $_GET requests

Good day, What I'm trying to accomplish in a semi-elegant way today is building a multi-step form type thing. Essentially, I'm trying to rewrite the page based on a $_GET request. Like, say, it's ...
0
votes
1answer
13 views

Wp_mail Returning False on Server

I'm spent the last hour trying to figure out why the wp_mail function is returning a false boolean. Here's my code. I can usually get this to work but can't seem to figure it out now. I'm thinking ...
0
votes
0answers
13 views

How to recreate post form on a custom PHP page.

I need to have my users be able to post pages on a custom php page, not through the standard Wordpress menu. Therefor i'm trying to recreate a form that can post just like the Wordpress 'add post' ...
0
votes
0answers
17 views

register_form injects broken html

I have been giving a task from a friend to fix a problem. Keep in mind that I am not very familiar with WordPress but I managed to figure where the problem resides. This website has a registration ...
0
votes
1answer
8 views

wp_dropdown_categories with multiple select

in the search box I would like visitors to be able to search for more than one location (houses). The code right now is: <div class="col-md-3 col-sm-6 col-xs-12"> <label ...
-3
votes
0answers
19 views

Embed an interactive form

Our community association has a free website and we would like to have a word document, saved as a PDF, for our membership to be able to sign-up for an upcoming pot luck supper. Is this possible with ...
0
votes
1answer
23 views

form built dynamically with php, not submitting

On one of my wordpress admin pages, I am building a form to add new mailers. I have it checking the templates mysql table and building the list of available templates, then also giving it the option ...
1
vote
0answers
15 views

Remove #wpcf7-f2450-o1 with Contact form 7 redirect

This is what I'm trying to do: I have a contact form, when the form submits I want to redirect to the page http://example.com/thankyou?c=thisisavariable . I can redirect, the problem is he redirects ...
0
votes
0answers
10 views

Pulling custom post type into a form

I'm trying to make an order form where products can be added by my client using the WordPress backend. It's a non standard form so Gravity or Ninja forms will sadly not do the trick. (needs a modal ...
0
votes
0answers
29 views

Contact Form 7 - redirect with variable | Google Analyitcs

This is the case: I have 10 courses on my website with a contact form where they can subscribe to the course. There is one contact form for all courses. When they subscribe now they just get a ...
0
votes
0answers
10 views

Advice needed: Specific contribution by users (form maybe)

I'm asking for your advice here, because there are so many ways to look at :( I hope you will help me out by replying with your opinion in this case. What I like to achieve is this: Visitors / users ...
0
votes
1answer
18 views

Submitting my form to the database and then redirecting to payment site

I am submitting data to my custom table and would then like to redirect to a third party who will handle the payment. (not PayPal). I have the following code which adds the data to the database. The ...
0
votes
1answer
50 views

How do I make multiple dependent input fields that use the jquery autocomplete function?

I'm trying to create a form that will allow the user to add a new listing on the front side of my equipment classifieds website. I have a custom post type set up with a custom taxonomy called ...
0
votes
0answers
6 views

Change contact form content from paragraph to hyperlink (Jetpack)

I got this contact from from Jetpack, running nice and smoothly. As an improvement to my form, I want to add the ability to click the link provided in an so called "textarea" from the form. Not the ...
-1
votes
0answers
21 views

Prevent form submit : spinner icon keeps moving

I am trying to do custom form validation. Following is the code $("form").on("submit", function () { $('.subtype').each(function () { if ($(this).val() == '') { alert("Please ...
0
votes
1answer
14 views

How get the content of the login form?

I would like to customize the login-form page. Is there a way as with the function get_the_content() for the article to get the content of the login page before it's send for output?
1
vote
1answer
31 views

My form action url is being prepended with a directory that does not exists

I'm trying to allow users to upload audio via form and HTTP POST request. Here is the relevant form code, from my page-profile.php : <form method="post" ...
0
votes
0answers
14 views

Multiple users registration form

I'm working on a wordpress-buddypress app proyect in which we want users to register in bulk. Let me explain: It is based on family activities so we would like to be able to make a custom ...
0
votes
1answer
26 views

How to create table with multiple radio button

I want know it is possible to add more then 50 radio button with 4 choice in one form? Form should be mail to the client email. I know we can do this with Contact Form 7 plugin but a problem is ...
0
votes
1answer
62 views

PHP- Why is my contact form keep showing it is invalid? [closed]

I was working on contactus.php form. I am not testing whether the email will be sent to our account. However, my objective is when the form is invalid, it will reload the page and redirect user back ...
0
votes
1answer
46 views

Simple php in wordpress widget [closed]

I am trying to calculate with simple maths but I cant get the following form make the calculations and output the results. Unfortunately I am a newbie. What's wrong? <?php add_action( ...
0
votes
1answer
57 views

How to create a form button that executes a function?

Consider the following example: we build a conference website (could be a WordCamp) that allows speakers to submits talks, and where a jury decides which talks are accepted. To handle this in ...
0
votes
3answers
44 views

Which action hook should I use to intercept a form upon submission?

I have a form on wordpress page with a POST method. I need to add an extra field to the form after submission but before it is sent to the URL in the action attribute. I was thinking to use an ...
1
vote
1answer
54 views

Gravity Forms - Using a Form to Pre-populate A Gravity Form

I have a custom form (hardcoded, not a GF) on one page I've written myself: <form id="tailor-select" method="POST"> <ul> <li> <ul> ...
1
vote
2answers
65 views

How do I embed a Javascript form directly into a page?

I have a new WP install with the Jupiter Theme installed. I have a contact form created in Sharpspring, a CRM that purports to work perfectly with WP, and automatically generates embed codes for ...
0
votes
0answers
16 views

Custom wordpress form with get method

I try to setup custom wordpress from its probably easy but... I made template and inserted this code: <form action="" method="GET"> <label>NAME:</label> <input ...
1
vote
0answers
29 views

Select multiple categories from CPT to display in LayersWP builder widget

I am currently developing a LayersWP child theme and have registered a portfolio custom builder widget. In this widget I would like users to be able to select the categories that they want shown. For ...
0
votes
1answer
53 views

$_POST empty in using new php file added to theme

I am using a theme which handles form data with jquery (a handler function defined).I have added a new php file to theme (using it in as template in a wordpress page, also registered with rewrite ...
0
votes
0answers
16 views

How to set up an email newsletter signup without a plugin?

I have a client who uses GoDaddy Express Email Marketing, and there isn't a plugin to add a signup form. You can create a signup form on their site and then paste code, but it's to create a page, not ...
0
votes
1answer
15 views

Passing link parameter values to form

I've added edit|delete options in every row of a table, created in the admin panel. function column_A( $item ) { $actions = array( 'edit' => sprintf( '<a ...
1
vote
0answers
43 views

How do I pass the id of my widget to javascript in the form function?

I would like to add a Quilljs editor to the admin area of my widget, but I am having trouble passing $this->id to javascript. I am using the foo_example widget code, and I've appended the ...
0
votes
1answer
19 views

Display number of sign-ups [closed]

Our website has a page where visitors can sign a charter. We'd like to display a counter for how many people have entered their details. It needs to update dynamically each time a new person signs up. ...
0
votes
1answer
53 views

Processing forms with php to wordpress database

I'm simply trying to process data from an html form into my wordpress database through php. I've tried multiple times to get the data inserted but have had no luck. The setup is as follows: Database ...
1
vote
0answers
26 views

How to Remove email Addresses from permalinks [closed]

I’m beating my head trying to figure this out. I’m running: WP 4.3.1, BuddyPress 2.4.0, and the pages on the site in question are: http://vibrantnation.com/register/ Whenever a non-registered user ...
1
vote
1answer
171 views

Get selected values from checkboxes and radio buttons via Gravity Forms gform_after_submission hook [closed]

Gravity Forms offers a reasonably good documentation and of course Google offers more insights into how developers have solved other challenges related to this plugin - but we need to achieve what ...
0
votes
1answer
25 views

Search only working on front page (index) , not working on other pages

I'm currently building a custom WordPress template and I've run into a problem with the search box. When I use the searchbox from the homepage, it works as intended. It also works as long as ...
0
votes
1answer
27 views

Display result of custom form

The website I am working on can list restaurants and we can rate them. Currently, I'm developing a multi criteria search to find the good one. I created a custom HTML form with XYZ Html (plugin) and ...
0
votes
0answers
17 views

Detect when media select input field has been populated in a plugin

I have some code in a little plugin I am trying to make that allows a user to select an image to use : <input type="text" name="thumbnail_adr" id="thumbnail_adr" class="regular-text" ...
0
votes
0answers
31 views

Plugin options page - form with two different submit buttons

In my plugin options page I have two buttons, netted way down looks like this - a single form, with two submit buttons. <form action="options.php" method="post"> <input id="submit_button" ...
0
votes
1answer
156 views

Ajax image upload with media_handle_upload and form.js

I want to have AJAX image upload on front-end form and can't figure out where it goes wrong. HTML form for image upload <form id="thumbnail_upload" method="post" action="#" ...
0
votes
0answers
9 views

Custom Contact Form - Attachement and receivers

I have created a custom contact form using this code: function contact_form_markup() { $form_action = get_permalink(); $author_default = $_COOKIE['comment_author_'.COOKIEHASH]; $email_default ...
0
votes
0answers
13 views

Handle comment errors without a session

Im currently working on the comments-section of a WordPress site. I have worked on a lot of WordPress sites, but this is the first time I incorporate a comment section. I was quite surprised to see ...
0
votes
0answers
21 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
37 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
17 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
32 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
14 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 ...