Questions tagged [forms]
A form is essentially a container that can be used to hold any amount of any subset of several types of data. HTML forms are used to pass data to a server. VB and C# forms are the windows used to interact with the user.
forms
113,223 questions
-4
votes
0
answers
23
views
Google Captcha V3 trouble sending to gmail [duplicate]
I am updating a contact form to include "google reCAPTCHA V3", when I add the code as per this guide "https://stackoverflow.com/questions/54183985/how-can-i-implement-google-recaptcha-...
0
votes
1
answer
98
views
Prevent Firefox 'Save address?' prompt on form submit in JavaScript address book app
I'm building a web-based address book module for a larger app where users will frequently create/edit contacts. Mozilla Firefox aggressively prompts "Save Address?" or "Update contact?&...
-4
votes
0
answers
44
views
Get WordPress post_id to use in post_meta action with 1 form [closed]
I have a fun challenge for you. The only problem is, I'm not 100% sure it's actually possible.
I'm using YOOtheme Pro with the FORM element from ZOOlanders Essentials.
I'm creating a new post via a ...
0
votes
0
answers
160
views
Show output of JavaScript calculation in HTML Form [closed]
I created JavaScript that calculate total amount based on two input variables (price, quantity). The script should take input values from HTML form and show the result in the "Total" field, ...
0
votes
2
answers
50
views
Extend signal form's FormField directive
Just learning signal forms and I'm trying to extend the functionality of the new FormField directive in angular 21 to add some custom classes to show valid/invalid ...
1
vote
0
answers
82
views
VB6 form update issue using .net user control
I wrote some .net (framework) UserControls and embedded them to my vb6 form application, in order to get more graph functionality. (due to some reasons the vb6 application has still to be used).
The ...
-1
votes
1
answer
134
views
How can I get the actual values of a List Box or Dropdown List Option from this HTA to a txt file
I would like to modify this vb script so that i can add the values selected from a drop-down box so that it also sends the data to the text file as for example.
The text file should show for example:
<...
0
votes
1
answer
62
views
Browser not prompting to save password on React login form despite correct autocomplete attributes
I have a React login form with the correct autocomplete attributes, but the browser never prompts me to save the password after a successful login.
...
1
vote
0
answers
41
views
Getting "Undefined index" warning when submitting a simple PHP form [duplicate]
I checked similar questions, but I am still confused as a beginner and would like a simple explanation.
I am a beginner learning PHP and working with HTML forms.
I am submitting a form using the POST ...
1
vote
1
answer
66
views
Form page reloads on submit despite calling event.preventDefault() in JavaScript [duplicate]
I am trying to prevent a form from reloading the page when it is submitted. I am calling event.preventDefault(), but the page still reloads every time I click the submit button.
Here is my HTML:
...
0
votes
1
answer
80
views
Json is not returned to the calling Ajax
I have a form in a partial view. The view receives a "model".
...
Advice
0
votes
2
replies
44
views
How to make while loop in windows form using Visual Studio C++/CLI .NET SDK
I want while loop working I'd be able to pass arguments to loop in real time. Maybe to put the whole code of windows form into loop? Or it must be another cpp file where loop will work. But how to ...
0
votes
0
answers
58
views
How to show the value of RangeType with symfony FormBuilder
I'm working on a backend application to manage questions for a quizz application. I created the Question entity and added a property called "difficulty". Now I'm creating the form for this ...
0
votes
2
answers
135
views
Web form repeatedly resubmits itself after submission by Apple users [closed]
I have a .php file on the web which contains an html form. That form (in case it's relevant) calls the original .php file when a user presses "Submit". That is, the file is called newform....
Advice
0
votes
4
replies
63
views
Using an a hreft link to target a specific value in a dropdown list
I am just wondering if it is possible to use an ahref link to target a page with a dropdown and then have the dropdown show the selected option once the page loads?
e.g
...
Advice
0
votes
5
replies
71
views
How to localise submit buttons in HTML forms
I am building a multi-lingual website and want to localise the captions shown on buttons in a form.
...
Best practices
0
votes
2
replies
94
views
Best approach to make a form with multiple models with laravel inertia and react
I'm currently learning inertia with react after using livewire and finding myself quite limited so I'm making a sample project that makes invoices to practice making forms and saving data to a ...
Advice
0
votes
0
replies
27
views
Sharepoint Microsoft Forms
For a specific need, I would be able to list all Microsoft Forms stored on my 365 account.
I would like to be able to export to .CSV, Excel or other kind of file a list with the title of the form and ...
1
vote
0
answers
172
views
How to create optional value with Tanstack form and Zod?
How to create optional value with Tanstack form and Zod?
...
-1
votes
1
answer
79
views
The objects in my MS Access form display like an Excel instead of a form [closed]
If I double click on the form from the "All Access Objects" pane, it displays correctly.
If I try to display using the following code:
...
2
votes
1
answer
111
views
Poem Generator (JS)
I'm trying to make a random poem generator where, when the necessary inputs are made a topic id first created (consisting of the name of girl and name of country) then the poem which also has the name ...
2
votes
0
answers
55
views
Symfony 6 - EasyAdmin - Custom form type canvas
I use Symfony 6 with EasyAdmin,
I've been trying for several hours to understand how form types work in Symfony, and more specifically how to set up a custom form field, but I can't find a simple, ...
3
votes
2
answers
144
views
How to handle multiple submit buttons with Antd Forms?
Consider the following code:
...
0
votes
1
answer
103
views
javascript fetch and redirect through flask view not working as expected
In the html intro to a web app for a scientific study, data is collected through forms.
I added a javascript function that submits the data via the fetch API:
...
0
votes
0
answers
31
views
How to prepare a set of equations for parallel expansion in TFORM?
I’m working with FORM/TFORM to automatically expand a large set of symbolic equations.
My goal is to make the expansion process run in parallel on multiple CPU cores using TFORM.
Here’s a simplified ...
1
vote
3
answers
104
views
How to keep only a specific field from a Form Group active when disabling an Angular form?
I have a reactive form in Angular where when a specific field active_deActive is changed, I want the entire form to be deactivated, but the field itself to remain ...
0
votes
0
answers
52
views
Uncaught Error: [$injector:modulerr] received while attempting to run angular app
I receive the following error "Uncaught Error: [$injector:modulerr]" while running the following app. The code is designed to submit the data received to a SharePoint list when the submit ...
0
votes
0
answers
90
views
How to integrate v3 invisible recaptcha to Magento 2.4.6 search
I have integrated recaptcha in search form but the issue is when user directly hit the search url like catalogsearch/result/?q=ring, there also i have integrate recaptcha. Please suggest some method. ...
1
vote
1
answer
42
views
FormAssembly Quick Publish embed script only works in index.html, not when dynamically loaded in Angular component
I’m trying to embed a FormAssembly form into an Angular 17 standalone component.
The Quick Publish embed snippet works fine if I paste it directly into index.html:
...
0
votes
1
answer
41
views
AEM forms add a row between two existing rows
The below form calc script stops after first iteration.
Following lines not perform:
// Uncheck the checkbox of the inserted row
// Update row count after insertion
// Skip to the next row after ...
0
votes
0
answers
53
views
Keeping the current chosen option from <select> marker passed from Django
I'm currently trying to create a website/webapp for my portfolio's bank using Django 5.2/HTML/CSS/JS. I got stuck on one small part of creating bank statement subpage.
The issue I have encountered is: ...
4
votes
1
answer
197
views
Can there be a non-visual (without dfm) base form between TForm and any other form of the app?
In my Delphi 2009 VCL application, I have several base forms, like:
TListBaseForm = class(TForm)
TEditableListBaseFrom = class(TForm)
TEditBaseForm = class(TForm)
...
0
votes
2
answers
72
views
SvelteKit form inside a modal won’t submit to +page.server.js action
So I have a SvelteKit project with the following project structure:
...
2
votes
1
answer
96
views
Why does hitting enter in a textbox cause my regex to fail [duplicate]
I have a regex on a textbox in order to limit it to specific characters. It includes the following /^([A-Za-z0-9 .,':;/?()!-]|\\[rn])*$/
I am validating onBlur and ...
0
votes
0
answers
60
views
What is the best way to be handling onmounted calls while making sure the global state management array does not make the form dirty
This is my onMounted call and the loadTripAdvanceDetail function here is responsible for populating the form for edit operations however it makes my form dirty and gives me the unsaved changes dialog ...
0
votes
1
answer
116
views
using same index value for two fields
I'm looking to correlate two fields of my form, using the same index number.
I mean, I have a group of fields called traj in an array.
Each ...
1
vote
1
answer
139
views
Aligning controls in a Form
In my ongoing quest to understand the layout in a form, I decided to see if I can emulate the sidebar in the new Icon Composer app. I am focusing now on the rows with a title, switch and ...
2
votes
2
answers
60
views
Angular CLI 18 do not accept my form nativeElement
I have a simple form and I'm using EmailJS to handle it and I'm sure my IDs and key are correct.
Here's an example of my form:
...
-4
votes
1
answer
101
views
Database not updating, using C# and Windows forms [closed]
I have a SQL database being locally hosted that keeps track of stock, I'm trying to get the SQL command "UPDATE stock SET cantidad = 530 WHERE id = 0" ...
0
votes
0
answers
28
views
New MS Lists and MS List Forms - reusable column options
I'm trying to create an inspection checklist workflow, using the new MS Lists & MS List Forms. Each check list item is a separate field / column. Each of the check list columns represent a ...
-1
votes
2
answers
118
views
Submit combined form elements from parent and iframe
I'm trying to get this working, based on a YouTube video that credits a post on here. However, I've tried it exactly as shown on the video, along with numerous alterations in an attempt to make it ...
1
vote
3
answers
100
views
Quiz and sessionStorage: How to prevent point accumulation with the 'back' button?
I created a multi-page quiz, and I use the sessionStorage API to calculate the points and display the final score on the last page. Each time, I have a first page with the quiz.
...
0
votes
3
answers
224
views
Insert environment username into SQL in a MS Access form
I have a MS Access form with an edit button.
Before it edits the record, it runs this code to backup to a changelog table:
...
0
votes
2
answers
135
views
TYPO3 EXT:form prefill a form field with an id of the current object defined in the object table (not uid)
I have a small form in TYPO3 V12 that generates a request for more information on the current object, I'd like to prefill a form field with the id of the object so that it is send with the request, I ...
2
votes
1
answer
187
views
VBA Excel "Compile error: duplicate declaration" only on certain machines in shared workbook
Ive been working on a data entry form to input lines in a delivery plan in excel. After many manual tests and a few modules to run primitive unit tests, i got it working flawlessly on my local ...
0
votes
1
answer
84
views
HTML Post array from single hidden input passes an array but PHP not processing it correctly [duplicate]
I have read quite a few posts on this, most provide various solutions but none are really addressing the underlying "why"? I can't figure out PHPs behavior when processing a single ...
0
votes
2
answers
399
views
Each time I try to run a file or project in Visual Studio 2022 Community edition, I am presented with different errors
I tried to open a file in Visual Studio 2022 Community, all of a sudden I got this error message:
The Trust Service cannot be loaded. Trust Checks are now disabled
After a couple of failed attempts, ...
0
votes
2
answers
92
views
Percent encode HTML form [closed]
I have a html form - method="get" is obligatory in my case :
...
0
votes
0
answers
114
views
0
votes
1
answer
48
views
spring boot thymeleaf form with date formatted as only month and year without day
I was trying to pass only month and year without day using such an fragment:
...