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

How do you send a parameter from an elemetor form into another form in a popup?

I would like to recreate this on an Elementor site. https://www.pimlicoplumbers.com/ where the value you select in the "I need help with ..." field is sent into the form on the popup you see ...
user3067865's user avatar
0 votes
0 answers
11 views

Add sequential number for Fluent Forms [closed]

i have this code for the Plugin Fluent Forms for WordPress, and it should create and store a unique sequential number for each form. That code should be stored in the database and should be displayed ...
xeryc's user avatar
  • 1
0 votes
0 answers
11 views

Create something similar to infojobs

I want to create a form where the users can fill content (and even upload pdf files, and so on) that will be published on my web page. I also want this post to have the possibility for other users to ...
Txomin Mitxelena's user avatar
0 votes
0 answers
12 views

How to make Contact Form 7 work when injected via AJAX in WordPress?

I am working on a WordPress project where I need to use Contact Form 7 as part of an AJAX response to check if certain data is available. However, I am facing an issue where the form is not working as ...
Webwoman's user avatar
  • 101
0 votes
2 answers
40 views

Get form fields data on form submission using forminator plugin

I need to get form’s fields data of submitted/current form on form submission I trying with these hooks forminator_form_after_handle_submit/forminator_form_after_save_entry trying this add_action( ‘...
Dinesh's user avatar
  • 137
0 votes
0 answers
5 views

Issue with Contact Form 7 on Mobile Phones

I am experiencing an issue with Contact Form 7 not functioning properly on mobile phones on my site: https://www.projectzero.cz/#poptavka. I am seeking assistance to resolve this matter. To replicate ...
Roman Štěrba's user avatar
0 votes
0 answers
88 views

Send summary email from a form with wp_mail

I'm trying to send two emails (one to the site manager and one to the user) with the data entered in a contact form made by me and placed in a wordpress template, but this doesn't work. i am using ...
LesCa's user avatar
  • 21
0 votes
0 answers
14 views

Make a custom from calculator for payment

I am stuck in making the payment form. I want to make a custom form that has a formula for the total price, that price will redirect to a payment gateway that has a payment method like Google Pay and ...
Dev Sonwani's user avatar
0 votes
0 answers
21 views

Can not insert data in database table

I did a form and through a plugin i coded in php, i’d like to insert the result of this form into my wordpress database. But i run into a problem cause nothing is inserted in my database despite the ...
Louis-Emmanuel Metan's user avatar
0 votes
0 answers
23 views

How to setup a form for Majordomo list subscription

I am currently in the process of setting up a simple website for a small community. One of the requests is to have a mailing list that is easy to sign up for on the website. The hosting provider ...
Lucas's user avatar
  • 101
0 votes
1 answer
102 views

How to access the fields in WPForms custom action?

I have a form with one text field Phone Number. I want to perform a custom action with this field. How do I access the submitted field in this code? function wpf_custom_form_action( $action, $...
SanSolo's user avatar
  • 103
0 votes
0 answers
38 views

Can't insert into a database wordpress

i did a form with html and js, and through a plugin in php, i wish i could insert the result of this form into my wordpress database. But i run into multiples problems. One was that wordpress would ...
Louis-Emmanuel Metan's user avatar
0 votes
0 answers
21 views

Display file contents within Plugin

Does anyone know what I am doing wrong - I try to display forms from different files within my plugin. all is triggerd by my_shortcode where the via $atts the user choses which form to display. This ...
gladys's user avatar
  • 11
0 votes
0 answers
98 views

Validate a custom form with js and php

I would please need help with the following: I have a form in my WP Plugin, that is validated with js, which works fine, Then I want to validate it using php, display the errors on the form and after ...
gladys's user avatar
  • 11
0 votes
1 answer
60 views

CF7 Remove Comma from 'select' 'radio' and 'checkbox' outouts

I have a few 'select' 'radio' and 'checkbox' options on my CF7 form where the user can choose multiple options .. however on the output there is a comma between each item but I want to remove this ...
Tom Kidd's user avatar
1 vote
2 answers
54 views

Implementing Autosave Functionality for Long, Multi-page Forms in WordPress

I'm working on a project in WordPress that involves creating long, multi-page forms with conditional logic. One of the challenges I'm facing is that these forms can take a while to complete (and I ...
ylluminate's user avatar
0 votes
0 answers
12 views

How to reproduce the post format field in a front end form?

I am looking for a php snippet to display the field "post format" of the wordpress admin in a front end form. It is a conditional field, and some of them need to have a special output (ex: ...
Aurore's user avatar
  • 1
0 votes
2 answers
51 views

How can I add email code authentication on form submission without any wp plugin?

I have created a basic multi step form using HTML, CSS and JS. Now all its needs to be added to Wordpress. Form functionality is : When a user submits the form, send code to their email and ask for ...
Frankie's user avatar
  • 11
0 votes
0 answers
28 views

Putting form result in my database

i have a problem with my wordpress rn. I did a form in html and js, and i want to put the actual result in my database where i created a table for it. So basically i did a plugin in simple php that ...
Louis-Emmanuel Metan's user avatar
0 votes
0 answers
64 views

Bulk data save in custom table

I have a form in admin page that store data in custom table, with multiple checkboxs. On form submit I need to save the checked box id with the store id it's related in a key pair way (store_id => ...
Francis's user avatar
0 votes
1 answer
33 views

Can't save formdata in DB

I'm trying to build a form in the backoffice to save some data in a custom table. The form is a list of checkbox, in witch the value is linked to a selected user. So you have to select a user in a ...
Francis's user avatar
0 votes
0 answers
15 views

How to add categories to a custom post type using wp_insert_post($new_post);

I have a custom post type 'memberfile', and a function for users (members) to upload files. Uploaded files are automatically posted as a 'memberfile' post in the backend. In the form for uploading the ...
Bart's user avatar
  • 1
0 votes
0 answers
13 views

Add options to WordPress Blocks form dropdown field

How can I add additional options to the WordPress Blocks form dropdown field? I only see the one option field and can't figure out how to add more.
zackfett's user avatar
0 votes
2 answers
29 views

How can I get lost form data back? [closed]

I had a form plugin installed. There was an issue with the plugin and although customers where competing the form, the form data was not being emailed. We were able to get the form data back, but our ...
Andrew Findlay's user avatar
0 votes
1 answer
40 views

Hook a search form anywhere on the site, using a custom plugin

I'm new and I apologize if I ask an already existing question. But I can't find the information I'm looking for. I need to know how a search form works in wordpress. I'm creating a custom theme and ...
f3l1x's user avatar
  • 1
0 votes
0 answers
60 views

Preventing script injections in HTML form

I have a HTML form which essentially searches for posts in WordPress. The markup looks like this: <form class="resourceFilters__searchForm position-relative" role="search" ...
Freddy's user avatar
  • 147
0 votes
1 answer
47 views

Forminator + Hubspot Workflows

I need to send Forminator form data to a Hubspot workflow for a client. This doesn't seem to be working function send_form_data_to_hubspot($form_data) { $hubspot_api_key = 'MY_API_KEY'; $...
Mark Tabner's user avatar
0 votes
1 answer
18 views

Workaround AJAX calling without directly calling WordPress backend (Admin dashboard) because it is restricted to the end user (the public)

Hi everyone please I would like to put a topic up for discussion because I need help asap I have a problem at work we developed a WordPress website and delivered it to the client we are in the final ...
Imad95's user avatar
  • 1
0 votes
0 answers
23 views

Plugin forms overwrite each other's options

I am creating my first WP plugin, where I have two forms. Both work correctly, but when I save the information from one, the information from the other disappears. I'd like to save all options in one ...
Rufi's user avatar
  • 1
0 votes
0 answers
18 views

CCF7 Field numbuer prefilled after Click event

Good morning, I created a script to capture dynamic data on my page and pre-fill the form CF7 function reply_click(element) { document.getElementById('offerta_prezzo').value = element.getAttribute('...
marco's user avatar
  • 1
0 votes
0 answers
36 views

Best approach of implementing multi-select/checkboxes for taxonomies?

I am working on modifying how multi-select is done in a list in a custom wordpress plugin instead of using the default method of holding ctrl and clicking. The point of the plugin is to be able to ...
Mance Rah's user avatar
0 votes
0 answers
22 views

Sending GravityForms to custom HTML

I am in need of some way to get a standard WordPress page/form to send some data to a custom page that has been created from raw html/JavaScript. The custom page works great within WordPress right now ...
Jeremy Long's user avatar
0 votes
1 answer
205 views

How can I add a zip code service availability checker in Wordpress without Woocommerce? [closed]

The website is for a business that only provides services in certain zip codes. I would like to be able to display different messages based on if the zip code matches one in my list or not. I couldn't ...
NCBlender's user avatar
0 votes
1 answer
21 views

Is it possible to have a form page for logged-out users where values are stored persistently?

I don´t know if this sounds a bit weird but I´m looking for a way to give unregistered users a form on which they can choose different options and depending on these values there should be content ...
Sascha Valentin's user avatar
0 votes
0 answers
44 views

How to use <button> tag in wordpress?

I am using a custom form without plugin. I have the following code: <form class="form-contact contact_form" action="/contact_process.php" method="post" id="...
Vizante Ion's user avatar
0 votes
0 answers
132 views

Tips on using a custom template with Ultimate Member

To paint the picture I have created a site like ebay using astra theme, elementor pro and ultimate member, other than that I have wp editor and updraftplug back up/restore to access theme files and ...
Drum's user avatar
  • 1
0 votes
0 answers
185 views

Get all users from role and add to dropdown (select) - wordpress, javascript

I have a shortcode from functions, which retrieves a list of all users from active role. I have managed to get the list into the dropdown list with a little trickery if I wrap a div around the users ...
Masterior's user avatar
0 votes
1 answer
32 views

I cannot enter the letter C in the form [closed]

I have installed three different form plugins and they all have the same problem, I can't type the letter C in the form, if I press the C key it doesn't show in the form. link: https://rauden.ro/...
user avatar
0 votes
0 answers
122 views

Custom form that stores data in mysql database

Im currently building a website that allows a user to rent a boat rack but they need to be in the town in order to rent. I want to know how to create a form that allows the user to input their address ...
Logan's user avatar
  • 1
0 votes
1 answer
800 views

How to redirect to a page after submitting form data?

I have a custom form which posts data to wpdb. Currently, after form submit, my form keeps the user on the same page, but I'd like to redirect them to a thank you page. Here is how the form is set up ...
Freddy's user avatar
  • 147
0 votes
0 answers
16 views

How to manage to submit WPForms at our webpage

We are having the problem that when finalizing the form, we cannot send it. A message comes up where it says it doesn't work and that we have to contact the website administrator. We have tried ...
hanna's user avatar
  • 1
0 votes
2 answers
1k views

Elementor form - checkboxes validation

I am building a form with elementor pro. I noticed that the checkbox fields (not the acceptance) don't have a required setting/option, but I need to validate a specific groups of checkboxes, so I ...
vsapountzis's user avatar
0 votes
0 answers
316 views

Contact form with dynamic dropdown and filter

A client wants to create a contact form for a moto parts store that allows users to choose their moto make-model-year. They want this information to provide better assistance after the contact. They ...
franjapaez's user avatar
0 votes
0 answers
57 views

From form submission values - dynamically update CPT "has_archive" slug and custom taxonomy "rewrite" slug value

I have defined a CPT and corresponding taxonomy like this - function my_custom_post_type() { register_post_type( 'my_sample_cpt', array( 'public' => true, 'has_archive' =...
Anand's user avatar
  • 1
1 vote
0 answers
42 views

Use HTML Form Data in PHP Function - Wordpress Admin Page

I have created a form on a tab in the user-edit page (which is extended through BuddyPress) to allow admins to add points manually using a function from the MyCred plugin. I'm fairly new to ...
Tracy Kistler's user avatar
0 votes
0 answers
55 views

how to show selected options drop down menu values in attributes field in after saving post.php

i create custom field for select list country and state using foreach. but the value not displaying in the attribute filed in post.php <select name="countryId" id="countryId" ...
mrpuyal's user avatar
0 votes
0 answers
20 views

Redirecting to page on form submit - Revue plugin

I'm using the Wordpress plugin of Revue, newsletter service, to insert a sign up form on my website. When people sign up, the following message is shown: "Thanks for subscribing to my email ...
Jean-Marc Santolin's user avatar
0 votes
0 answers
16 views

How to Allow Users to Select Recipients In a WordPress Comment section?

Are there any plugin or ways to allow users select recipients and send them notification according their email address? For example if person select IT department I would like to send notification ...
Bakhodir Ibragimov's user avatar
0 votes
0 answers
114 views

WordPress Custom wp mail template return full template

I am developing simple listing website, and in the listing post i have single page where i displayed some of data and Extra i have added custom form. The form is submitted successfully but when i try ...
Happy Arif's user avatar
0 votes
0 answers
38 views

Adding Mailchimp API key dynamically

Good day everyone i am creating a custom plugin and i am connecting it to the mailchimp api it's all working but i have something to change i want to add the api key or list id in the admin side which ...
nelson's user avatar
  • 3

1
2 3 4 5
27