Questions tagged [forms]

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.

Filter by
Sorted by
Tagged with
1
vote
0answers
11 views

contact form 7- convert to wp registration form

A very nice man shared this code to add to a theme's function file that will convert a cf7 form into a registration form. There is a plugin out there but the developer seems to have abandoned it. The ...
0
votes
0answers
16 views

Help With Contact Form + WhatsApp Integration [on hold]

I´m trying to use this code, to send Contact Form Infos to my WhatsApp https://gist.github.com/yeriepiscesa/69b256933c763c6c6213c5744454109a I´m not get any errors, but the infos are not being ...
0
votes
0answers
10 views

Elementor with NinjaForms Not working

I created a form in Ninja forms and i displayed through shortcode in elementor But it seems to be like that it is not displaying Actual Ninja Forms UI instead Just the code Here is the page link ...
0
votes
0answers
13 views

Mix static and dynamic wordpress sites?

it might seem to easy but is there a good way to mix static generated wordpress pages through wp2static with the dynamic wordpress pages which can not me functionally converted? For example: ...
0
votes
0answers
7 views

Formidable Forms Conditional Dates

I am trying to set some conditions for a date picker in formidable forms. I have the Datepicker Options add-on but am still limited. The purpose is for customers to make requests. We need 2 business ...
-1
votes
0answers
11 views

Auto compute fields with lookup table [on hold]

I am looking for a solution on how to have an auto compute fields that is working like an excel with a look up table. I am trying to compute salary base on experience, years in field, industry, and ...
0
votes
0answers
15 views

Pricing depending on selected items in a multi step form

I'm looking for a way to create a custom pricing for my clients. Depending on the options they choose on a multistep form. I'm using Wordpress For example first, the user is being asked if he needs a ...
0
votes
0answers
10 views

How to create a custom search form to filter data organized in tabs?

Considering that I have an Excel table that represents my "DB", I need to implement a custom search form that: retrieves data from the table, using some filters, and shows short results; opens a tab ...
0
votes
0answers
6 views

Edit Buddypress extended profile from a form

My users will have to fill a form pretty soon and I would like to use the informations they will set in it to update their BP profile. Any idea on how to do it ? The populating of a form using BP ...
0
votes
1answer
17 views

Editing fields required in the WooCommerce / WordPress registration form [on hold]

I can't seem to find the template file or find the setting within WooCommerce to amend the fields requested in the registration form for a WordPress site. I did not set up the form to begin with and ...
0
votes
0answers
18 views

How do I stop wpforms()->process->errors from changing my data

I have a form built using the wp-forms plugin and I'm using the wpforms_process hook to trigger an add_action that validates the data in one of my form fields. add_action( 'wpforms_process', '...
0
votes
2answers
30 views

Plugin Admin Page Ajax-Admin call returning 0, URL set correctly. Implemented localized scripts but did not fix it

I am attempting to submit an Ajax call transfer the source URL of a selected image from a WordPress Media Library to PHP in my plugin settings page. Upon clicking save I'm constantly met with "error, ...
0
votes
0answers
30 views

Guided post type create based on category tree

I’ve created a new Post Type ‘Ticket’ with a Category Taxonomy. Categories have Sub Category up to N level. What I’d like to do is let the front end user create a ticker where he would be guided by ...
0
votes
0answers
48 views

Send Front End PM Message after Succesful Ultimate Member Registration

We're working on a Wordpress project which requires: - a list of Therapists with a "Contact" button for each (done, listed with Store Locator and an Ultimate Member user group for the Therapists) - ...
0
votes
0answers
18 views

Form to update another user's metadata

So I have a "client portal" of sorts which has different aspects of a logged-in user displayed on it, like their username, payment date, name of child, etc... and some of these metadatas need to be ...
0
votes
0answers
23 views

WP Ajax returning 0, can't find action

I've searched around a lot for an answer on this topic, and even though there's lots of questions surrounding this issue I'm yet to have found a solution that works for me. The problem I'm having is ...
0
votes
1answer
11 views

Editing a Search Form

I am working on a search form in my Wordpress site. It has an advance search box in which there is an Advance button, clicking which drops custom filters to include. https://ibb.co/R7DFC1F >> I want ...
0
votes
1answer
33 views

Form validation before submitting

I have a form which converts to pdf on submit. I have added some validation to the form but it does not seem to work. I have tested in Codepen and JSfiddle and the code works fine but on Wordpress it ...
0
votes
0answers
12 views

how can i add custom meta box in a custom page

Custom Post Type & Meta Box - Displaying meta box information on front end? and add a text area where the post views can add a text it will be showed in a history below the custom post type <?...
0
votes
0answers
17 views

expired link error on front end

I have a custom form which I am using to save post meta but upon submission it is displaying this error. I have a form like this <form action="<?= site_url() ?>/?action=edit&job=<?...
0
votes
2answers
35 views

Ajax post returning full html page as response

I know that this has been frequently asked here, but none of the solutions I find seem to work for me. The issue is as follows: whenever I post the form, I have a console log with the response which ...
0
votes
2answers
19 views

Form using admin-post.php gives 404 after submission

I'm creating a custom form for a wordpress page, and I'm using admin-post.php as my action. However, whenever I try to submit the form, I get a 404. Below is the code which outputs the form: ...
0
votes
0answers
15 views

user registration activation to alternative email address

Is it possible to have the user activation sent to an alternative email (field) within a custom registration form as opposed to the "default", using a third party form plugin (CF7 for example)? Many ...
0
votes
0answers
12 views

Show template notice instead of reply form when user is logged out

When using the shortcode [bbp-reply-form], how do I display a template notice in the place of the form, like “You must be logged in to reply to this topic.”, when the user is logged out? Its only ...
0
votes
1answer
26 views

WPAdverts - How to limit form submission 10 per month

I currently use wpadverts plugin and wants to limit the submission to 10 submit / month. How can I do that? I think I need to make a new row like "form_submissions" in "wp_usermeta" and store every ...
0
votes
1answer
29 views

Using AJAX to submit and return data inside the WordPress Plugin Boiler Plate framework

I am using the WordPress Plugin Boilerplate to show a form to the user via shortcode. I am just a little confused of the flow of data not so much the syntax to do it. My Main Public Class has a ...
-1
votes
1answer
31 views

admin_post hook not working

I have this inside the <form></form>: <input type="hidden" name="action" value="submit_images" data-parsley-excluded /> I have this as my hook just to test: function maybe_add($...
0
votes
1answer
15 views

Adding php to form action breaks code [closed]

I have a form that is a button to link to a product but for some reason when I add php to the form action it's breaking the block of code. I'm not sure what I am missing. It's a very simple block and ...
0
votes
2answers
47 views

Javascript / PHP - closing the loop

I have a HTML form embedded within a PHP file with an onclick button which summons a javascript function. <form name="addStamp"> Validation Code:<br> <input type="number" name="...
1
vote
1answer
39 views

How to make a search form?

I'm taking my first steps in wordpress, pretty newbie. and I find that I want to make a search form with its own styles and a little javascript to redimension. So I do not know how I should proceed in ...
0
votes
1answer
29 views

How to check form input against PHP variable?

I have a variable pulled from a WordPress meta array - $vCode. This variable is a 5 digit number. On the page front-end I have an HTML form requesting a code to be entered and a submit button. Upon ...
0
votes
0answers
19 views

How to fetch the post according to custom taxonomy, start date and end date with search input?

Custom post type --- Event custom taxonomy----- myevents Using Jquery Date picker for Start date and End date Search field for searching event name I want to fetch the custom post type events by ...
0
votes
0answers
8 views

I Want to Make a Question and Answer Form System

I want to make an interview system for WordPress website. There will be a question and a form to answer (written answer, not MCQ). There will be the timeframe to answer. If a job candidate can't ...
0
votes
0answers
35 views

Meta Key array building with multiple input values from fields

I'm trying to build a custom form using UserFrontend on wordpress and I need to copy an array from one of the known meta keys from WooCommerce. Only thing is I'm not sure how to approach this issue as ...
0
votes
0answers
13 views

ninja forms spam protection input uppercase

I'm using Ninja form spam protection input field, where you choose an answer to your question. Does anybody know how you can force input to be uppercase? I've found a lot of code strings but none of ...
-1
votes
1answer
19 views

Help with showing text when something is entered in my search bar

I'm having troubles replacing text when there is something entered in the search form. As you can see in the image below i want to replace 'mijn gemeente' with the get_search_query text if i'm ...
0
votes
0answers
53 views

GravityForm HTML field turn operators into entities

I'm trying to add JS script into HTML field inside Gravity form editor. It works fine on my site but the client who is using Mac had two problems. The first one was that when he saved changes script ...
1
vote
0answers
20 views

WPForm, how to set date to tomorrow

<script type="text/javascript"> window.wpforms_datepicker = { disableMobile: true, // Don't allow users to pick past dates minDate: new Date(), } </script> &...
1
vote
1answer
40 views

How to load WP categories into array for autocomplete?

I am currently making a new site and i am stuck with the autocomplete for the standard search form from wordpress. Anyone knows how can i load my wordpress categories to use in this script? Its a mix ...
0
votes
1answer
29 views

Creating posts with acf_form() that has a relationship type field

I'm trying to design a form that creates a post, with the help of Advanced Custom Fields (ACF). The post has a custom post type of 'movie' and has custom fields of type 'relationship' that link to ...
0
votes
0answers
19 views

How correctly send array data from checkbox in GET

I have a simple search form in which are category checkboxes. echo '<label><input type="checkbox" value="'.$category['id'].'" name="category[]">'.$category['name'].' </label>'; ...
0
votes
0answers
23 views

Prevent malicious scripts to be submitted in post

I am building a wordpress backed web application where users will submit posts. Is there any way to prevent malicious codes from being submitted (by way of hooks or filters)?
0
votes
1answer
32 views

Postback redirect through add_action is not triggered

template: <form action="<?php echo esc_url( admin_url('admin-post.php')); ?>" method="post"> <input type="text" name="boo" id="boo" required> <input type="hidden" name="...
0
votes
0answers
9 views

Embedding Links to WPForms on a WP Page

I am not a developer but a new administrator on a website. I am trying to embed the provided WPForms link into the new WP Page I just added to this website. The link appears twice on the same page and ...
0
votes
0answers
19 views

How to link my plug-in to form parsing PDF plug-in?

I've developed a plug-in with specific (I'm mean non WordPress native) permission system, specific tables, specific tab system (each tab actually has a distinct form given that each has like hundreds ...
0
votes
1answer
13 views

WooCommerce registration password field not displaying

For WooCommerce registration form we only have one email field and I want to add password fields for this. I have tried to find online help but there are few support pages only for repeat password ...
0
votes
0answers
12 views

Get Password protecting POST data

I added this filter add_filter( 'the_password_form', 'custom_password_form' ); 'custom_password_form' is my function, it creates a form with three input. Now I want to pass the extra inputs (...
1
vote
1answer
114 views

Use a PHP file as action for a form in a WordPress plugin, what's the correct way?

I'm developing my first "serious" WordPress plugin using Devin Vinson's plugin boiler plate generated with this generator. Now I need to use a PHP file not present in default boilerplate as action ...
0
votes
0answers
18 views

CSS not working on number input nested in a table - Custom Plugin

I am having trouble getting my css to work for a number input which is nested inside a table on my custom plugin template page. I've used wp_enqueue_style() to load my css file and it has worked well ...
0
votes
0answers
19 views

How to add or double field?

I want to add one more field like this, I copied and paste this code. It's gave me one more field, but when I edit first field and publish my post, second field is gating same inserted. <div class=...