718 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
-1
votes
1
answer
37
views
How to add current user's full name to the form submission?
I have a small wix form on which I'd like to add the current logged-in user's full name on submission. Just off the top of my head I tried:
$w.onReady(function () {
$w("#form2").onSubmit((...
1
vote
1
answer
120
views
Google-Forms EventListener
My goal is that on submitting the form a paypal page would open, but nothing happened so I added the logs which didn't log anything.
The first console logs of my code appear, but the ones inside of ...
0
votes
0
answers
66
views
Hiding empty elements from custom Email after form submit Elementor widget
I'm trying to customize the email which is sent to users after form submission. I'm using Elementor Pro widget (form) and I managed the output of the form to be ordered into a table inside my customer ...
-2
votes
1
answer
97
views
jQuery multiple forms. Need to catch $(this) forms 'on submit'
I have several forms on a page contain in widget like elements to upload images. There could be one, or there could be 10. Im trying to dynamically, individually catch that particular forms on submit. ...
0
votes
4
answers
107
views
when I use onSubmit in the form then the whole ui disappear [closed]
my code is working fine but when I use onSubmit in the form as attribute then the whole UI disappear and nothing is shown on the UI why?
What is the solution please ?
<form onSubmit={handleSubmit}&...
0
votes
1
answer
648
views
SwiftUI: How to trigger the onSubmit modifier?
They decimalPad keyboard does not have a return button. So I like to include one using the keyboard toolbar. But how can you create a Submit Button?
struct ContentView: View {
@State private var ...
0
votes
1
answer
780
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
73
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 ...
0
votes
0
answers
142
views
Required tooltips on submit form does not appear after the scroll animation
I ́ve been trying to make this tooltips appear without using js or something else than bootstrap classes and the required attribute. The problem is that my form is using a prevent default function on ...
1
vote
0
answers
144
views
React Testing Library - Impossible to detect an onSubmit call
I feel like it is an issue due to the use of React hook form and its handleSubmit method, but still can't figure it out at this point.
Here is a SimpleForm component I am currently writing a test ...
1
vote
1
answer
652
views
How to capture radio buttons with a button using Google Apps Script?
The below sample code works fine and as expected.
Looking to capture the radio button selection (green, yellow, red) to update row D of the spreadsheet. Later, would furthermore add an iteration so ...
-2
votes
1
answer
77
views
React.js onSubmit addNewUser is not a function
Why addNewUser is not a function ?
TypeError: addNewUser is not a function
Here is the problem, when i complete my form and click save show addNewUser is not a fuction.
const onSubmitHandler = (e) =&...
0
votes
1
answer
54
views
submit not firing on first click in react app
I have a bootstrap react form with validation, and I am using the email.js library to send emails to the client side instead of axios http request (this is to prevent sending data to the serve-side) ...
0
votes
2
answers
83
views
Callback function does not run until submit is clicked twice
The onSubmit callback paymentHandler is supposed to run as soon as the form is submitted, I didn't specify button type. but as soon as I click submit button, nothing happens until I click the submit ...
0
votes
0
answers
36
views
onSubmit does not allow a function call? [duplicate]
So here is my code for that part which is correct, by the way:
function Form() {
const [text, setText] = useState("");
function handleSubmission(e) {
e.preventDefault();
}
...