All Questions
11,834 questions
0
votes
0
answers
17
views
Odoo Contact Form won't Autofill correctly
I'm using odoo for my webstore and want to an "inquire" button on each product that goes to contact page with the product name passed in the url and then autofilled into the contact form.
...
1
vote
1
answer
60
views
On Firefox, the placeholder does not reappear after a reset when it has been filled by autofill
After sending the form (in javascript and ajax) I execute a script that resets the form with a loop (node as input element).
node.value = ""
The problem is that if the inputs have been auto-...
-3
votes
0
answers
50
views
HTML input form not working correctly on some devices but works on others [closed]
The input field in my app works normally with any value, except "!" and "2" specifically.
However, when i send the link to my friends to test it it works for some but not for ...
-6
votes
1
answer
96
views
HTML form not submitting [closed]
I am trying to make a login form in html. But, when I click submit, the JavaScript code doesn't execute. Here is my JavaScript/jquery code:
$('#login').submit(function(e) {
e.preventDefault();
...
1
vote
3
answers
82
views
How to hide a div in form until selection is made
I need to hide a div within my (calculating) order form until a selection is made in a select menu.
I've scaled back this 'Ice Cream Order Form' example to see if anyone has any guidance.
In this ...
0
votes
0
answers
57
views
I've added "required" to a HTML form input via javascript, but the input does not function as 'required' if changed after page load
I have a HTML form with a selectable input - you can enter this or that.
I've included code in my Javascript function that also applies the 'required' attribute to the one you've selected while making ...
0
votes
0
answers
32
views
How to send Conversation to Form Submitter?
I am trying to get my custom form to add submitted data to a Google Sheet as well as send a confirmation to the submitter and a notification to myself.
I've got it working so that it adds the data to ...
1
vote
3
answers
124
views
How to trigger a native HTML validation error for URLs in input or textarea fields instead of a custom one?
I'm working on a form using Formik in React, and I need to prevent users from entering URLs in a textarea or input field.
Currently, I'm using setCustomValidity to show an error when a URL is detected:...
0
votes
0
answers
21
views
Flask Form Submission: class_id is "undefined" When Creating an Exam
I'm developing a Flask-based school hub app where teachers can create exams. However, I'm encountering an issue where class_id is "undefined" when submitting the form.
Issue:
When I submit ...
0
votes
0
answers
76
views
Make a plain HTML Submit button active again through javascript of jquery
So I run a test website and have come across a unique issue. I have tests that will reload with a event.preventDefault(); so the page they are on does not reload, but the test question does. ...
0
votes
0
answers
82
views
How to display data based on a drop-down selection populated by a SQL query?
the issue I have at hand is that I need to load data from a SQL query using PHP into a drop-down menu, have a person select one of those items which will then show more information based on that ...
0
votes
1
answer
87
views
How to check if html form submit was successful
I have an html form, and already did the validation, after which the form is submitted.
I want to check if the form was submit successfully, in terms of the internet connection. Because right now, it ...
0
votes
0
answers
112
views
How to make simple client-side Recaptcha V2 validation?
The issue I'm experiencing with my script is that it is not properly validating whether the Google reCAPTCHA is completed before allowing users to submit the form. While the validations for inputs are ...
0
votes
1
answer
204
views
Best approach for creating an accessible multi-step form with aria-live step indicator? [closed]
I'm working on a multi-step form where each step is dynamically displayed using <template> elements. As the user progresses, the previous step is hidden, and the next step is revealed (with ...
2
votes
1
answer
184
views
Svelte 5: Form briefly appears then disappears on page load when using conditional rendering for an image
I'm encountering a strange issue with a Svelte 5 component where a form briefly flashes on the screen for about half a second when the page loads, and then disappears. This happens when I have ...