Javascript won’t work properly with my form

So I am currently doing a project for our class, in which I have to display something that I previously stored in a database on a separate page. I chose to display every dataset, as it is the easiest …

Using jquery code to edit a single list item using the original input box?

I’m finding this code extremely problematic, as it will not edit only a single list item (the item that is clicked), but will instead edit all list items at once to the same input. Any advice is …

Getting TypeError: Cannot read property ‘name’ of undefined, while posting the form – node.js

I am building a node Js project and i am saving the values of form to a mongoDB database. Despite of trying i couldn’t find what is causing this error. Error is at router.post function on 3rd line. …

Antd 4 Checkbox doesn’t have value after form submit

What I have I have an Ant Design 4 form with a checkbox in it: const Example = ({ initialValues, onSave }) => { const [form] = Form.useForm(); useEffect(() => { form.resetFields(); }, …

How do I sum all checkboxes in javascript / jquery and how can it be dynamically displayed in a bootstrap label?

I am trying to get it dynamic but I just can’t get it done. The label must add up all checkboxes and if a checkbox is checked or unchecked the total count number must be up or down. If one checkbox is …

how to alert Error Messagen in Marketing form

i have a Marketing form and i need to change the display error message see Picture. my form : and I want That my error message be like This: here is my Code :

Can’t perform a React state update on an unmounted component with fetch POST method

I get this warning when i use my fetch post method how can I cancel all subscriptions and asynchronous tasks in a useEffect cleanup function.With my Post methods. Warning: Can’t perform a React …

I want to print the data the user has submitted in html form

I want to print the user’s submitted data after he click on the “Submit Your Entries” button and display a massage for him says: Thanks ” Name” for your comments.. Your e-mail: …

toggle (enable/disable) between two divs in user form

I’m new in JavaScript (not familiar yet with jquery) and I’m trying to insert some logic into my form. I want to be able to give the user the option to choose between two options (in my example: …

I am having a problem pulling the user’s input and writing it into a page with HTML and JS. Are you able to point out what I am doing wrong here?

Good morning! I am relatively new to the programming game and have just started on my first JS project. I have decided to do a pretty basic budget app. I am having a hard time writing the user input …