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
2answers
207 views

How to Collect Keyword and Search Engine Data on Webforms?

We have a contact form using Contact Form 7 on our wordpress site. We would like to be able to attach any information about where the user came from: keyword search is the #1 item of interest. We ...
0
votes
2answers
229 views

Is there a WordPress form plugin that can easily be configured for Google Analytics goals?

I don't want to have to make use of a destination url, so ideally I would like to be able to add the onclick="_gaq.push(['_trackPageview', '/G1/whatever']);" event to the submit button on the form.
0
votes
1answer
569 views

Help with forms and nonces

I am trying to create a nonce to use with a (public-facing) form. Below is my code: function my_form() { if (isset($_POST['submit'])) { $name = $_POST['name']; $description = ...
0
votes
2answers
4k views

How to add search form in main page body?

I'm fairly new to wordpress. I'm trying to develop a website with search option to find available room information. I would like to add a search box where people would be able to enter their ...
0
votes
1answer
642 views

How can I use AJAX to save/update a widget form?

My custom widget's form will have two pull-down menus: the content of the second menu is dependent on the user's selection in the first menu (think of the way Country and State/Province works). I ...
0
votes
2answers
185 views

How to: Retrieve an attachment image from post and output it

If anyone can help me I would be gratefull! I got a gravity form with the post_type fields including the submit image when submited it displays the: title content image tags So my question ...
0
votes
1answer
830 views

my checkbox is not saving it's value

Processing the following form in the admin area, but the database constantly returning an empty cell where the info should be. Help!! <form action="options.php" method="post"> ...
0
votes
1answer
129 views

free form wordpress

My question is kind of simple: I have a voucher. I would like to people fill an form on my WordPress site and when they click submit, they receive an e-mail with the voucher... Is there a plugin out ...
0
votes
1answer
690 views

How do I add the same contact form to multiple wordpress sites and capture the response in one place or database?

I own a network of 100+ Wordpress based websites. All website are separate installations of Wordpress and are on different servers. I would like to create one contact form have it shown in the ...
0
votes
1answer
705 views

How to send form data from WordPress (Meta Box) to an OData service?

I have created a form within a Meta Box on the 'Add New Page' screen. I want the data from this form to be sent to an OData service on a central server. I can see that OData is supported on PHP ...
0
votes
1answer
353 views

Sidebar login widget with error print, returns an error

i'm building a widget to login from the sidebar and print errors if any, so everything is working fine except that when i login it returns an error: Warning: Cannot modify header information - headers ...
0
votes
2answers
670 views

Contact Form 7 form is working on local wordpress install but fails on production server

I've created a Contact Us page (my-site.com/contact-us/) using contact-form-7 which works fine on my local WordPress install. However, when I try the same form on the online version of the site, it ...
0
votes
1answer
48 views

Success message in comment form

I am using wordpress 3.8. I am using comment_form(); I need to display a success message on successfully posted comment on blog. How to do this?
0
votes
1answer
75 views

Using Multiple Submit buttons to trigger customised php functions

I may be going about this completely the wrong way but bear with me... I have a long guestlist that is automatically populated using a foreach table. I would like to put a 'No Show' button on this ...
0
votes
1answer
31 views

Performing a POST action on homepage goes to posts page

On every page of my site I got a contact form that will send an email to the respective address. On this site also I've set the front page display to a static page. The contact form will basically ...
0
votes
1answer
14 views

Copy and Paste Password for Comments

One of my newer clients has an extensive WordPress blog (on SE I am a Joomla man) and I am sure there must be some reason behind this. For comments it asks you to copy a password - and then paste ...
0
votes
1answer
78 views

Metabox radio buttons not saving correctly

I have multiple radio buttons set up inside of a metabox in a custom post type. I have created the metabox like so: add_action('admin_init', 'add_meta_boxes', 1); function add_meta_boxes() { ...
0
votes
1answer
28 views

How to Use the Filter “sidebar_login_widget_form_args”

I need to rename some of the labels on the Sidebar Login form using the sidebar_login_widget_form_args" filter; I have been trying few days to do this without any success. I would very much ...
0
votes
1answer
66 views

Form submission to another page returning 404 error [duplicate]

I'm modifying a form plugin, and trying to have it submit to another page chosen by the user. Right now the page it submits to is page_id=6. If I navigate to this page myself, it prints Array(). When ...
0
votes
1answer
63 views

Drop-Down Menu of Current Child Pages

Sorry if my question title didn't make much sense. I'll try and explain. I am using the 'Contact Form 7' plugin on a WordPress site and would like to display the child pages of the current page in a ...
0
votes
1answer
25 views

How to insert an e-mail form in the content area of a page?

I am developing a website using WP. In this page I have inserted textual contact (e-mail, telephone number, etc): http://www.saranistri.com/saranistriWPnew/?page_id=61 What can I do to have also a ...
0
votes
1answer
41 views

Inquiry form like on URL [closed]

I need to make an inquiry form on my website. This demo form is what I need. How can I make this thing? I tried Formcraft and Gravity but I don't succeeded. In the first time I want to choose the ...
0
votes
1answer
58 views

Search form options group categories

Hello i use this code to allow my readers to filter the search results by targeting a specific category. How can edit it to make 2 options of categories groups? I have 20 categories. I want the ...
0
votes
1answer
243 views

Validating custom fields before post save

After much unsuccessful searching, I'm hoping someone here can help me out. I am using Advanced Customs Fields (I assume most people are familiar) to create a post from the front end. I want to ...
0
votes
1answer
401 views

How to insert multiple checkbox values into post as custom fields from frontend

I need to use a form in the front-end that allows people to post. I have tried to keep the minimum code in order to focus only on the issue (mentioned below) at hand. EXAMPLE FORM: <form ...
0
votes
1answer
149 views

Select post from dropdown and add query args not working

The behavior of the below should be that the user makes a selection on the dropdown box and the page refreshes with a query arg of editevent=1 and also passes a value of the post ID with the selection ...
0
votes
1answer
178 views

Select Form Element Not Saving from Plugin Options

I am certain it is something silly. But I can't find it and with such simple code at a loss for anything else. Having looked at many other plugins doing settings in a lot of ways can't really see ...
0
votes
1answer
97 views

Front end update_post_meta Help

I followed the help provided in this question but cannot get the form save the data. I tried using 'save_post' action hook to try and save the post like we do for admin side. Any help would be highly ...
0
votes
1answer
170 views

How to set custom cookies in Wordpress after a form is filled on a page

I have built a custom template for page in Wordpress: page-xyz.php This page has a some content. I want to check cookie. What I want to do is: If cookie is set: //show page content else //don't ...
0
votes
1answer
49 views

Redirect depending on category chosen

I'm using Ninja Forms and their extension to do front-end posts. They have a function that isn't working that is supposed to allow you to redirect to a specific "thank you" page depending on values ...
0
votes
1answer
39 views

retrieve all emails as database in wordpress to view all sent emails

I have a wordpress CMS website,having contact us page to send email.. can i keep track for the use of this page by sender name,subject, attachment at wordpress admin panel or any other way?? anybody ...
0
votes
1answer
163 views

Adding a single text input field to a custom Dashboard widget

I have a client whom I want to give as much Dashboard control over the admin area as possible. I know how to create a custom dashboard widget that contains just text/html but I have no idea how to ...
0
votes
2answers
790 views

Getting value from database table depending on field value

I am using a plugin called formidable which is similar to Gravity Forms in terms of purpose. I have two fields of interest. The first field loads up all the values in the Town column of my ...
0
votes
1answer
110 views

Three step order form, how to go to next step

I have an order.php that is in fact a custom page template. This template loads the first step of my order form via: <?php include('order/order-step-one.php'); ?> Now in this ...
0
votes
1answer
100 views

Function to add class to <form> element?

I'm using the Sidebar Login script by Mike Jolley, I would like to add a class of "clearfix" to the element tag. I have been unable to find a solution to this so far. I'd also like to understand any ...
0
votes
1answer
128 views

Front-End Form Submission in Shortcode

The plugin I am working on contains shortcodes with forms on them. Upon form submission (POST), I do some database work, and then planned on redirecting to another page after the db work is complete. ...
0
votes
1answer
95 views

Custom Form not generating URL

CReating a template to load content in an iframe on the same page - I have not even got as far as using ajax to avoid reloading the whole page as the form submit is not working. The submit button ...
0
votes
1answer
95 views

POST from jQuery to PHP

I have a form that passes field values to jQuery, which validates the fields and creates the variables being sent in data: {} in the snippet below. $.ajax({ type: "POST", url: "<?php ...
0
votes
1answer
102 views

WordpressUser Submission Form

I have a User Post Submission form, and it has three issues, as well as one potential issue. Here is the code that processes the form. <?php if(isset($_POST['user_submission_form'])) { ...
0
votes
1answer
57 views

Make editor required for post from frontend

I am trying to build a content submission form on the front end of my site, and I am using wp_editor to render visual text editors for my users, so they can make bold text and lists and stuff like ...
0
votes
1answer
132 views

Why is this search form not submitting when button is clicked?

I've got a search form on my page, which works perfectly fine when I enter the text and press enter, however it doesn't submit anything when .submit-search button is clicked, why is that? note: ...
0
votes
1answer
290 views

Placeholders in Jetpack Contact Form

In HTML5 you can use placeholders in your forms to name fields or guide the users. I would like to use this in Jetpack forms but it seems it doesn't support it. You can add a default value like ...
0
votes
2answers
291 views

Headers already sent on a frontend post form using wp_redirect before get_header

I've gone through the various issues with headers already sent, checking for white space and making sure that the get_header line appears after the wp_redirect but I'm stuck. The code is: <?php ...
0
votes
1answer
536 views

Display multi-select box choices in a bullet list

I have a form that includes a multi-select box. <form method="POST" action=""> <select name="countries[]" size="5" multiple="true"> <option ...
0
votes
1answer
193 views

Is there a way to embed a Google Docs form in a page without using plugins?

I'm currently running a Wordpress blog. It's part of a school blog, so unfortunately, I don't have the permissions to install any plugins. I've got a "contact form" set up as a Google Docs form. Right ...
0
votes
1answer
261 views

Contact Form 7 Plugin emails not being received by some accounts

I am using contact form 7 to send an email form. I receive them, but my clients' email addresses - one at the host and one at gmail, never do. They claim that none of the messages end up in their ...
0
votes
1answer
18 views

wordpress not displaying my form

When I create a page with the content as [contact-form-7 id="199" title="Untitled"] , it displays the form, but when I use it as <div class="first"><?php $recentProjects = ...
0
votes
3answers
180 views

How to stop direct HTTP POST to a PHP script?

I have a form on my site, created using Contact Form 7 with Captcha. Contents of the form when POSTed are being sent to a PHP script, the "action" attribute of the form is set to ...
0
votes
1answer
1k views

How to open a lightbox form from a navigation menu item

I want to add a custom menu item to the main navigation menu, On clicking this item I want to open a lightbox form. I have the form-shortcode ready to be placed but on a page but I don't know how to ...
0
votes
2answers
3k views

Form action redirect to the same page

I'm making my own theme. In my theme I have a page that display custom post using a custom query. I added a form to this page. The form contain 2 comboboxes that contain values of meta data of my ...