3,088 questions
0
votes
1
answer
60
views
How to submit selected rows from DataTables in a form
I am using DataTables multi item selection and like to submit the selected rows to my form.
Of course, I could manually create an input element for each row in my table:
<input type="hidden&...
0
votes
1
answer
70
views
How can I show/hide HTML div when form submit button is clicked and page reloads? [closed]
I have a form (linked to a database) with a submit button. There are some instructions on the page that a user has to complete before clicking submit. Once the user clicks submit, I want those ...
-2
votes
2
answers
76
views
Bootstrap 5.3.5 disable submit button doesn't work [duplicate]
I have the following form:
<form id="chatForm" name="chatForm" action="{{url_for('home.invoke')}}" method="post">
<div id="message-box&...
0
votes
1
answer
331
views
Form Validation Responses with Inertia and Laravel 11
I'm having a form like:
<form @submit.prevent="submitForm">
<div>
<span v-if="form.errors.zipCode">{{ form.errors.zipCode }}</span>
<...
1
vote
1
answer
112
views
Autmated emails by delay onsubmiting google form
I have a Google Form, and I want it to automatically trigger an email 1 hour after the form is submitted. Is this possible?.But I can automate the email without any delay.I want to automatically send ...
0
votes
0
answers
227
views
<wpcf7mailsent> trigger not working when CF7 .submit() was called programatically
I made a site [https://www.gokartbudapest.hu/hu/ajandekutalvany/ajandekutalvany_voucher/]* where my clients can book appointments — but I didnt want to use CF7 directly as it looks dodgy and I wanted ...
-1
votes
1
answer
100
views
form still submitting even though input is incorrect react
I have a contact form I have created with validation and it mostly works. However it still gets submitted even if the information is wrong. Here is my code:
//ContactForm.jsx:
const ContactForm = () =...
0
votes
2
answers
76
views
JavaScript to queue submit request on client side and Trigger Submit Button at a Specified Time
I am working on developing a script that triggers the submit button at the end of a form at a specified time on client side. The goal of this test is to simulate a scenario where multiple users submit ...
2
votes
0
answers
567
views
Why does Google reCAPTCHA v3 take significantly longer after the first token request?
I'm using Google reCAPTCHA v3 in my web application. I've implemented a function 'runCaptcha' that utilizes 'grecaptcha.execute' to obtain a token. However, I've noticed that each time I call this ...
0
votes
0
answers
55
views
React start async submit process only once
We have a form with a submit button, and the OnClick starts the submit process. This submit process is async, takes long. During that process, we should not let to start the submit again, causing ...
0
votes
0
answers
90
views
Submit form from Modal and only refresh the modal?
I have a main.html HTML page with some buttons that opens a modal. Depending on which button is clicked, the modal will dynamic load content from an external PHP script - each button calls a ...
0
votes
1
answer
101
views
preventDefault() not preventing page redirect on form submission
I have a simple form being submitted into a third-party form/db location (Acoustic) and I'm trying to prevent the page from being redirected after submission.
<form method="post" ...
0
votes
1
answer
104
views
Fields located in inactive tabs not being validated upon form submission
I want to use this validation:
function prueba(){
console.log("hola")
}
$("#boton").off("click").on("submit", function (event) {
event.preventDefault();
prueba();
});
.tabset > ...
1
vote
3
answers
61
views
How do I fix this unwanted button behavior in ReactJS?
I'm trying to conditionally switch between two HTML buttons in ReactJS based on wether the form is shown or not. Basically if the form is shown, show a submit button and if not shown, show a regular ...
1
vote
1
answer
94
views
I want a message box to appear once i click submit
<form name="contactForm" class="customform" action="contact.php" method="post">
<div class="s-12">
<div class=...
1
vote
1
answer
65
views
FormSubmit email arriving blank
As the title suggests, the form submit emails sent from my website are arriving but without the name or the email or the body. There are several other posts about this specific issue and none of their ...
0
votes
1
answer
756
views
NextJS 14 server action throwing "cannot redefine property" error
I am working on a NextJS 14 project and struggling to implement the new server action feature introduced my NextJS some time back as an alternative to regular API calls. Here’s a stripped-down version ...
0
votes
1
answer
72
views
On submit event get fired multiple times when there's multiple forms
I have multiple forms in a php page,
I added forms in the parentForm array like this
parentForm.push($('.js-address-form form'));
The issue is when i submit one form the onsubmit event get fired for ...
-2
votes
2
answers
1k
views
"event.preventDefault();" doesn't work with a submit button
The problem is, when I click on a submit button the page is reloading, preventing the code to work, despite the fact that I have "event.preventDefault();".
HTML:
<form class="links-...
1
vote
0
answers
939
views
Formsubmit.co not working - no action on submit
I refactored my website (I'm very junior!) and I can't get the subscription via FormSubmit to work, even though it used to work before. I must be doing something wrong, but for the life of me I can't ...
0
votes
2
answers
67
views
How to pass to a POST controller action method the model, including the contents of a List object member property?
I have a Razor page in which a controller GET action method returns the model to the view. That model contains a member which is a
List<int> ids
Now I want to call a POST method on the ...
0
votes
0
answers
74
views
POST form submit doesn't return anything
I'm creating a higher or lower game in PHP, so far everything is done but I'm having a problem with the POST.
Basically, when an user compiles all the 3 fields (choice, bet and number) and he press &...
-1
votes
1
answer
486
views
Getting ModSecurity: Access denied with code 44 on Laravel Form Submit
I am trying to submit a form in Laravel but getting this error:
ModSecurity: Access denied with code 44 (phase 2). Match of "eq 0" against "MULTIPART_STRICT_ERROR" required. [file &...
1
vote
2
answers
262
views
Speed up my google script function in google sheet
Good day!
I am a beginner in google script app, I just made a form in the google sheet but it always takes minutes to automate transfer data on the other sheet using app script. I search on how to use ...
0
votes
1
answer
294
views
Shift + Enter only for desktop
I have a React chat application where I use a textarea for the message input because I need multiline support. On mobile this works perfectly because when the user presses Enter, it starts a new line. ...