113,296 questions
-2
votes
0
answers
30
views
Browsable(true) in c# [duplicate]
when should I use Browsable(true)? what's the purpose of it? and why it doesn't appear on my window properties even though I've already applied it? do I still need to set up something for it to appear ...
-3
votes
0
answers
57
views
Why doesn’t my JavaScript form validation stop the form from submitting? [duplicate]
I’m practicing form validation with JavaScript. I want to:
- Check that a username field is not empty.
- Check that the password is at least 6 characters.
- Show an error message without submitting ...
-3
votes
0
answers
83
views
Form Input Not Responding to CSS Color or Border [closed]
On my website I've set up a form for people to be able to email me, and I'm trying to adjust the CSS so it visually meshes with the rest of my website better, and while the css I've implemented to ...
0
votes
0
answers
48
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
113
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....
-1
votes
0
answers
45
views
"You cannot access body after reading from request's data stream" [duplicate]
I have a piece of code that sends a json to the server but
form.onsubmit = async (e) => {
e.preventDefault();
const formData = new FormData(form);
const response = await fetch('api/get-...
Advice
0
votes
4
replies
55
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
<div class="content&...
Advice
0
votes
5
replies
70
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.
<form action="check.php" method="post">
<input class="btn btn-...
Best practices
0
votes
2
replies
65
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
26
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
83
views
How to create optional value with Tanstack form and Zod?
How to create optional value with Tanstack form and Zod?
<script setup lang="ts">
import { useI18n } from 'vue-i18n';
import { z } from 'zod';
import { revalidateLogic, ...
-1
votes
1
answer
76
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:
Public Function lookupTitle(ByVal jobTitle As String) ...
2
votes
1
answer
104
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 ...
-1
votes
0
answers
305
views
How to create a multi-step form in NextJS with @tanstack/form
I have recently migrated my project from react-hook-form (rhf) over to @tanstack/form and for the most part have really enjoyed the implementation. One issue I have encountered and cannot find a ...
2
votes
0
answers
52
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
126
views
How to handle multiple submit buttons with Antd Forms?
Consider the following code:
import { Button, Form } from 'antd'
export function App() {
const submitForm = (data: {submit: 'foo' | 'bar'}) => {
console.log(data)
}
return (
<...
0
votes
1
answer
99
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:
fetch('/prepare/', {
"method":...
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
103
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 active so that the user can change it ...
0
votes
0
answers
41
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
80
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
39
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:
<script
src="https://...
0
votes
1
answer
40
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
52
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
193
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)
Each of these base forms is using ...
0
votes
2
answers
68
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:
lib/
├─ components/
│ └─ my_module/
│ └─ my_resource/
│ ├─ CreateObjectButton.svelte ← Button component (important by ...
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 displaying an error message when the ...
0
votes
0
answers
58
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 traj field is (or should be) related to a niv field, with ...
1
vote
1
answer
136
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 TextField. ...
2
votes
2
answers
58
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:
<form (ngSubmit)="sendEmail(form)" #form="ngForm"&...
-4
votes
1
answer
98
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" through using a C# Windows form ...
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
113
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 ...
0
votes
0
answers
38
views
How can I achieve the following condition in whatsapp meta form
I want to create a simpleform which accepts account number and reenter account number fields and checks if they are equal. If these are not equal i am planning to display a error message and the ...
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.
<form id="q1&...
0
votes
3
answers
222
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:
DoCmd.RunSQL "INSERT INTO PlanningChangeLog SELECT * FROM Planning "...
0
votes
2
answers
122
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 ...
3
votes
1
answer
180
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
83
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 $_POST ...
0
votes
2
answers
315
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
89
views
Percent encode HTML form [closed]
I have a html form - method="get" is obligatory in my case :
<form action="https://websiteurl.com/searchresult" method="get" id="bookingform">
<input ...
0
votes
0
answers
114
views
Django Rest viewsets.ModelViewSet form view dynamic update choices list field from other field change
file models.py
ANIMATIONS_ACTIONS = (
('0', _('Stop animations')),
('1', _('Start animations')),
('2', _('Restart animations')),
('3', _('Suspend animations')),
('4', _('Unload ...
0
votes
0
answers
42
views
form action attribute not using forwarded request URI
In jakarta mojarra 4.0.11 the action attribute of the form component is not using the forwarded request URI but the normal request URI.
This was not the case in javax mojarra 2.3.18 as i see now ...
0
votes
1
answer
47
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:
<span th:fragment="choose-look-date">
<form method="post" th:object="${datePicker}&...
1
vote
1
answer
88
views
Idiomatic Rails way to select records with checkboxes in a big form to choose whether to save or not
I’m building a Rails app related to golf. Users can search for golf courses via an API, and the results are rendered as individual forms per course.
Right now, each course must be saved individually, ...
1
vote
1
answer
100
views
CodeIgniter 4 session data has been lost inside a if condition after redirect
Flow:
User fills a form with an email and gets a passcode.
I generate and store this passcode (checksum_code) in the session using session()->set(...).
Then I redirect() the user to a ...
1
vote
0
answers
132
views
VBA Excel - Enable and disable controls in a form depending of a combobox value
I have a combobox control in a form made for an Excel application, using VBA. Let's suppose that the combobox is called cmb010. Next to it there are 2 other controls called txt011, cmb012 and txt013. ...
1
vote
0
answers
23
views
Making a dynamic form in streamlit [duplicate]
I am trying to make a dynamic form using streamlit where the next question is asked based on the previous answer of the user, I am trying to use conditional statements (if - else) to ask the questions....
0
votes
2
answers
38
views
JSON Schema if, then conditional statement clarification
my schema rules:
Checking html select value make the AJV consider the select field required even I did not set it to be required
I need to check the select value without make it required.
export const ...