Category "forms"

Typing Object.fromEntries(new FormData(form))

TypeScript newbie here, having problems with Object.fromEntries. I'm trying to pares form and cast its values to something else. For example, given homogeneous

blazor how pass list of some type to EditorAttribute

im building some generic forms builder so im at the point where i can public class Model { [Editor(typeof(CustomIntEditor), typeof(InputBase<>))] publ

React Final Form - Double conditional Form

I have started to work on a form project using React final form, but I am struggling to do a two condition question. Would anyone knows how to do a double condi

How to stop lightbox automatically submitting form

Currently the lightbox is made with .modal, this is how it should work: while submitting the form, the lightbox appears with a button asking for a higher purcha

how to add an open "other" field in an http radio form

I want to make an open "other" field in an HTTP radio form like in the following picture. is it possible? i had in mind something like this: class="text"><

How to pass all user's data when clicking edit button?

I created a display page using php where all users records are displayed in a table and there are delete and edit buttons to manage users, for the delete option

Clear all form field in react, using react hook forms

I am creating a login form and want to clear the form when form submitted.I am using react hook form ,here are my codes.. const onSubmit = (data) => { co

VBA code for recalling the SelHeight Property Value of a subform is not working - syntax error?

My aim: I have a subform in a form and I want to pick up the value of one field in a user selected record in the subform and populate a field in my form using t

How do you make button save form data on a csv file and redirect you to a new page at the same time?

I am trying to make a button that saves form data on a file and redirects you afterwards, but although the save function works just fine, the redirection doesn

Flutter formkey exception displayed _CastError (Null check operator used on a null value)

I have created a form by wrapping a column widget in Form() as so Form( key: formKey, child: Column( children: [ But when I try to set fina

Creating cookie with a form values makes a null cookie

First of all, i need to create a cookie with a values that are in a form, and a lot of values are in a radio input type, but i ran into a problem with creating

Laravel application on Heroku, 419 page expired when try to login/register

I set up my Laravel 8+ application on Heroku.com. Almost everything works perfectly, but when I try to register/login I got the "419 | Page Expired" error. I am

Symfony form with ChoiceType conditional

I want to create a form in symfony with a double checkbox, in mode You approve the privacy policy or you don't approve the privacy policy. []I approve the priva

How to update the actual true value="" of a input field when another field is entered

I have reviewed tonnes of articles and all solutions only update the visually displayed value as opposed to the actual value within the input tag itself. When I

Angular 7 email validation using regex on reactive form

On Angular, I am trying to validate email using following regex - ^(([^<>()[\]\\.,;:\s@\"]+(\.[^<>()[\]\\.,;:\s@\"]+)*)|(\".+\"))@((\[[0-9]{1,3}\.

How to use a value from $_POST as the parameter of an in_array function?

I have built an HTML form to search through a .csv and return all entries that match the specific input string. My aim is to be able to search through a .csv an

C# forms check when a specific execute has been launched and then run my program

How would I make my program check if a certain application like "notepad" has focus and ultimately open my second form when it does have focus, closing that sec

humberger menu stop scrolling main body css

I am trying to implement a hamburger menu. My expectation is when I will click on hamburger menu then the whole screen will contain only hamburger menu and ther

Form validation if user submits a specific phrase

in the process of adding a sign up form to a website. The form will have first name, last name, and email text fields. I want the form to also have a text strin

Closing the first form in C# to show the second, but after closing the second the first comes back

So far, this is the button click event to instantiate the other form of the button. It pops up the other form—but the first form is still in the backgroun