Category "forms"

Widget rebuild after TextField selection Flutter

I'm developping a Flutter App that needed to have a form. So when the user open the app, a Splash Screen appear before the form that have the following code :

How to handle file upload validations using Flask-Marshmallow?

I'm working with Flask-Marshmallow for validating request and response schemas in Flask app. I was able to do simple validations for request.form and request.ar

How to properly call a method on a Vue component

I'm quite new to using Vue2. I'm using the Vue CLI so I just follow the structure of what's generated from it. What I'm trying to do is submit form data. But

What is the meaning of onsubmit="return false"? (JavaScript, jQuery)

I know that the onsubmit event occurs when a form is submitted. Generally, we are calling a method on the onsubmit event, like <form action="" onsubmit="myfu

Post Form Using Fetch and Check Status OK

How does one get the reponse code when posting form data using fetch with vanilla JS, I have this code which posts but does not check response code with respons

Target Individual Form Instance/Counter Inside A PHP While Loop

I have a PDO prepared statement that I use on a single-image page where a user is going to be able to download that specific image. I currently have a counter t

Issue with triggering the submit function with included js file

I'm have a problem triggering the form submission. I am setting the form into <div id="access"></div> innerHTML using the included js file in the he

How to submit a form when page loads using JavaScript?

I know this question has been answered many times but in my case the JavaScript code creates a infinite loop which makes my page load continuously, <script t

Javascript form success

I can't seem to get a success message to pop up with my form on my site. The message gets received but no indication is giving to the user via alert as it's mea

How to trigger 'submit' event before the 'blur' event is triggered?

I have a form which has an error message as shown in the example below: http://codepen.io/anon/pen/dYWyEM?editors=101 Steps to reproduce the problem is as follo

2019, Chrome 76, approach to autocomplete off

There are are few posts out there about this. You spend hours going through each answer, testing, reading comments, to find that there is no solution. What have

Setting the location of a form in access vba

I'm working on an Access application with multiple nested forms on which the users clicks on selections in order to do specific tasks, e.g., enter new data, sea

JavaScript form script works Chrome but nowhere else

2nd update 9/6/2015 So here's what I came up with for a solution—it's certainly much shorter, and works in all my Mac browsers so I'm assuming it works el

Django HTML form: how can I only populate a field value if it exists?

My Django application has a Person model with some optional text fields, such as: nickname = models.CharField(max_length=20, null=True, blank=True, default='')

How to save Dynamic Form Answer in Angular?

I'm trying to save some data that I display dynamic in the browser.This is my HTML where I iterate trough a list of exam questions dragged from the database and

SetValues Formik Function disables Formik HandleSubmit

I have a form that can handle submission a couple of different ways. The difference is managed by a flag in the form Values that can either be true or false. I

Bind event with form in JavaScript

I am creating form using JavaScript. Like below var form = document.createElement('form'); form.action = 'abc.com'; form.noValidate = true; form.id = 'myForm';

C# Winform LiveCharts does not know how to plot

I'm trying to draw a graph with some arrays. I got 4 arrays (Time,Temprature,Speed,Water). I want to add Time array on AxisX. The others are going to be on Axis

Can write any other code to move the question in MS-Form using Python selenium, if element class have changed?

I am trying to use Python Selenium to move the question in Microsoft Form by clicking "↓", move-question-down icon (Fig 1). The HTML structure is in Fig 2

Placing <label> text inside the border of a text input

I'm looking get this code: <form id="first_name"> <div class="form-group"> <label>First name</label> <input ty