Category "forms"

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

JQuery autosubmit

I have a form with three input elements. I want to run my validate function when the last input element is not equal to null. Any ideas please. Here's the code

A component is changing an uncontrolled input to be controlled

I am trying to do the discounted price logic Discount price should have the default value of actual price , because 0% discount means the discount price is same

React state management rendering for one object or array of objects

I'm learning React and starting with handling state in a CRUD form via the useState Hook. Something like this: const [data, setData] = useState({}); where data

How to dynamically add/remove back button from a page that's already been constructed in XamarinForms.Android?

Our team is currently implementing some UI/UX improvements to standardize how a user saves/cancels any changes made while editing data in our app; and I've got

Attempting to 'permanetly' save two user inputs into two seperate arrays, and display the array data in a listbox on a different form

Apologies I am a newbie, ill try to explain as best as I can. Im creating a game for a university assignment. My game is a maths game that asks the user maths q

Implement form parts in different classes

I have a main window with two buttons (this is a simplified description). A click on a button opens another form. Both buttons open different forms. I'd like to