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
1answer
216 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
1k 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
0answers
103 views

gravity forms nested list

I am building a form and attempting to figure how to create nested lists. What I want is to have a list item that contains list items as show in the picture i have two lists and i would like the ...
0
votes
1answer
141 views

User accounts for saving form data?

I have a handful of forms on my WordPress site that people fill out, sometimes repeatedly. They can be fairly long, time-consuming forms, so I'm hoping to find a solution where a user's form data can ...
0
votes
1answer
130 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
19 views

Link Forms on Wordpress

On our Wordpress site, we have a form that consists of a series of (radio button style) questions. Depending on which answer the user provides to a particular question, we'd like to show the user a ...
0
votes
1answer
119 views

Storing Form data in a different database

I have two wordpress websites and I want to store the data submitted by the forms in a centralized database in order to better manage the information. Is there a way I can store form data in a ...
0
votes
1answer
116 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
56 views

Custom Form only for admin

I want to add a custom form with some fields such as text,date,dropdown etc only viewable and editable for admin.When I submit the form the data should be displayed in the desired page that I ...
0
votes
1answer
198 views

How do I capture the selected option and pass in sending the registration form?

I'm customizing the WordPress registration form, and I need to display an list of options from a select on form submission. I was using the following code to capture the selected option of the ...
-1
votes
1answer
146 views

Create a variable from Contact form 7 [on hold]

I'd like to gather some search criteria from my user from contact form 7 and then format it into a variable called "xml". I then have to pass that variable to another site using syntax like ...
0
votes
1answer
248 views

Update user meta on custom wordpress form and redirect

I have a fully functioning custom wordpress form that updates the user meta when they are logged in, however when I submit it just reloads the same page I am on, I am trying to get it to redirect to a ...
1
vote
0answers
122 views

Dynamically add more fields/remove last field in a form

What I want to achieve is to build a form, which contains buttons "add one more field" and "remove last field" that would do exactly this - add a field dynamically to my form or remove the last one. I ...
0
votes
1answer
36 views

Page template with custom html fields inside a content

I'm writing a custom page template and I want to do something like this: after typing tag inside page content, for example [custom-email-form] I want to place inside the content some html5 email form. ...
0
votes
1answer
156 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. ...
2
votes
1answer
73 views

Front-End Interfaces Without Shortcodes

So, I consider myself a "advanced novice" at WordPress development but I still do not have the concept of pages and templates fully understood. I'm having an issue with a feature I'm attempting to ...
0
votes
1answer
52 views

Using AJAX with Forms

I am attempting to validate and submit a form using AJAX in WordPress, however, the response that I am getting is 0. According to the codex, this would seem to indicate that admin-ajax is unable to ...
0
votes
1answer
225 views

Form Security: nonce vs. jQuery

I am trying to create a methodology for submitting forms on my WordPress site. In the past, I have used WordPress nonces in order to secure form submission, but I like the idea of using jQuery to ...
0
votes
5answers
728 views

How to trigger $_GET request within admin plugin page?

I have this form in my plugin function: <form method="get" action="" enctype="multipart/form-data"> <p class="submit"> <input type="hidden" name="do_it_hidden" value="run"> ...
2
votes
3answers
1k views

Sending form data via PHPMailer - How to action PHP script from a form

Some easy points on offer... I wish to action a PHP script from a WordPress page but where is the best place to store the script? The script works perfectly fine using a non-WordPress environment in ...
0
votes
1answer
123 views

Form fields based on custom fields

I need to create a contest forms where the fields are based on values in several custom fields. The form layout is to be somewhat static, except from the contest questions (labels) and the type of ...
0
votes
0answers
83 views

Calling Custom Taxonomy Dropdown in Form

I'm writing a plugin to allow users to submit fragments of lyrics to my site. I have the plugin working minus one aspect. When entering the lyrics I would like users to be able to select the artist ...
0
votes
1answer
108 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
109 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
0answers
242 views

Front end form submission/processing, without using a template file

I'm writing a plugin which has a front end form that is generated by a shortcode. I'm struggling with processing the form submission in any way. Many tutorials describe placing form processing code at ...
1
vote
1answer
403 views

jQuery Validate wp_editor

I have a form, and in the form, I use <?php wp_editor('', 'user_submitted_progress', $settings = array('textarea_name' => 'user_submitted_progress')); ?> to generate a TinyMCE, rather than ...
0
votes
1answer
113 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
69 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
2answers
75 views

prepopulate form from a hook within wordpress function.php file

I have a form that I created by simply using the HTML editor in the wp-admin backend for a page. I have some variables in a hook for that page, I would like to pre-populate some of the form fields ...
1
vote
0answers
194 views

Integrate plugins s2Member with MailChimp

i follow the tutorial at http://www.mysecondmillion.com/s2member-install-setup-mailchimp/ configured as what its said, but still not get the s2Member subscriber added to mailchimp list. I've set ...
1
vote
1answer
481 views

Creating a custom multilingual form

I need to create a special form for my website where users cand specify a series of data including some textfields, combo boxes and sliders (from 0 to 100). Also I need this form to be qTranslate ...
1
vote
1answer
371 views

WP Login forms action URLs displayed as pretty URLs in browser (ex with Restore Password)

I would like to use the WP native login/register/restore password/.. functionality, but display pretty URLs instead of wp-login.php I've been looking at the core code and noticed that most login ...
0
votes
1answer
234 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
74 views

Is it save to replace <input type=“submit” > with <button type=“submit”> in WordPress search form

I am asking because of a large userbase and possible conflicts with plugins. I mean the 2013 theme for example targets the button with .searchform [type="submit"] even of it has the .searchsubmit ...
-1
votes
1answer
99 views

Contact form 7 Plugin [closed]

http://www.tahititravel.com.au/site/thepage/ Here I have a form. I am using Contact Form 7 Plugin. I have modified the CSS to suit my Design. But When the form validates my design is ruined How ...
0
votes
0answers
111 views

User driven content problems

I am trying to build a website that will allow users to post from the front end. I need to be able to have the user enter a title, a category, and tags. For the content of the post, I would ideally ...
1
vote
1answer
377 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 ...
2
votes
4answers
4k views

How to stop form resubmission on page refresh

Hi I have a form that adds attachments to a post, however when the form posts it obviously doesn't show the post with the new attachment echoing "your file has been uploaded". When the user refreshes ...
0
votes
1answer
70 views

Capturing POST data

I am trying to modify the Member Status Plugin so that the status are based on the data saved on a custom database table. Basically I wanted to change the administration menu with a form that can ...
0
votes
1answer
174 views

Multi-part form and wp_redirect()

For starters, it's a plugin (with a shortcode) or at least I would prefer it to be. I've got two issues both related to wp_direct. If form 1 validates I want to redirect to form 2, and continue the ...
1
vote
3answers
1k views

Pass data from one page to anothe file/page in wordpress

I have my custome theme in wordpress.This is the path of my custome theme. C:\wamp\www\wordpress2\wp-content\themes\sscy1002\sscy1002 I have created a Page in wordpress which contains some form ...
0
votes
0answers
34 views

Private feedback on users

I am trying to find a way for users to write private/anonymous feedback on each other (similar to ebay or amazon but private, and so that users can view feedback on them and feedback they have sent). ...
3
votes
2answers
1k views

Custom Registration Template/Page

Is there a way to display the WordPress register form on a custom page the way one would use <?php get_search_form( $echo ); ?> for a search form? If not how would one go about creating such a ...
1
vote
1answer
415 views

Check spam in custom form - akismet

I have a plugin that has input form, I have decided to check submitted data with akismet. I do have API key, WP comments are filtered correctly... here is, what I found: ...
0
votes
2answers
323 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
615 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
227 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
2answers
78 views

Create a new page for each form selection

I have a got custom page template which displays a drop down box that has list of countries.A user selects the box and clicks sumbit.Page then then displays the relevant details for that country .IT ...
0
votes
1answer
277 views

How to put a form with php code into a variable or shortcode?

I'm trying to put my frontend form into a variable or a shortcode so I can wrap another shortcode around it (specifically Bainternet Post Creation Limits). My form has PHP code in it so I'm not ...
1
vote
1answer
442 views

Duplicating/Cloning Multiple Form Fields

Not sure what to call this one, but I am working on a form that asks for product information (name, description, color, features, etc.) but what I'd like to do is give users the option to add ...