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
358 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 ...
1
vote
0answers
21 views

recommended practice for form submission

I want to create a form on a page but how do I handle the form submission. Which hook should i implement to handle my submission? Probably dirtiest would be to do it in the theme itself but I don't ...
2
votes
2answers
398 views

Gravity Forms Custom Templates

Im trying to further customise my Gravity Forms "Address" labels. At the moment they read "Street Address", "City" and "ZIP / Postal Code". I, for example, want to change "ZIP / Postal Code" to "Post ...
-2
votes
0answers
24 views

PHP code inside a WP page echo<html code> problem [on hold]

I've activated a plugin to use php inside a wp page. It'works but if I need to use html code within a php block, that statement is not considered. I need it to fill a listbox from database. e.g. ...
0
votes
0answers
13 views

Gravity Forms After Submission - GFFormsModel::update_lead_field_value?

I am working with Gravity Forms. This code works with a couple issues : add_action('gform_after_submission_14', 'post_contract_update', 10, 2); function post_contract_update($entry, $form) { ...
0
votes
1answer
221 views

How to send form values from the script in functions.php and not from the form on my website?

I have a form on my website and depending on if the user check paypal or wire-transfer the form action should always go to functions.php where I have this simple check at the end of the file: if ( ...
0
votes
2answers
3k 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 ...
0
votes
1answer
271 views

Display additional form options based on Category selected $categoryId = $_POST['cat']; not working

I have a conditional statement to show certain images to choose from (radio buttons) based on the category chosen, however when the category is chosen, the radio buttons don't show? What am I doing ...
0
votes
1answer
221 views

Contact form with database integration issue

This is more a question about the idea I am going to share and ask for advice for. I would like to have a contact form on my site, where people complete their data and it gets stored inside a ...
0
votes
1answer
29 views

Merge or combine two or more gravity forms

Q: Is it possible to merge or combine gravity forms? When you have (lots of) forms, which share (lots of) custom fields this would guarantee consistency across forms and simplify form creation. ...
2
votes
3answers
247 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 ...
0
votes
1answer
245 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 . ...
1
vote
4answers
240 views

Retrieving a Value from a wp-database

why my sql statement is not returning any value.. is this wrong? <?php global $wpdb; $result = $wpdb->get_results($wpdb->prepare("SELECT * FROM ...
-3
votes
0answers
18 views

How to store form submissions and edit their statuses in admin area?

The main idea is to create form (product purchase) and store submissions in DB. In admin area I need to assign statuses for each submission and assign completion to user role 'manager'. Create user ...
0
votes
2answers
1k views

How to append new form elements in “Add New” form of Users in Wordpress admin panel?

I'm developing a WordPress plugin and I want to append some extra form fields in add new form of Users section inside admin panel without editing core files. Can somebody help me in achieving this.
1
vote
3answers
663 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 ...
3
votes
1answer
340 views

User registration problem in WordPress

I am trying to make a user registration form in my site's side bar. Users are able to register but instead of getting a success message, WordPress usually redirect them to 404 page. Below is my form: ...
1
vote
2answers
43 views

Return to option page after running PHP script

I have an option screen for my plugin, it's just a simple form. <div class="wrap"> <h2>SoundCloud Podcast Importer Options</h2> <hr/> <h2>Add a ...
2
votes
1answer
555 views

How to pass on Google Adwords gclid variable to other pages

i need to track if people filled out any of my forms on my wordpress blog if they where coming from a Google Adwords ad. There are many forms on my website like for booking a demo presentation, ...
0
votes
5answers
501 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"> ...
4
votes
1answer
713 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
0answers
7 views

Pre populate gravity form with admin only drop down of WP users

I am building a directory with GF + Directory addon (lovely) However, one glitch: I am creating the user accounts and the form entires to begin with - so a user that logs into their account later to ...
0
votes
1answer
254 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 ...
0
votes
1answer
49 views

Success message in comment form

I am using wordpress 3.8. I am using comment_form(); I need to display a success message on successfully posted comment on blog. How to do this?
0
votes
0answers
27 views

Attach form output as TXT-file in notification email

(How) Is it possible to attach the form output (contact form 7 or similar) in a TXT-file with the notification email to the admin? Is it possible to make a template for this TXT-file with only some of ...
0
votes
1answer
1k views

using AJAX to run sql statement and populate dropdown

I am trying to create a search where the user select two different bit of data from databases and it them prints some results that meet requirements. I know I need to use ajax or something similar but ...
0
votes
1answer
745 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
76 views

Using Multiple Submit buttons to trigger customised php functions

I may be going about this completely the wrong way but bear with me... I have a long guestlist that is automatically populated using a foreach table. I would like to put a 'No Show' button on this ...
0
votes
1answer
27 views

Username from e-mail

Which files do I have to edit to get a grip on $_POST data sent by the registration form? I want to explode $_POST['email'] and build an username from that. I simply want to allow people to register ...
0
votes
1answer
1k views

Simple form that saves to database

I am using a 3rd party service that does a scrub of my database for new entries within a specific table. However I am been unable to find a simple form plugin that submits data to the wordpress ...
1
vote
1answer
333 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
424 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
0answers
36 views

wp_usermeta key problem

I am trying to add a meta key to wp_usermeta but it does not work at all. The key would get value from a checkbox. I used the code from Wordpress codex tutorial and it's not adding anything. I will ...
0
votes
0answers
35 views

Inserting into database from form issue

I'm trying to insert some data into a database before email sent with contact form 7. Currently it doesn't seem to be doing anything. My code is: add_action( 'wpcf7_before_send_mail', 'my_conversion' ...
0
votes
1answer
16 views

Custom registration field to SQL database

I have created new columns in a SQL table called wp_users. Those fields are "giodo", "handel" and "regulamin". What I want to do is to add '1' to each column when a user registers and selects ...
0
votes
0answers
33 views

How to include editable PDF in wordpress

I need to include a Existing PDF in website, where user can either fill or download it. I tried to use visual form generator, but it doesn't like actual form and I need to allow a user signature. ...
1
vote
0answers
38 views

jQuery and AJAX Not working with Select Form Element

I seem to be having a strange issue with jQuery and a newly-created AJAX form/function. I'm pretty new to AJAX so please bear with me. Here's the jQuery: ...
16
votes
5answers
61k views

How to display WordPress User Registration Form in front end of the website?

How to display the WordPress user registration form (the form that appears in "www.mywebsite.com/wp-register.php" page) in the front end of my blog? I have customised the registration form. But don't ...
5
votes
4answers
4k views

How to handle form submission?

I'm new to wordpress and hence facing some issues. The use case scenario is as follows: A user is displayed an application form to start a club in his school. The user fills the form and hits the ...
0
votes
1answer
3k views

Connect forms in WP to external database

I want to use Wordpress for an existing site (coded in PHP). It has some forms (for member subscription, user can update their data etc.) which are connected directly to an existing database. I don't ...
1
vote
1answer
441 views

Embed IPB forums to wordpress page

I have a community that is really forum driven, and after messing with most major content management systems, I've really liked Wordpress for Its front news pages/blog posts. The issue that I'm ...
0
votes
1answer
204 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 ...
1
vote
1answer
22 views

How can I do a URL redirection when an user uses wrong login details?

I have got this form for login from the front-end. <form action="<?php echo site_url('wp-login.php', 'login_post'); ?>" method="post" <?php /*id="login-page-form"*/ ?>> ...
1
vote
0answers
27 views

Search Query: how to construct a search string from two select elements?

Im trying to create a wordpress search widget. The final search string Im trying to submit is made up of two keywords, one each from a select element. I'd like the final search query to be ...
1
vote
3answers
68 views

Post form as custom post

I'm new to WordPress and need to create a website including a special form, with which I can upload photos, set my position on an OpenStreetMap and choose from several dropdown menus. Here you can ...
0
votes
0answers
137 views

Edit User Profile From Front End

I have taken reference from this link. I have used Plugin cimy user extra fields for extra users' field. I have taken few extra fields such as picture upload and file upload. Now I want to edit ...
0
votes
0answers
21 views

form to post multiple inputs into post_content

I have a form, with multiple inputs that I am trying to get posted to the wordpress "post_content". I am able to get the title field and only one other field to post successfully, only when making a ...
0
votes
0answers
44 views

Prevent multiple form submissions from one page

I have a problem with the end user form. Users can spam by just pressing all the time the add button. Is there a way to hide it or disable it when someone click the Wyslij button? I am using this ...
0
votes
1answer
204 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 ...
0
votes
1answer
31 views

Performing a POST action on homepage goes to posts page

On every page of my site I got a contact form that will send an email to the respective address. On this site also I've set the front page display to a static page. The contact form will basically ...