Category "input"

How can I compare User and password input to a text file?

Heyoo! I'm creating a simple login form using the swing package in java and I am having trouble in checking if the username and password is correct or not. this

pointer events: none; not working on <input type="number"; chrome

i have set the css for the following input element with type number element to pointer events none however if i spam click the exact point where the current val

Asking the user for input until they give a valid response

I am writing a program that accepts user input. #note: Python 2.7 users should use `raw_input`, the equivalent of 3.X's `input` age = int(input("Please enter yo

How can I avoid code duplication in Unity3d?

How can I shorten this code and avoid copying, what do you advise? The method is used to move the camera in space using buttons private void HandleMovementInpu

Unity New Input system click UI elements

My game is a 3D shooter, and the player can shoot if left mouse button is clicked. The problem is that I have also an UI Menu with buttons to restart the game,

ERROR React Native - VirtualizedLists should never be nested inside plain ScrollViews with the same orientation

I'm using a library called PhoneInput from "react-native-phone-number-input." This is the code below: <View> <SafeAreaView style={styles.wr

Have to hit enter twice with fgets() in C?

Good Morning, I'm having an issue with some C code where I am forced to hit enter twice each time input is entered if the length of the input is less than the s

Input not clickable native base, image on top

I am using Input from native base with expo app. I have an input button to select a date via datetimepicker react native library. Upon pressing the input button

How can I sum and average my array in Java

I want to sum and average my array in Java. How can I do that? public class EjerciciosArrays extends javax.swing.JFrame { ArrayList<Double> mi_ar

Using ant design, how can i implement a text area as a search?

I'm trying to create an search input box using antd, but the input box doesnt seem to allow for autosize (when more than one line of text is input, it doesnt ge

Input field caret position problem in react

Hey, everybody. I'm new in web dev. I have a task on react to increase days in first part of string in input field by clicking 'ArrowUp' button. In addition mut

How to create in-app keyboard in android using jetpack compose?

In View system, we can using InputConnection to create in-app keyboard. But in Jetpack compose, i don't know how to do that. Can you help me, please?

bypass input values in GitHub Actions workflow to a terraform variables file

As part of provisioning google cloud resources with GitHub actions using terraform I need to bypass some input values using terraform variables file, the issue

I was making a simple calculator using python but I got stuck in a stage [closed]

Here this is my code, I made many mistakes here but I don't know how to fix all the errors. In this code we need to give a number as an input

How to handle input file validation using html form

I have try to form validation with input type file . When i try to validate attached files missing. I need to again and again upload the files in form. Anyone c

Auto focusing on the gmail input field and then auto-filling it

I've gone through all the links that direct me towards using .focus() and/or auto focus(I don't need auto-focus as my work doesn't involve handling the html). I

Positioning an options menu in MUI TextField select

I am using a MUI TextField component with a select prop, and do not manage to position the options menu below the input field (the menu covers the input field w

Change input button text to Font Awesome icon

I have an input button with text 'Add'. I would like to change the styling so that I can add a Font Awesome icon. How can I achieve this? Here is the fiddle: ht

How to access just the changed data of an 'input' event regardless of text deletion or insertion like pasted or typed or restored text for the latter?

I have a textarea and would like to return the most recent change to the text for use in avia JavaScript function. That would include: Text that is input via ke

HTML text box and button that redirects user to a page of same name not working when <form> is added

Below is a code that redirects people to a page of the same name. For example, if I type in the word 'chocolate' and click 'Submit', the user should be redirect