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,677
questions
0
votes
0
answers
7
views
Laravel Filament: How to get active tab in beforeValidation()
What I am trying to do: I have a Filament Wizard with Steps. In the first Step, I have two tabs:
The first is custom component, where you can select packages.
The second is a custom component, where ...
0
votes
1
answer
11
views
How to upload image but NOT using form builder in Symfony 6?
I know there is a simple way to upload image in Symfony 6. In short - create form via form builder and then in the controller we just simply do:
$form = $this->createForm(MyClassType::class);
After ...
-2
votes
0
answers
16
views
How to pass dropdown value to php to mysql query for the next drop-down value? [closed]
How am I able to allow the second query in this snippet to pass the value from the first selection onchange to the next? whenever I put the variable in the query, it does not recognize the change, but ...
-1
votes
0
answers
17
views
My form validation in Django seems okay but it is not working [closed]
Template of the form
Form.py
models.py
Views.py
seetings.py
Everything seems to be okay but the form is not storing data to the database, the form.py , views.py, models.py, settings.py ..
For me ...
1
vote
2
answers
38
views
Error: Unable to convert "Invalid Date" into a date in angular
html:
<div class="form-group">
<nz-date-picker
class="mt-2"
formControlName="obsolete_date"
[nzDisabledDate]="disabledDate"
*ngIf="...
-1
votes
0
answers
22
views
Send a form using ajax on ASP.NET Core 8 MVC
I want to implement a form in which there are various types of inputs, such as several text and file type inputs for sending photo, and the information must be sent through ajax and with a model, and ...
0
votes
0
answers
14
views
How to translate the automatic Symfony FileType input placeholders or labels?
I'm trying to translate the automatic placeholders or labels for a Symfony FileType.
Specifically, I want to change the text "Escolher ficheiro" e "nenhum ficheiro selecionado" to ...
-1
votes
0
answers
16
views
Placeholder not visible for input type="date" field on mobile devices
Placeholder not visible on mobile devices
i am using elemntor form
enter image description here
i notice that in desktop show input typa date in in mobeile device create another input type date that ...
0
votes
0
answers
52
views
How to increment a livewire variable
I've made a dynamic multi-page form that works using "step".
When I press the next button, I increment the step variable, which takes us to the next page like this:
<button type="...
0
votes
1
answer
8
views
How to avoid outer border and modify outer layout of Form using @rjsf/core
I am using Form of @rjsf/core library. Imported the two lib need to be used.
import Form from '@rjsf/core';
import validator from '@rjsf/validator-ajv8';
And using the same as per documentation as ...
0
votes
1
answer
13
views
Cannot create a Qwik QRL when creating a form
Good morning/afternoon/evening, I have been scratching my head with this throughout the course of the day, and I cannot see a reason why Qwik would exhibit this behaviour:
import { component$ } from &...
0
votes
1
answer
36
views
Checking for form submission failure in Playwright, how to check for error element?
Creating a playwright test for basic form submission works good with the a single expectation on the resulting page after submission:
test('Create todo', async ({ page }) => {
await page.goto(...
0
votes
1
answer
25
views
Binding number to input in Svelte and TypeScript
I have a form in svelte, using shadcn-svelte, and zod.
Relevant code snippets:
// schema.ts
const formSchema = z.object({
/* ... */
maxParticipants: z.number()
});
<!-- form.svelte -->
&...
0
votes
0
answers
23
views
Button behind select is clicked too (with Shadcn)
I have built a form where users have a select drop-down from which they can pick a product category. I am using a select from Shadcn. When I open the select and pick a category, it fires the button ...
-3
votes
1
answer
38
views
Handle multiple form to Json format
i want to make my form to json format so i can send it with ajax, so it has 1 parent, with multi addon, and the addons has multiple options
<form action="#" method="post" id=&...