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,685
questions
0
votes
0
answers
6
views
Rails: Form that sets up default values for an object?
Say I have an object that has some attributes with default values. I set up the default values for these attributes at a model level like so...
after_initialize :set_defaults
def set_defaults
...
0
votes
0
answers
9
views
Django Admin updating tabularinline forms
I have a django modeladmin like so:
Class PlanInline(admin.TabularInLine):
model = Plan
form = PlanForm
Class SettingsInline(admin.TabularInLine):
model = Settings
form = ...
0
votes
0
answers
21
views
How to nest multiple isset() functions based on multiple forms without losing any of the form data or refreshing the browser?
I am trying to solve a php problem to find the mean of n random numbers based on the limit(n) given by user on an HTML form.
My approach was to create a Html form which asks the user to Enter the ...
1
vote
0
answers
24
views
How to add cid to e-mail body correctly?
I'm currently working on integrating email sending with GraphMailer, alongside a rich text editor powered by Quill. My goal is to allow inline image embedding in emails directly from the editor. ...
-1
votes
0
answers
17
views
Google Form disappeared
My google form gives this message when I open the link: "This item can't be accessed because it violates our Terms of Service. If you think this is an error, please request a review." (in a ...
0
votes
0
answers
16
views
Accessing WordPress Contact Form 7 Radio Buttons by number, not description
I've set up a Contact 7 form that uses some conditional logic at https://eastsurreymuseum.com/contact-2/
If you click on radio button 4, you get an additional text box.
My code, is however, rather ...
-4
votes
0
answers
30
views
select option get data from database in php [closed]
This is my select option php source code.
<select name="type">
<?php
$result=mysqli_query($conn, "select * from bill_type");
while ($row=...
0
votes
0
answers
33
views
Vue.js form with v-if not hidden when showFormBoolena is set to false
I have parentform with a child form that allows to add games.
The childform has option to edit games, and the grandchildform has option to add cards to the game, using a Imageupload component.
The ...
0
votes
0
answers
8
views
shadcn storing state in searchParam queries and nextjs 14
i have a shadcn form component that has Dialog, inside is is a form with Select,input, textArea, updloadPicture ( with uploadthing) and Switch. in another component i set a query to call a my api ...
1
vote
2
answers
50
views
Incorrect form validations triggered
I have formgroup which has input fields, the validations are set like this :
<mat-form-field class="mat-width-98" appearance="outline">
<mat-label&...
0
votes
0
answers
26
views
Using zod form validation with radio button group that has no default checked value on first render
I have a simple form that I am using zod to validate. For simplicity let's say the form has exactly one user field for specifying a selection:
const FormSchema = z.object({
options: z.enum(["...
0
votes
1
answer
24
views
Pass form's hidden input value in query string with ASP.NET Core MVC view
I have a form for forgotten password resets. I need to pass the access token in the query. The access token is stored in a hidden input.
<form asp-action="UpdatePassword" asp-controller=&...
-1
votes
0
answers
21
views
how can i show Multiple Images of Products inside the database mysql using php js [closed]
Only 1 image from the database is pulling inside the modal which is the class= "main-image"
<?php
session_start();
// Check if the user is logged in
if (isset($_SESSION['username'])) {
...
0
votes
1
answer
25
views
Form with multiple inputs into fields for PHP processing
I've got a form with multiple sets of data (which are variable) which I'm attempting to pass into PHP and then for each group of fields, have the individual data into PHP variables ready so I can work ...
1
vote
1
answer
32
views
Can one input field be used by multiple forms without JavaScript?
Lets say I have a sign in form with two inputs, one for the email and one for the password. The form would have a sign in button which submits the email and password to the server to sign the user in. ...