Skip to main content

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

How to use Forms without actually sending email

I need users to be able to fill out a form without an email being sent anywhere. Instead, I want to capture the data entered with Javascript or PHP and act on the data entered in my custom plugin. I ...
Timbo's user avatar
  • 101
0 votes
0 answers
6 views

I’ve noticed a form field for subscribing to a newsletter (email address) prohibits Apple’s Text Replacement in Safari. Can prohibition be removed?

This issue is something i’ve come across on many websites, the email address field won’t accept paste from the clipboard and it won’t allow Apple’s Text Replacement substitutions to activate inline. ...
wide_eyed_pupil's user avatar
0 votes
0 answers
26 views

i need to resive data external api and show user

i have one form for user , this form send code to external api and i need show user callback responce api this page and not ind plugin for this work (for show responce api current page for user ) i ...
Ali Garivani's user avatar
1 vote
1 answer
35 views

Is there a WordPress plugin or solution that allows to set up forms with a total control over markup

I’m using a Bedrock and Sage stack to develop WordPress site with Blade and Tailwind, and I’m looking for a plugin or a solution to implement forms with a full control over the markup. I would like to ...
tone's user avatar
  • 11
0 votes
1 answer
25 views

Loading specific ajax from a product

I'm new to wordpress, and I need some way to define a property in a new product that will then have it load specific javascript code related to that specific type of product. I may need to load a ...
Scott Wood's user avatar
0 votes
1 answer
14 views

Trying to Find the PHP File/Function that Handles a Specific Form Action URL

I am using a specific plugin that enables basic e-commerce functionality, and am attempting to extend the plugin functionality to include payment processing on the checkout page. The plugin itself has ...
Druid's user avatar
  • 1
0 votes
0 answers
39 views

I am trying to add form using ACF plugin and acf_form() function, but my user fields dont show up properly

I am new at wordpress, so i am very sorry if this is a stupid question, but anyway... I am trying to create form on frontend to add my custom post types with custom fields which i created using ACF ...
Tasha Yan's user avatar
0 votes
0 answers
19 views

CF7 for radio buttons only, ok?

I want to use Contact Form 7 only to use the radio buttons, so this form doesn't need to be send. That mean no submit button. There is a javascript to display content when a radio button is selected. ...
Carlos's user avatar
  • 101
0 votes
0 answers
46 views

WordPress REST API FormData: Form Not Submitted When No Files Attached

I am writing a plugin to show a custom form in front-end. The form contains various input fields (mostly text) and one input multiple files. The submit sends data via an ajax call to a rest api ...
Elena Politi's user avatar
1 vote
0 answers
16 views

Catch Form value at AJAX Form submit

I am working on a Custom Plugin. I have below JavaScript code. const sent_urls = () => { const formData = new FormData(); formData.append('action', 'start_parsing'); ...
Foysal's user avatar
  • 449
0 votes
0 answers
11 views

Creating a form and displaying some of the data on another tab

I am looking for options on how to create a form in Wordpress and then pull some of the data (but not all) that is collected onto another page. Example. The form would collect personal data and also ...
Jill's user avatar
  • 1
0 votes
0 answers
51 views

Code understanding

I found below code in a Plugin. const sent_urls = () => { const formData = new FormData(); formData.append('action', 'start_parsing'); formData.append('...
Foysal's user avatar
  • 449
0 votes
0 answers
13 views

Issue using form in Google app in mobile

I have a contact form on my website, and I'm utilizing Contact Form 7 (CF7) plugin for it. However, when I fill out the form using the Google app on my mobile device, the page seems to reload somehow. ...
Baim Quraisy's user avatar
0 votes
0 answers
14 views

Populate Elementor Form based on first selection

for better understanding, check this elementor tutorial https://youtu.be/wYv0tMFDFG0?si=cg2nQE6a5zl0FdHp&t=610 starting with 10:10 min, is what I need. Instead of Options 1, 2, 3, etc, I have ...
Vali Dragomir's user avatar
0 votes
0 answers
26 views

Trying to use value in form submission to check against external API

I'm trying to be as concise as possible. I'm building a form that takes a value ('address') which in turn would get posted to an external API. However, the real functionality comes with checking the '...
Cynthia Wong's user avatar
0 votes
2 answers
110 views

From Wordpress form submit on-click event, how to call an external REST POST API?

I am new to UI. I have created a REST API and a form in my Wordpress website. Could you please suggest how to make POST call to my REST endpoint on-click event of the form submit button? How to open /...
Nav's user avatar
  • 1
0 votes
1 answer
28 views

Help with commenting system

I am working on creating a commenting system for pages that are populated from a database. I have the main commenting portion working fine, what I need help with now is allowing replies. What I was ...
Darth Mikey D's user avatar
0 votes
0 answers
34 views

Display endpoint's return into a file (file_put_contents())

I've created a form (using WS FORM RUN WORDPRESS HOOK) than when submitted triggers a php script that grabs all the submitted data written on the fields and save them into $variables and everything ...
WinterCold's user avatar
0 votes
0 answers
28 views

add to cart linking to add to cart page

I am making a website in Wordpress and created a custom shortcode for loading the products. That is working fine, however when clicking the add the cart button, if redirects me to the cart page, where ...
Brango's user avatar
  • 1
0 votes
0 answers
18 views

How to create a form that display license key (and email it to user) after the user enter their email and 10 digit code?

I want to create a form with 'email' and '10 digit code' fields that will display a license key which matches the '10 digit code' if it's correct. The user will also receive an email with the license ...
Tom532's user avatar
  • 1
0 votes
0 answers
23 views

Need some suggestions with Relationship fields and CPT/ACF

I am tasked with creating a Student/Teacher Portal where among other things, I need a way to build a way for Admins to assign Teacher with Students based upon Subject and Age group (Age for students). ...
RitZz's user avatar
  • 1
0 votes
0 answers
7 views

Quiz page template, checked attribute missing when option selected

I would like to add a quiz page template to my WordPress site. Part of the template is the code below. The problem is that when any of the inputs is selected, the checked attribute is missing. <div ...
Kostas Stoumpos's user avatar
0 votes
1 answer
106 views

Form submission issue in wordpress admin (custom plugin) using $_GET for searching & filtering

I have a custom plugin that was built by a developer which was working fine until last week Friday. The plugin is running on wordpress.com platform rather than a stand alone Wordpress.org CMS. An ...
user2274299's user avatar
0 votes
0 answers
11 views

Is it posible to multiple entry value before submit Gravity forms?

Is there any way to do this case in Gravity forms: I use: Gravity Forms Gravity Forms Multi Pages I have three steps: Step 1: contain Option Field Step 2: also contains the option Field Step 3: ...
Baim Whello's user avatar
0 votes
1 answer
31 views

How i can create multiple separate forms and get a pdf out of the querys of all the forms?

im actually trying to build a complex form. It should look like this: First form with some questions, textarea and standard form stuff Some Wordpress elements i want to design with wordpress Second ...
adilg's user avatar
  • 1
0 votes
0 answers
20 views

WP Form Date Field - Remove Day option

I’m using the WP Form date field in dropdown format. Is it possible to disable the Day option? I need the user to select only Month and Year.
Adeel Abbas's user avatar
0 votes
1 answer
56 views

Gravityforms login form custom redirect if form not submitted

I am using Gravity forms with Wordpress. For project I want to add function that allow to redirect to different pages based on condition: loginin person didnt submit specific form. For example after ...
user2482734's user avatar
0 votes
0 answers
19 views

admin_post hook not called / callback not executed

I'm trying to process a form, and struggling with admin_post.php. Here is the relevant section of my plugin PHP code : add_action('admin_post_cs_submit', 'submit_test'); add_action('...
Keyran's user avatar
  • 1
0 votes
0 answers
12 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 ...
Jasperjon's user avatar
  • 101
0 votes
0 answers
12 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
50 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 ...
DiaJos's user avatar
  • 101
0 votes
2 answers
1k 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
  • 147
0 votes
0 answers
10 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
116 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
17 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
1 answer
648 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
44 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
329 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
163 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
192 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
2 answers
122 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
31 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
103 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
54 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
2 answers
47 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
191 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
195 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
  • 157
0 votes
1 answer
75 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
37 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
31 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

1
2 3 4 5
28