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
votes
0answers
10 views

Gravity Forms - Update a single form instead of create new one [on hold]

It seems there should be a way to have a form which only one copy is updated, but I have not found a way. For example, I have a sheet called Strategies that has some fields for our marketing ...
0
votes
2answers
25 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
51 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
9 views

Change Form Validation in Woocommerce [closed]

By default in woocommerce checkout page if user misses some required fields or enters invalid values a series of error message will pop out on the top of the form. I wonder if I van change the manner ...
0
votes
0answers
13 views

Visual form builder: how to add a default value from url? [on hold]

I have created a form using visual form builder plugin. I want to set a default value for a field from url. I wrote the following code for this. add_filter( 'vfb_field_default', ...
-1
votes
0answers
10 views

Pre-populating Formstack option with Custom Post Type titles [on hold]

So a client has an "Employment Application" on Formstack. They create a post on WordPress in a CPT title "Job Openings". The titles of all the "Job Openings" are then placed into a dropdown list on ...
0
votes
0answers
17 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
21 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
19 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
14 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
15 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
17 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
19 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
60 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
19 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
20 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
47 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
24 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
55 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 ...
-1
votes
0answers
6 views

Form Action not working, how ever, if I hit enter in the addr bar, it takes to the correct page. need help

This is a ITRO Pop-up. Form Action not working, how ever, if I hit enter in the addr bar, without making any change to the URL, it takes to the correct page. NAME: ...
0
votes
1answer
20 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" ...
-1
votes
0answers
16 views

Fill Input Fields with URL Contents

I have a web page that has a set of input fields, created with the Form Maker plugin. I would like to be able to auto-fill one of the fields based on the url value that's entered, similar to this. ...
0
votes
0answers
9 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
13 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
45 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
21 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
25 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
27 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 ...
1
vote
1answer
115 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
20 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
78 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
16 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
53 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
35 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
73 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
61 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
95 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
46 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
37 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
52 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
153 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
56 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
31 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 ...
0
votes
2answers
866 views

Dropdown List Won't Display Selected Option After Submit / Refresh

I created a user form on my index page which allows the site visitor to re-order my post loop order based on either most recent posts or highest rated posts. The form works perfectly, the problem is: ...
0
votes
2answers
53 views

Checkbox won't check when label is clicked

I'm not sure if this is a WordPress specific issue but when I create a simple form as a widget in my sidebar the checkbox won't check when I click on the label. Strangely though, it does work when ...
0
votes
0answers
25 views

Contact form with dynamic recipient

I am creating profiles of people where each person is a custompost; I need my customposts have a contact form send mail to different recipient. I have already created a Metabox in which to put the ...
-1
votes
1answer
48 views

Forms won't submit

I have a brand new theme that I just built out using _s's (underscores) that won't submit forms. Here are the errors I get in the console: On submit: Uncaught Typeerror: cannot read property: ...
0
votes
1answer
28 views

Redirect loop upon installation of my plugin

I have created a plugin that uses a shortcode [MyCreditStatus] to display a form (multi-page form). This plugin uses an API that I also made. When I try to install the plugin, there are times that ...