I have a small question, I am yet a beginner with Java Script and I don’t have that much of knowledge with it. My question is: I need to create a fake donation form. The form contains fields where the user can write his data like his phone number, donate amount etc… and when the user hit submit his donate
Tag: forms
How to get data form Same with many elements as separate set for each input field?
I have a with 3 tags as given below; I enter record of 2 persons. I select 2 images for 1st person and 3 images for 2nd person. When I submit form then I receive data as following; Problem is, How can I identify which images belongs to which person. I need data as separate set for each person as
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 conditional logic on React final form. From this example, the single conditional logic code is given : However, I don’t know how to do a double conditional one that
issue in dynamic Form List with collapse
I am stuck on implementing dynamic form submit. Here is my code. I am receiving data from backend And trying to show that data to user in Collapse, and in collapse there are 2 forms (first one is for date, second one for money) that user can edit. Also I have add button which allow user to add new collapse
Jmeter – Sending forms with file through JavaScript
I have a problem with sending form with file through JavaScript using Jmeter. It simply does not succeeded. Unfortunately I do not have any logs from that situation. But when I am sending form without file parameter through JavaScript using Jmeter it succeeded. Once I add parameter with a file it does not. Tried to check option in Jmeter Use
React dynamic form input
I have a React form with dynamic input fields that a user can add and remove input fields. When i submit the form, i log the values from each input in an array. The problem is that i can’t type continuously in a input. When i type in input, i can type only one character and it focus out. How
HTML + JS: Clear File Input on button click
I want to tell my backend, I deleted the assigned file it already loaded: where the onclick function looks like: my problem now is: I can differentiate the request in the browser Network tab whether I do nothing or hit the delete button. Both times the input field does not show up. I wanted to add ipt.value=”DELETE” so I can
How to get value from radio form in reactJS
I Have this form in one of my react components I then have an onclick function on a button. I want to get the value of the radio form in my function. How do I do that? Is there a way to do it with the useRef hook? Note: I am using functional components so any solution with class components
React form how to get user data based on a toggle on/off
I have a form in React JS with one toggle/switch. If toggle/switch is on, then two inputs appear in the screen. So i want to get user data if the user types in inputs and the toggle/switch is on and stays on. So if the user types in inputs but he toggles/switches again to off then input values get reset
how to post data using AJAX with validation using bootstrap 5?
How can I post ajax with form validation in bootstrap 5 ? I have a big problem with this. Can somebody help me? Answer The above starter code provided by bootstrap documentation uses the checkValidity() method of JavaScript Constraint Validation API to validate the form. The HTMLInputElement.checkValidity() method returns a boolean value which indicates validity of the value of the