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

add login and signup popup form in header

I use <?php wp_register(); ?> <?php wp_loginout(); ?> to show a link to the wordpress login and sign up screen. It opens up another page. My question is how do I make it so that when ...
0
votes
1answer
155 views

jQuery Live Form Validation in Wordpress

I'm trying to implement the form validation that can be found at: http://www.geektantra.com/2009/09/jquery-live-form-validation/ I can get the demo above working, but when I implement it on my ...
0
votes
1answer
44 views

Adding a Filter to Sidbar Login Plugin to Change Login Button Lable

I'm a newbie and I have not been able to find an answer to my question. I have installed the Sidebar Login plugin and I'm trying to change the form labels, specifically,the login button label. I ...
0
votes
1answer
92 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
135 views

Correct Syntax for uploading files to custom directory in Wordpress

I have current PHP code that works when attaching files on a form. The files have to go to a certain directory. I know that while attaching in Wordpress I need to use a different syntax. However, I've ...
0
votes
0answers
189 views

insert data from form to custom table

I have a custom form set up on a custom page template. I need the submitted data to be saved in custom table. What am I missing since this isn't send the data? The code I'm using: ...
0
votes
1answer
796 views

Conditional two level dropdown filter for custom post type

I have set up a custom post type and taxonomy. The post type is called Local Services and the hierarchical taxonomy is called Regions. The Regions have child categories called Areas. I have set up a ...
0
votes
1answer
94 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
0answers
138 views

Gravity Forms, multi-page, loading dropdowns dynamically, dropdown values clearing on submit

Using a two-page multi-page Gravity Form with AJAX. I have an issue with one of my dropdown's clearing it's $_POST value on submit. I have: A US States dropdown - loading dynamically via ...
0
votes
2answers
65 views

Wordpress Form To Email.php and Theme

I have some custom forms in my template pages. I'm using a form "action" to link to a formtoemail.php file. Everything works if I leave formtoemail.php as is, but I would like to call in my theme ...
0
votes
1answer
44 views

Restore Cforms II Form Presets

I have a client who had to reactivate the cforms II contact forms plugin. It refused and gave the following error: *Fatal error*: Cannot use string offset as an array in ...
-1
votes
1answer
58 views

Best way to handle a form post in plugin

I'm doing a plugin that needs to be able to post data to a third party API. Users will fill out a form and press submit. The form itself - would it be "correct" to simply append html to a page ...
0
votes
1answer
30 views

Two searchforms with different categories/posts per page

For a project I'm working on, I need two different searchforms. One is a global searchform that is always visible in the header of the page, that searches everything in the website. The other one ...
0
votes
0answers
115 views

Nonces and Cache

It's clear that form submissions and AJAX requests, especially sensible ones, need "nonces" to avoid certain exploits. However, with heavy use of caching systems it becomes harder to generate them ...
0
votes
0answers
35 views

Rewrite URL based on form input

I have a form: <form action="<?php echo get_permalink(); ?>" method="get"> <select name="genres[]"> <option value="jazz"></option> <option ...
0
votes
0answers
104 views

How to display errors on Frontend Form

This is my frontend form to edit user's profiles in the frontend: /* Get user info. */ global $current_user, $wp_roles; get_currentuserinfo(); /* Load the registration file. */ require_once( ...
0
votes
1answer
772 views

Upload file to front-end form and send as email attachment

I am trying to create a front-end form that has an option to upload a CV (so pdf or word format) that I would like to be able to send as an email attachment. I've read a few articles and tutorials the ...
0
votes
0answers
59 views

Create plugin with form in post and submit it to specific form

I need to write plugin which add form at the end of specific posts with submit button. It is clear for me. Next after click submit I need to submit form to my own form from plugin and show more inputs ...
0
votes
1answer
102 views

How to use HubSpot Forms API in Wordpress pages?

How to use HubSpot Forms API in Wordpress pages? I have to pass dynamic values to the Hubspot Form. Thanks in advance
2
votes
2answers
493 views

Custom query form submission pagination

There is a question very similar to mine, which can be found here. The difference with my question is: my search form is on several pages (page.php and single.php) and I don't use wp-pagenavi. I've ...
0
votes
1answer
29 views

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

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
0answers
80 views

Meta Box Data added to header redirect

I got a lot of my code from this post: Create more Meta Boxes as needed What I need to happen is the user input a code and it redirects them to a specific url. I know I'm grabbing the data correctly ...
0
votes
0answers
70 views

How to detect shortcode usage, submit a form from widget to that page?

I've created a plugin and now want to create a widget containing a form that will submit to the page where my plugin shortcode is embedded from any wordpress page on the front end. I assume that ...
0
votes
1answer
159 views

How can I modify the media upload form fields?

I would like to add a line of text under the description field in the media edit form to give users more direction as to how to fill out this field. What is the best way to do this? I know how to add ...
0
votes
1answer
46 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
0answers
79 views

How does register_setting and settings_fields work?

In the WordPress settings API, I understand that register_setting() must be called for add_settings_field() to be saved and updated according to the codex. Since almost every WordPress function has ...
0
votes
0answers
28 views

Gravity Forms show only values from a post

I have for example a contact form with a dropdown input called Category. I want not to show all the categories, but only the categories associated to the post. I have to do this, also with different ...
1
vote
0answers
63 views

Login to wordpress by clicking a link and specifying usernaname and password in url

I'm running a php application on an ubuntu server that's completely independent of my wordpress site. I'm using an iFrame of the server inside the wordpress site, but I need to login to Wordpress with ...
-1
votes
1answer
39 views

Advanced searching form

I am trying to create an advanced searching page on front-end page for users. I have been trying to find but it's not easy to find some tutorial or sample source. I have found that It is possible to ...
0
votes
1answer
1k views

Accept AJAX call with serialized form data

I'm trying to pass a wordpress plugin some form data via ajax and it works just fine, unless the form data is serialized, then the server responds with an error message. I'm stuck with this for days ...
0
votes
1answer
62 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 ...
1
vote
3answers
142 views

How to update selective options on plugin settings page

I write a wordpress plugin. My plugin has options. All options are in one group, 'pluginname-settings'. All option names are uniform and look like "pluginname-settings['option-name']". Some code to ...
0
votes
1answer
70 views

Submitting form in wordpress plugin

I am new to wordpress and currently making a plugin. I am getting list of authors using <?php wp_dropdown_users(array('name' => 'author'));?> Now when submitting my form I want to retain ...
0
votes
1answer
321 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
0answers
142 views

How to fetch form data and show it to my page?

I'm new to wordpress, & trying to create a simple form from of my use, and wanna do it by plugins . so I created a plugin for that but that is not showing the values of my form. there is a option ...
0
votes
1answer
100 views

How do I update the formatting of the Mailchimp Subscribe Widget

Installed the Mailchimp Widget in the sidebar of my website and the formatting for the widget is askew. I need to shorten the length of the "Submit" button. I want to remove the two radio buttons that ...
0
votes
2answers
373 views

How to hook into user registration process Before user registers

I need to add a field to the user registration form and then validate it before I add a new user to my WordPress I know how to hook into the registration form via add_filter('register_form', ...
0
votes
0answers
51 views

How can I add Details about a company in Woocommerce checkout form

How can I add details (array boxes) upon checking a checkbox if the person who is ordering is representing a company (in checkout) NAME / SURNAME [x] I represent a Company -COMPANY NAME -REG ...
0
votes
0answers
30 views

form to generate url

i have a form on my site to generate url and it works good but the user should wait until the whole page is loaded to be able to use it properly , i think that happens because i use window.onload and ...
0
votes
1answer
602 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
112 views

add a form on clicking download link

I have a download page in my website. There i have a download link. On clicking the download link a lightbox will appear which contains details such as name,email etc. I want to download the ...
0
votes
0answers
106 views

Why the form's get method redirects to edit.php in wordpress admin?

I have a form in wordpress plugin and i am trying to submit it using the get method. The problem is that, the form redirects to edit.php page instead my custom post type page, which is ...
0
votes
1answer
236 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
0answers
55 views

Form passing arguments by get causes 404

I'm printing a custom list table on a site introduced 2 filter methods for category and title: <form id="products-filter" action="http://localhost/?page_id=258" method="get"> <p> ...
0
votes
0answers
27 views

Easiest way to force buddypress users to fill in the form before joining group?

I have a groups and I want to force users to fill in the form before they join the group (declartion of something). As I think no plugin for now does that I want to ask you how to start? Thank you in ...
0
votes
1answer
272 views

Ajax Form seems to post, but does not return

I have a very simple form with 3 checkboxes allowing users to flag a video as inappropriate. I'm trying to make a simple ajax request to create an email, and give the user some feedback. The form ...
-1
votes
1answer
51 views

Create service similar to wordpress.com [closed]

I am looking to build a service for users where they can signup (using an online form such as Gravity or Ninja forms) for a website either as a sub domain or sub directory of the main website similar ...
0
votes
1answer
144 views

Using admin-ajax prevents regular php form submission

I have a page with a table of posts and groups of checkbox filters in the sidebar. Looks something like this: www.example.com/toylist |___________| |_______________________| | [ ] Red | | ...
1
vote
1answer
272 views

Form Shortcode not saving data to WP database

I'm developing a plugin that creates a custom table upon plugin activation. The plugin allows users to add a form shortcode to collect data for leads. I've got to the point where either the data ...
0
votes
1answer
48 views

Customize wp-admin form custom fields

I would like to customize some form elements in my WP admin area: starting from this example (http://api.jquery.com/val/ the one with the select) what I would liko to do, is to update a via a select ...