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)

1
vote
1answer
10k views

Insert data in database using form

I am writing a simple plugin that create a table with name "newsletter" in database and provide a shortcode to put a registration form in pages. the form contain "name" and "email". i have problem ...
0
votes
3answers
719 views

Insert Extra fields added in the front end registration form to DB

I have added some extra fields like first_name,middle name,last_name etc into the custom registration form. I want to add those details int the DB also. Now only username,email,Display name and ...
0
votes
1answer
41 views

How to know if a tag has been added within a taxonomy?

I have a custom form field within a taxonomy. However when a new term/tag has been added I need to clear some values through javascript. How can I do this? I found the following code snippet in ...
2
votes
2answers
658 views

Built-in data validation function for URLs

I have a front-end form where people can submit their website URL. I'm actually verifying URLs in Wordpress with a PHP function and I would like to know if there is a built-in function that allows me ...
1
vote
1answer
144 views

Adding a new user from the front end

I have a front end form that creates a new post from users that are not required to login. However, I need to create a new user based on the information passed in the form. As it is right now I can ...
0
votes
1answer
329 views

Search a title word through query_posts (not the exact match)

We're working on a database with personal data from different sportsmen such as name, height, weight, etc. We've managed to build a detailed filter through query_posts. Every filter field is working ...
0
votes
1answer
488 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
3answers
193 views

Trouble using wordpress functions in a pop-up modal form

I'm working on a plugin and I've added a button to the tinymce editor that pops up a modal form, with options for the shortcode, and then inserts the shortcode with the selected options in to the ...
1
vote
1answer
40 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
278 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
593 views

Contact form with Jquery and PHP don't work

<?php/* Template Name: Contact */?> <?php get_header(); ?> <?php wp_enqueue_script( 'jquery.validate.min', get_bloginfo('template_directory') . ...
1
vote
1answer
112 views

Plugin to create forms using HTML [closed]

Until recently I've been using Custom Contact Forms to create some more advanced forms. The sole reason I've chosen this plugin was the ability to create my own layouts and basically just code clean ...
1
vote
0answers
572 views

jQuery Plugin to use Wordpress functions in AJAX request

I'm using Chained Selects jQuery Plugin to create multiple chained selection fields. I'm using the remote version of the plugin to build the related options by means of AJAX request from a separate ...
0
votes
1answer
3k 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
1answer
2k views

Form action URL unrecognized

I have a contact form previously used in static websites that I’d like to adapt to use in WordPress. I realize there are numerous plug-ins such as Contact Form 7, but would rather use this since it’s ...
0
votes
2answers
8k 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 ...
0
votes
1answer
142 views

Making an input field required from WP's perspective

Submitting a post comment without message leads to a white page with a clean WP error message "ERROR: please type a comment." Is it possible to achieve the same thing for input fields from a custom ...
1
vote
0answers
472 views

Single Multisite Signup Page [closed]

I'm trying to turn the WordPress multsite signup page into a one step process instead of two. I'm wanting people to choose their username, email, password and a confirmation of their password, along ...
0
votes
2answers
5k views

Add captcha validation to my custom form for Frontend posting

i have implemented the frontend form, which enables UNREGISTERED users to post on my site. Everything in working perfectly, the only problem I have is with the implementation of the captcha. All of ...
1
vote
1answer
273 views

Raw output (preventing wpautop)

Using WordPress 3.5. I'm trying to put a <form> into a Page of a WP-based site. Unfortunately, WP is "helpfully" screwing up the formatting of the form by inserting <br> and <p> ...
0
votes
1answer
3k views

Contact Form 7 “non-selectable” options in a drop down [closed]

I'm using CF7 and I need to have a dropdown with a non selectable category "header" such as US States AL AK AR...etc. Countries Afganistan Albania etc.... With "US States" and "Countries" not ...
1
vote
2answers
146 views

Is it possible to create a form post wordpress custom navigation link?

I work with a church that has a donate button on their site. The button uses a form post to connect with their simple checkout item and they want a button on the navigation to link to the donation ...
0
votes
1answer
936 views

Email from my theme's contact form doesn't get the reply-to address right

I'm using a theme that has a built in contact form, which has some options (like where the form is sent) set through the OptionTree plugin. What's happening is, the email gets sent, but the reply-to ...
0
votes
1answer
134 views

dynamic enquiry form [closed]

I'm thinking to use Contact Form 7 to create a simple enquiry form like : name, phone, email. This enquiry form will be displayed on every portfolio page. What I want to do is to retrieve also ...
1
vote
2answers
4k views

Inserting Gravity Form checkbox values into Advanced Custom Fields [closed]

I'm trying to feed checkbox values from a Gravity Forms form (which creates a new post) into an Advanced Custom Fields field. I've had a read around and found some info in a post (at the bottom of the ...
0
votes
2answers
156 views

Ajax Plugin Not Echoing Response

I have created a plugin that will submit a form via ajax. Below is the php function. add_action('wp_ajax_nopriv_audience_intel', 'audience_intel_ajax'); add_action('wp_ajax_audience_intel', ...
-2
votes
1answer
292 views

How to get an error message if a form is empty (plugin: Post for site) [closed]

I wonder if you intelligent friends can detect the problem in this code. I want the form to display an error message if it's empty. Now it just goes to my completed form page. <?php /* * * * ...
1
vote
1answer
564 views

Recreating the hierarchy of taxonomies for a dropdown form menu?

I have a form that contains a dropdown menu. This form is on a page form.php and is not part of my theme. It exists outside of my site. This dropdown menu contains my list of values for a custom ...
1
vote
1answer
410 views

How to add a onclick attribute to a list of checkboxes?

I have this array for checkbox: array( 'name' => __('Latest Product',''), 'desc' => __('Select if you want to display latest product',''), 'id' => $prefix . ...
6
votes
1answer
2k views

Page returns 404 with POST variables, but not without

I have a problem with my page. I'm trying to make a "Contact Us" page. It's working perfectly fine design-wise. But when I try to send the form to the same page as origin. It returns 404 error. It ...
0
votes
4answers
18k views

Custom form that store input in database

I have never used WordPress before, but have done a lot of programming. But what is the normal way of making customs forms? I need to create a form where a user fill some input fields and on submit ...
0
votes
1answer
1k views

Contact Form 7 plugin refreshing page on submit [closed]

For those with experience of the Contact Form 7 plugin - When I installed it, the form worked fine, and upon pressing the submit button, there was no page load, all done via Ajax, however now the page ...
1
vote
1answer
145 views

Creating a form contact page?

I'm newbie on WordPress, how can I create a new page/top-link/contact-form for a contact page? I'm using a third party theme which allows you to create a contact form with field, but unbelievable I ...
0
votes
1answer
89 views

Custom form values without plugin [closed]

I just started working on wordpress. Now i have created custom form and that form data I want to save in database and mail also. For that form creation, I have one php file which i have used as ...
0
votes
1answer
358 views

Filter/Sort Post Form On Taxonomy page

I am trying to create a form on the taxonomy template that will be able to filter the posts the current user is viewing. I want to use a few drop downs and submit button to do so. My code looks like ...
1
vote
1answer
3k views

Get user input from a form

I am trying to create a form that will allow users to update their information on the front end. I am just starting to learn PHP (I know C# very well). If I use this code to create a form on a ...
0
votes
1answer
2k views

Remember form field values with page navigation

I have a form on a page template that controls which posts show up on the page and how those posts are ordered. You can see what I mean here: http://www.theseattlevine.com/the-vine The questions I ...
0
votes
1answer
129 views

Making a form for user to add new custom post with custom taxonomies and custom fields

I want to ask that is there a way display all my custom taxonomies in a drop down menu with checkboxes so when the user check any taxonomy it will be slected and when the user click the submit button ...
0
votes
1answer
2k views

Refresh problem post is duplicated when page is submitted after page reload

I have a form on my website, that creates a post from front end. So every time when I refresh a page I got this message first: The page that you're looking for used information that you entered. ...
0
votes
3answers
632 views

Get Admin Email Address From External PHP page

I am setting up a "built in" contact form that I need to pull the administrators email address from an external php page. For instance, my form action="path/to/process_form.php" Within that ...
2
votes
1answer
227 views

other shortcodes in Contact form 7 MAILS [closed]

How to use other shortcodes inside Contact form 7- forms? indeed explains how to use other shortcodes inside Contact Form 7 forms. But that doesn't make them usable in the mails that Contact Form 7 ...
1
vote
1answer
3k views

Making the wordpress login form a jQuery dropdown

I'm using a plugin called sidebar-login to display a wordpress login form (it uses wp_login_form) in my sidebar. However, I feel like it the actual form (textboxes and labels) take up too much space ...
0
votes
3answers
3k views

Contact Form 7 not sending emails- no confirmation, no error [closed]

Live site. I've noticed that Contact Form 7 recently stopped working, despite my not having touched any of the settings. What's odd is that I receive neither a confirmation nor an error message; I ...
3
votes
2answers
4k views

Set Featured Image Front Frontend Form

I have been struggling for days to figure this one out. I have successfully implemented a form to submit posts from the front end of my site. ButI can't figure out how to make the image uploads work. ...
0
votes
1answer
285 views

Page Options Saving But Not Updating In Backend

I have created a custom options page for a slider that you can upload slides to. Everything works great except when trying to save the data. It will get saved and I can use it on the front end. But ...
2
votes
1answer
1k views

Gravity Forms not loading under https, jQuery is not defined

I am using Gravity Forms on my Wordpress site, and so far so good. The problem is I have made the page secure (https/SSL), and this is making the form not to work. It looks like the issue is how the ...
0
votes
1answer
64 views

Lead form that submits to 2 external APIs

I need to add 2 registration forms to my wp website, each form should submit the information in it to 2 different APIs. I don't know even where to begin. Is there a plugin that can help me handle the ...
5
votes
1answer
1k views

Add error message on password protected page

I protected a page with password. I’d like to add a short error message when the inserted password is incorrect. How can I do this? I add this code to show and customize the form on my page. My ...
0
votes
2answers
28k views

How do I Upload/Import Form (Input) Files via. Ajax function?

I keep running into an issue getting the file(s) added/switched to ajax so that the server ajax handler can deal with the rest. How can I get the $_FILES to be passed the same as with the default ...
3
votes
3answers
437 views

How do I save data from submitted form from widget

I'm looking over internet for some simple solution of email subscription widget but no luck. Or they are too complicated and paid, or they are relaying on some external email functions. I'm not a ...