Questions tagged [submit]
Refers to the action of sending data to a specific destination.
submit
5,279
questions
-1
votes
2
answers
69
views
Stop PHP from clearing a form
I have 2 questions:
How do you stop a PHP script from erasing the form fields when you do the submit? I've searched many posts here, most regarding JS which I'm not using. I've tried auto-complete=&...
0
votes
4
answers
43
views
jQuery - submit form after preventdefault
I've looked at lots of suggestions but none of them are working for me.
The form has two submit buttons, one for add .add and the other for cancel .cancel
<input type="submit" name="...
0
votes
0
answers
14
views
Formik value doesn't update to onsubmit
I have a counter in a Formik form. In the form, the user can increment a counter. I use setFieldValue to update the initial value of nbProducts, but when I submit the form nbProducts stays at 0. Here ...
0
votes
0
answers
42
views
Sumbit e-mail to download PDF
I'm having trouble getting this e-mail submission to work;
HTML:
<style>
/* Basic styling (optional) */
.container { text-align: center; padding: 20px; }
#downloadBtn { display: none;...
0
votes
2
answers
59
views
How to avoid multiple submit clicks on an angular form
`Hi, I'm new to this angular stuff and do not quite understand how to do this part of the form.
We have had people click the submit button multiple times very quickly and add the same information just ...
0
votes
1
answer
24
views
Should input element be inside form or not?
So I've got a component in react whose purpose is: the user writes a word into an input and presses enter or clicks a link to a go to that word's definition page.
'use client';
import { ...
0
votes
1
answer
21
views
How to Submit Separate Actions from a Single Form Tag? (Django)
I have written the following code where a submit action with the value {{category.name}} unexpectedly triggers the "create" button in form_category, resulting in a "Please enter a name&...
1
vote
1
answer
15
views
Deploying my web application and cannot get the submit button to post back and query my database
I'm building a book recommendation engine. I have a homepage, quiz page, and a recommendation page. I have deployed this code to an AWS S3 bucket but cannot get the quiz submit button to actually work ...
0
votes
1
answer
121
views
How to test (vitest) that a form's submit button is disabled while submitting
I have the following test (modelled after this: https://github.com/orgs/react-hook-form/discussions/8866):
it("submission is disabled if form is still submitting", async () => {
...
0
votes
0
answers
23
views
Slurm Job Array and quotas
I'm using hydra to launch parallel jobs on a slurm cluster. I can set the maximum number or running jobs using the keyword:
array_parallelism = 3. Supposing I want to submit 20 jobs, hydra will create ...
0
votes
1
answer
63
views
Submit module to save entries from 1 sheet to another sheet
I have here 2 sheets.
Page1 sheet is where I put Date, Time, Ticket, Score and Yes/No/NA answers.
I have a Submit button that calls a module that does the saving from Page1 to Page2 but only Date to ...
0
votes
2
answers
62
views
Why doesn't my <a> tag take me to the specified page?
I have a submit button wrapped in an tag that's meant to submit my form, run a javascript function to save the form in localstorage and take the user to the next page. However, after the form is ...
0
votes
2
answers
91
views
Can't get javascript to modify a header
This code is supposed to ask the user for an input and return incorrect or correct depending on the string that was submitted(the correct answer is "Aconcagua"). When running it and ...
0
votes
0
answers
25
views
Why do the created elements desappear from the webseite directly after their creation?
After input of:
Number
Text (which to be added in the div elements as text)
Select (Div or Section)
and after clicking on the Create-Button
the given number of divs will appear in the section.
This ...
0
votes
0
answers
38
views
How do I hand over the csrf token when I submit a form in a new window?
<body>
<form:form id="gotoPopupPreview" name="gotoPopupPreview" method="post" action="">
<input type="hidden" name="...