113,117 questions
Score of -2
0 answers
35 views
What is the best way to go to load google recaptcha after consent? [closed]
How do you load the JavaScript files for Google reCaptcha v2 after the user has navigated a cookie consent form?
Is it possible to hide the reCaptcha, and after consenting to cookies, show the form?
...
Score of -2
0 answers
28 views
Flask form submission returns 405 Method Not Allowed even though the route exists [duplicate]
I am building a small Flask web application where a user submits a form to generate content. The page loads correctly, but whenever I click the submit button, Flask returns a 405 Method Not Allowed ...
Best practices
1
vote
3
replies
99
views
Dynamic Signal Forms, Reactive Configuration
The angular docs have now a section for dynamic forms using signal forms: https://angular.dev/guide/forms/signals/dynamic-forms-with-json#rendering-the-form-dynamically .
There is however one thing ...
Advice
1
vote
14
replies
161
views
Extract XML data from forms into tables - presence of namespaces in XML
I have a situation, where I am importing data stored in XML from a SQL Server table, into a temp table (#), also in SQL Server.
The sample form data is as below:
<ABCDE xmlns:i="http://www.w3....
Score of -1
1 answer
126 views
file not being deleted after its expiry time passes
I'm trying to make a rate limiting function that prevent users from using specific forms when they reach a certain threshold. The limit will get reset after a certain amount of time. When a user ...
Score of -1
1 answer
63 views
Reduce rows on textarea/paragraph text - Gravity Forms v2.10.3
Need ability to limit the HEIGHT on the textarea (paragraph text) and still allow user ability to vertically resize the box. Even while selecting field size: SMALL, this renders as 10 rows high in ...
Score of 0
0 answers
196 views
What is the new Angular signal form reset()?
I'm wanting to reset a form, but with the latest Angular signals I'm unable to.
I used to do as follows:
form.reset();
What is the newest Angular way of doing it?
Score of 0
2 answers
139 views
markAllAsTouched() for Angular signal form
Let's say I have a form with a required field.
If the user clicks directly on the submit button, I'd like to show the field that are invalid.
In the former Angular way, I did:
form.markAllAsTouched(); ...
Advice
1
vote
3
replies
111
views
Form creation using html
I'm starting my full stack career and I have a task in which I have to make a form using only html. I'm not getting a clear idea like how I should frame my form and which tags I should use .
How to do ...
Score of -3
1 answer
220 views
JavaScript variables sent to PHP via fetch API and XHR POST synchronous methods do not appear in POST variables on server side
My goal is to have the user be able to submit data in a form, which can then be processed and modified in PHP and the output could be displayed without refreshing the page. I have found two ...
Score of 0
0 answers
63 views
Javascript variables sent to PHP via Fetch API and XHR POST synchronous methods do not appear in POST variables on server side [duplicate]
I wasn't sure if I should put this in Stack Overflow or the Wordpress exchange since I am working on a local WordPress site.
My goal is to have the user be able to submit data in a form, which can ...
Advice
0
votes
3
replies
67
views
Do `setCustomValidity()` and `checkValidity()` supersede the need for external libraries?
I was recently drafting up a webpage and was thinking about supplying some custom error messages. I discovered setCustomValidity() which allows you to supply a custom error message. I subsequently ...
Score of 3
2 answers
133 views
Need to disable the submit button if both fields are invalid
I am trying to disable the submit button on a boostrap modal form until both addhostname and addipaddress fields are valid. I have tried multiple ways to detect the validity state of the addipaddress ...
Advice
1
vote
10
replies
194
views
Is it worth starting a new desktop project with Windows Forms or choosing Qt/modern alternatives?
I am planning a new desktop application and considering which GUI framework to choose. I have some experience with C++ and Python, but I'm concerned about the longevity of the technologies.
Is there ...
Score of 0
1 answer
124 views
Can't stop page from reloading in SvelteKit after submitting form (with use:enhance and form actions)
I'm using form actions in a SvelteKit project. I want to submit a form, but not reload the page afterwards. For whatever reason, the usual solution (with use:enhance and update({ reset: false }) isn't ...