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

Removing the password confirm field from buddypress registration [on hold]

I'm trying to remove the password confirm field from the buddypress registration which is easy enough to remove from register.php but I need to remove its validation from the bp-members-screens(). I ...
0
votes
2answers
20 views

Storing user submitted forms [on hold]

I was wondering what's the best way to create a form which can only be seen by registered users. The main idea I'd like to achieve here is for users to log in and gain access to a page where there's ...
0
votes
1answer
26 views

Split a long form into multiple pages

I have a long form that gets submitted. I need to change this to a multipage/multistep form over several pages. I'll add a somewhat clean version of it, its custom made so there is no source. ...
0
votes
0answers
10 views

Best way of developing a sales report wordpress portal for several users? [on hold]

I'm developing a WP portal that will be able to show different health agencies and its agents all details from their sales. It has a hierarchy where the agency see everyones information, managers see ...
1
vote
0answers
42 views

Contact form won't submit

I posted this on the Stackoverflow site and haven't received much assistance with the issue. I hope that, by reposting it on here, someone could please offer me any assistance. I am creating a theme ...
0
votes
1answer
19 views

How to allow specific extensions and file size to wp_mail attachment?

I am trying to create a form with an attachment option that will be sent to an email when the form is submitted on a wordpress site. My codes work fine and it sends email in a HTMKL table format to ...
0
votes
1answer
18 views

how to set from address according to the form input email address for wp_mail()?

I am trying to create form and send it to my e-mail address using wp_mail. my wp_mail() code is: if($_POST["submit"]) { $to="am.riparz@gmail.com"; $subject ="Arugambay Bookings : New ...
0
votes
1answer
29 views

PHP form is not sending mail if I use mime type and version in header. How to solve this? [closed]

If I use the following code, then the form works fine and I am getting form submissions to my email. <?php if($_POST["submit"]) { $recipient="meemail@gmail.com"; $subject="New request"; ...
-1
votes
0answers
47 views

Add new custom field for custom taxonomy - print_r field not found

Thanks to this website, I succeeded in adding a field for my custom taxonomy (my taxonomy is called "ptype"), but when I try to use the function to save the data, I don't have my custom field in the ...
1
vote
0answers
12 views

Edit Custom Post Type on Custom Admin Page instead Post Admin

Background: I am still quite fresh to coding and WordPress. For me the best way to understand, is to work on a specific project. Project: I want to build a Customer Relationship Tool for WordPress ...
0
votes
1answer
24 views

Custom form action hook

I am writting a simple newsletter subscriber plugin. I created a widget with form: echo '<form action="'.home_url().'" method="post" name="subscriber_form">'; echo '<p><input ...
1
vote
3answers
59 views

How to show a 'correct' message after submit a form?

I'm building a template page for submit a profile changes. I would like to show a 'correct' message in green(example) for the user knows. Here my template code: <?php global $avia_config; /** * ...
0
votes
1answer
52 views

Update post meta without deleting the old entries

$old = get_post_meta($post_id, 'figure_sugsubject_repeatable_fields', true); $new = array(); $figuresugsubjectpositions = $_POST['figuresugsubjectposition']; $figuresugsubjectworkplaces = ...
0
votes
0answers
19 views

Text widget form and URL variables

I have an HTML form that I dropped into my Wordpress text widget that connects to a third party service so I need the form variables to be exactly right for it to work. The form is using GET rather ...
0
votes
0answers
26 views

Create user assessment and use results in sql query

I am building a plugin that displays custom post types based on a user's assessment result. For that I need the user to fill out a form (not a very complicated one). This form submission needs to save ...
0
votes
1answer
22 views

Form processing: How to process form before output and access data from shortcode

I have a form that's output with a shortcode. I need to be able to conditionally process a redirect on the form submission, so the form processing needs to happen before any output is sent (I've put ...
0
votes
2answers
47 views

Grab values from the query string to fill in hidden fields in ninja forms [closed]

I've added a custom page template where I pull out a list of available jobs from the database. The page displaying the jobs is called jobs. I'm using the Ninja forms plugin to add a form on a page ...
1
vote
1answer
17 views

Display users uploaded files as posts

So I have implemented the functionality where anyone can upload certain types of files with a title and description. I am having trouble with the idea displaying them as posts or list in the a certain ...
0
votes
1answer
27 views

Form Plugin for Api Requests which is used via Shortcode

I've a little PHP Script with a input Form which is used to register for a newsletter. This Form accepts only an email address and then makes an api call using curl. Now I wan't to build this form as ...
-1
votes
1answer
25 views

Auto populate a Form

I'd like to auto populate a form / Text area with the post content ! For Example : The link below has got a link which take it to the form ! http://cozysms.com/passenger-tumne-mere-jeb-me-hath/ ...
1
vote
1answer
68 views

Using ajax with wordpress

I'm trying to get my head around ajax requests in Wordpress and am finding it hard to understand. Basically I have a form that has a number of steps and you move through these requests using ajax, ...
0
votes
0answers
24 views

Assign uploaded file to user

I'm developing a project in which I need to give the logged in user (editors) the option to "give" that uploaded file (media) to a specific user. In other words, i want to add an additional field in ...
0
votes
1answer
26 views

How to pass username into form that sends data to database

I am trying to pass username to database through form: [insert_php] $current_user= wp_get_current_user(); $id= $current_user->user_login; [/insert_php] <input type="hidden" name="id" ...
0
votes
1answer
68 views

Adding data to custom wordpress database table

I have a form on a page that populates the database table: <table border="1"> <tr> <td align="center">Form Input Employees Data</td> </tr> <tr> ...
0
votes
1answer
52 views

Simple form validation for custom post type in front end. Not working

So everything is working fine except for the validation. The error messages don't display when the form is submitted empty and you can still submit the form when empty. I must be missing something ...
0
votes
0answers
62 views

Search inside a custom taxonomy for multiple words doesn't return anything

My goal is to perform a search inside a custom taxonomy field. The page is an archive including a lot of books and magazines, and they have to be searched through, let's say, 'Authors','Title' and ...
0
votes
1answer
27 views

Reset form on onclick function

I have a problem. I want to have an reset/clear button in my form, but it won''t work.. http://pastebin.com/jc0yqXiq Line 1-8 is the php for my form on line 94-97 <form id="myForm" ...
0
votes
0answers
12 views

How to creat form with get method and receive it

I want to put a form in a page on my wordpress (in local). I have this form code : <form method="get" action=""> <h3>XML name :</h3> <input type="text" name="xml_id" ...
0
votes
0answers
23 views

Processing form post data using database queries to construct custom query string

I have a form on my wordpress site. On form submission I want to: 1) Capture the form data 2) Run database queries using these data 3) Process the results and use these to construct a query string 4) ...
1
vote
1answer
51 views

Add Div to Comment Form

I have some code that displays my comment form and my custom validation, what I'd like to do is add a div right underneath the title, but I'm not sure how to do that because that code is generated... ...
0
votes
1answer
26 views

Save/retrieve form data best practises for theme development

I'm building a theme and I have a custom page template with a <form> which is for the vistors to fill in and submit. I'm processing the data with help from hooks and this is all separated from ...
0
votes
0answers
27 views

Contact form spam, without form?

I previously had a contact page with the theme built-in contact form. I received a lot of spam with that form, and one day I had to change it to add functionalities (upload to google docs) and I ...
0
votes
1answer
40 views

How to create input page in Wordpress admin panel?

I have never used wordpress before and I'm trying to learn it now, I hope in this forum we can discuss about wordpress more, so I can more understand about it. I have problem, that I want to create ...
2
votes
1answer
159 views

Has anyone tried putting PHP ActiveRecord on Wordpress?

I have worked with Ruby on Rails and I was looking for some code that did something close to the wonderfull RoR's ActiveRecord. I stepped by this site. Its PHP-ActiveRecord! I found it amazing, and ...
0
votes
0answers
18 views

Saving checkboxes for specific user

In my website i have a bunch of checklists with checkboxes <input type="checkbox"> Option 1 <input type="checkbox"> Option 2 And so on. How would i be able to save these ...
0
votes
0answers
26 views

Add SELECT in search form

I'm trying to change the searchform adding select tags. In my theme, if I search "a b c", the search result in the URL is "/?s=a+b+c", but with the new form I am not able to print the sum. This is ...
0
votes
0answers
13 views

How should I include a contact form in a premium theme? [duplicate]

So I am researching into creating a premium wordpress theme however am wondering on the best way on going about creating a contact template, in terms of using a plugin for the contact form or create ...
0
votes
1answer
105 views

How to redirect to a page after the form is submitted

I am New to Wordpress.I am creating a Plugin Where I have to import a csv File to database.Uploaded and Entered data Successfully.But my Problem is once the file gets uploaded it shows a blank page ...
0
votes
0answers
17 views

Prevent submission of widget form

How can I prevent submission of a widget form? The following doesn't work for me. And preventing submit won't work because Wordpress uses Ajax for those forms. jQuery(document).ready(function($) { ...
0
votes
1answer
58 views

Creating wordpress user registration form

I am having a form page called Test Form with this form : <div id="container"> <form action="wp-content/themes/max-magazine/TestForm.php" method="post" name="myForm"> User <input ...
0
votes
1answer
39 views

Make a page (url) not cacheable [closed]

How to setup a wordpress-page in wordpress as non-cacheable in wordpress? I have made up a form manually for a page(wordpress) and I want to make that page not cacheable by browsers. How can it be ...
0
votes
2answers
98 views

How to selected value default in option list?

I researched but did not find right answer to my question I have custom post type for states, cities and countries and would like to set the default value in the country list for "Argentina", but do ...
0
votes
1answer
85 views

How to use wp rewrite to hide form action url?

I have a widget that I'm making that builds a multi-step form which retrieves xml data from a third party plugin (http://xmlplugin.com/geoquote.php). While this plugin is available for use already it ...
1
vote
1answer
129 views

wp_mail file attachment not being placed in upload folder?

I have a form where I want users to be able to select an image to upload. The image gets temporarily uploaded to the wp-content/uploads folder, is attached to the e-mail and then is destroyed. Right ...
0
votes
1answer
50 views

Call another page in forms

I am doing some practice for WordPress plugin. In plugin I am working on a form and what I need is to call another page on submission. I have tried that but nothing seems to work. <form method = ...
0
votes
0answers
40 views

Saving custom form fields

I am creating a plugin. So far I have created a menu and a page containing the form. I want to save these form fields for any user with 'Doctors' role. I think it should be saved under wp_usermeta ...
0
votes
1answer
88 views

Wordpress registration page template

I'm very new in wordpress, and I have a client that needs a custom registration/login form on the front-end side. I also need custom user fields. (phone, company name, about, blog url, etc). For the ...
0
votes
1answer
206 views

WordPress Frontend Post Form (Bootstrap Modal) Not Creating Post

I have a form in a separate PHP file in the theme directory and it's being included in the sidebar of the main page template. The form is inside a Boostrap modal. I've been trying to use this code to ...
0
votes
1answer
91 views

How to redirect user to a page after form submission

I have three dropdown filters on the front site to select country, territory and region and need to redirect the user to the country/territory/region page depending upon the filter values on click of ...
0
votes
0answers
32 views

Front-end form submission not creating post

I'm trying to use a front end form to create a post. I've been trying for a while now but I the post is not created. I'm using the code below, i'm not sure if i've forgot something. <?php ...