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.
111,051
questions
0
votes
0
answers
9
views
vb.net add Aero Snap property in my borderless form
i am try to make border less form' it's work fine.
but i cant add "Aero Snap" property for it.
i am try different method for make borderless form. but they are not resize smoothly.
that ...
0
votes
0
answers
18
views
Is there a way to distinguish selecting from a datalist vs typing the same string manually?
As far as I can tell there isn't, but I figured I'd ask.
I have a text input. Autocomplete suggestions are fetched dynamically as you type and fill a datalist attached to the input. Normally, typing ...
-1
votes
0
answers
31
views
Name input field from Array Index name and POST the value
I try to make a loop getting data from table and put it in Array, then put the value on an input field and then make the name of the input field based on an increment value.
Finally i have a button ...
0
votes
0
answers
34
views
AJAX form with e.preventDefault(); redirects to the PHP file
When I click the button to submit the form it sends me to the PHP file (Php/modify-recipes.php). I'm using AJAX with e.preventDefault();, but it doesn't seem to work. I have a similar form on my other ...
0
votes
0
answers
24
views
input type hidden does'nt post
I have a system where people can indicate whether they are attending an event. There are several events to choose from. The events come from the database and have a unique id. Everything works fine, ...
-3
votes
0
answers
9
views
User input text into a specific response for that text [closed]
I am trying to have a form while when a user writes a certain text he will get a specific response , and I plan to do so for a set of input texts that I will decide.
For example I will set that if the ...
0
votes
2
answers
31
views
Visual Studio 2022, Form refactoring and text boxes issue
I'm a very newb and know nothing about any IDEs, I've encountered a problem where if I change "Form1" to any other name with proper refactoring it won't add any textBox in the solution ...
0
votes
1
answer
34
views
Why does my contact form work in Brave but not other browsers?
enter image description hereMy form works in Brave on my computer but does not work on Safari or Google on my computer. It also does not work on mobile devices. Where it does not work it returns a ...
2
votes
1
answer
21
views
Recognition of a date as a date in Access Forms filtering
I have an Access data table with the Field "RequiredUntil", which is from the type "Date/Time", and several other columns, and a form, in which I show that table, and where I ...
0
votes
0
answers
7
views
Hi can I upload multiple images using single input tag in net core 6 and also bind with model?
I'm trying to build and form in which you can upload gallery items. but
<input type="file" multiple="true"/>
is not working for me and also I want to get the list of files ...
0
votes
0
answers
18
views
Open modal with different ID before submit
i'm working on a project where the user could choose an artist, like spotify, and when you click on the button of a specific artist, it shows the information of this one.
I need to recup the value ...
0
votes
0
answers
13
views
Iterating over Object using `keyof` in Typescript
I have a problem trying to iterate over an object, using values from an array as a key. I am trying to achieve the following:
type DataPointFormType = Partial<Omit<DataPoint, "id">&...
0
votes
1
answer
42
views
why is my eventListener called multiple times
function form_anim(){
form_2.style.transform = "translateX(0)"
form_2.style.transition = "transform 400ms"
}
previous.addEventListener('click',()=>{
form_2.style....
-2
votes
0
answers
34
views
Array to string conversion when updating table
if(isset($_GET['currentstatus'])) {
$the_choice_id = $_GET['currentstatus'];
$query = "SELECT * FROM choices ";
$select_choices_query = mysqli_query($connection, $query);
...
0
votes
0
answers
30
views
AJAX Form not validating
I'm very new to AJAX and PHP, so I probably missed something silly. I have been following a tutorial for AJAX Form validation and I have the same code as the guy, but it's not working for me. I ...
0
votes
0
answers
15
views
Step attribute does not work in <input type="datetime-local"> and <input type="time">
I can't understand the step attribute in <input type="datetime-local"> and <input type="time">. It seems to be badly implemented in all major browsers.
Step="1&...
1
vote
1
answer
16
views
Check or uncheck various inputs based on selected selection option
I'd like to change which checkboxes are checked based on which age is selected.
If adult is selected the first check box should be marked and the second unmarked. If 16-17 both should marked and if ...
0
votes
1
answer
21
views
object has no attribute 'set_password'
I am getting an error message of 'UserProfileInfo' object has no attribute 'set_password'
I cant seem to find what I missing I did a few projects alike this one but never encountered such error
Is ...
0
votes
2
answers
39
views
Filling out forms Selenium
I'm trying to learn how to fill out forms using selenium. I am attempting to see if I can automate the process for demo requests for various different software companies, and was wondering if someone ...
1
vote
1
answer
13
views
Check if React Bootstrap Form is filled in or not to conditionally disable submit button
We have the following contact form in React using https://react-bootstrap.github.io/forms/overview/
let contactForm =
(<Form ref={formRef} onSubmit={sendEmail} className='toggle-contact-form'&...
0
votes
0
answers
38
views
I can't move the html element to another container with JavaScript
I have a form that is generated by a plugin and I don't like the arrangement of the elements, so I want to change the layout so that it is aesthetically prettier and appropriate to the section it is ...
0
votes
0
answers
13
views
Uncheck checkbox input to remove sorting
I have a form that triggers a sorting function depending on the valued chosen from the checkboxes.
It works fine, but I am trying to get back to the original sorting status when unchecking the ...
0
votes
2
answers
25
views
How do I change the wordpress directory where user images are uploaded?
I have a function for woocommerce (Add a profile picture (file upload) on My account > edit account in WooCommerce) that allows users to upload their frontend avatars from the account> settings ...
-1
votes
0
answers
13
views
Fatal error: Uncaught PDOException: SQLSTATE[23000] and Warning: Undefined array before filling the form. When refreshing another record is added
I am doing a school project where I need to be able to enter users into the database. The process works (I can add users) but I have the following problems:
as soon as I get to the page (before ...
0
votes
0
answers
13
views
Symfony 6 prefill field in dynamic form type
I am making a dynamic form but I can not prefill a field according to the value of the previous field. If the name equals jean i want to add a color field and I want to prefill the jean's favorite ...
0
votes
0
answers
19
views
I'm getting error "mod_fcgid: stderr: PHP Notice: Undefined index: uploaded_file"
Here's my code:
<?php
error_reporting (E_ALL ^ E_NOTICE);
ini_set('display_errors', 1);
$name_of_uploaded_file =basename($_FILES['uploaded_file']['name']);
$formData = $_POST;
getFile( $...
0
votes
1
answer
57
views
My push to a array is not working. What am i doing wrong?
I am building a simple system that have the object to generate a orders list to our delivery man. Everything you have to do is insert the values and in real time it will dynamically appearing on the ...
-2
votes
0
answers
37
views
Why HTML form isn't sending any data
I am trying to get data with php, so here is my code:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-...
0
votes
1
answer
22
views
XMLHttpRequest, AJAX, JSP, Load data into form
If the object contains more fields than what are referenced in the form, then it breaks, how can I prevent this (https://jsfiddle.net/a4v7p2xg/2/) the snippet below works.
var data = {
"...
0
votes
0
answers
17
views
Pardot form handler PHP code on thank you page, not firing
I posted this yesterday, and got a lot of helpful advice that uncovered numerous mistakes I made. I've fixed those, but the problem still persists, so here's an updated version of the question.
I'm ...
0
votes
1
answer
22
views
Form displaying an error in frontend TYPO3
I have followed every tutorial on Form. In every tutorial after I finish their steps the form appears in front-end. My form displays this error:
Oops, an error occurred! Code: 20220818062042eaedc27c
...
1
vote
0
answers
18
views
Using AxWindowsMediaPlayer control on MONO c#
I try to make a AxWindowsMediaPlayer control on form whit MONO on raspian. It work very well on Windows, but on Raspian I have this error:
"System.ObjectDisposedException: Cannot access a ...
-1
votes
1
answer
19
views
How do I get the value of option inside of a range input
I been looking around, but still can't find my answer. I want to get all the options from a range input, the input set up is depend on what the end user put in, but only number.
In the example: Min is ...
0
votes
0
answers
12
views
Unable to reach target when using typescript on handleFormSubmit(event: React.FormEvent<FormElements>)
How do i get typescript to know about email and password fields?
function authenticateUser(event: React.FormEvent<EmailCheckForm>) {
event.preventDefault();
setLoading(true);
...
0
votes
0
answers
26
views
Login to site with axios
I am trying to login to jpopsuki.eu. In order to access the site, you need to get a PHPSESSID token which stores in cookie. To do so, I make post request to jpopsuki.eu/login.php with all the ...
0
votes
0
answers
22
views
Django ImageField Form upload works in admin but not in actual user form
I am trying to upload an image within a form that has an animal type, description, and the image file. This should save to image in an "images" file within my project and this works fine ...
0
votes
1
answer
23
views
Cannot upload file using multipart/form-data and Flask
I'm not able to upload files through a simple form, using Flask.
I wrote below the simplified code of the html:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset=...
0
votes
1
answer
30
views
How do I submit two different values with a single button in the form?
I have a form that allows users to change their data (name, surname, display name etc ..). With the "save settings" button, this data is updated correctly.
Now I'm trying to include a new ...
0
votes
0
answers
7
views
reCaptcha v2 not quite getting the job done on HTML forms
I had a programmer create an HTML form with processor that I can duplicate and add reCaptcha to. Unfortunately reCaptcha no longer seems to be preventing spam and I'm getting maybe 20 submissions a ...
0
votes
0
answers
14
views
ConcurrentModificationException on a jsp form with multiple model attributes. (Spring)
I have a chain of java classes related to each other, due to my goal of producing an xml file. I need to assign values to attributes of those classes via webapp.
When trying to create a jsp form I ...
1
vote
1
answer
19
views
Formik ErrorMessage not displaying for the first time
I am using Formik forms in react project. I have the following code inside <Formik><Form>
<Field name="zip" validate={some validation is here}>
<input {......
0
votes
1
answer
34
views
Yup validation with dynamic keys in an object
I have an object for validation that might look like this:
const exampleObject = {
foo: {
entries: {
'785bac64-c6ce-4878-bfb8-9cf5b32e2438': {
name: 'First object',
},
'...
0
votes
0
answers
14
views
How do make my daterangepicker scrollable?
I have an input field for a date range picker (the first input field from the top) as seen below:
<input type="text" name="daterange" id="dateRangeInput" class="...
0
votes
1
answer
27
views
Creating an attachment in SharePoint from Microsoft Forms Response - Get File Content using path not working
I am trying to add contents and an attachment from a Form to a SharePoint list. However, the Get file content using path action in my flow is failing. The error I'm receiving says "Unauthorized&...
0
votes
0
answers
19
views
Symfony6 - Forms and ManyToMany relationship, what field to use?
I'm using Symfony 6.
I have 2 entities 'Article' and 'Picture', with a ManyToMany relationship between both (ie : an Article can have several Picture(s), a Picture can belong to several Article(s));
I ...
-1
votes
0
answers
13
views
Input Value Attribute Not Showing In Search Bar (Custom Coded - Oxygen Builder - WordPress)
<form role="search" method="get" id="searchform" class="searchform" action="/search/">
<input type="text" name="q" id=...
-3
votes
0
answers
29
views
How to create a X,Y Chart by C# windows form? [closed]
I want to create a x y chart by C# windows form but i didn't know how to start so what are the steps to get it done to work on it?
x y values should be chosen by the user.
enter link description here
...
0
votes
0
answers
12
views
Android HTML form in local
I have to develop a user registration form that is going to run on an Android tablet locally, without internet connection.
The idea I have is to make the submit using Javascript and store the user ...
0
votes
0
answers
13
views
Display webhook response after submitting elementor form
I have a form in elementor that sends the input to a webhook by make.
everything works fine, but my issue is that i need to display what response it gives back but i cant figure out how without using ...
0
votes
0
answers
18
views
Forminator wrap form data to xml after submission and add error handling
I've created little script that wrap forminator form submission data to xml for third-party API after submission, but I need to figure out how to show possible error messages e.g. if API connection ...