I have a form with three input elements. I want to run my validate function when the last input element is not equal to null. Any ideas please. Here's the code
I am trying to do the discounted price logic Discount price should have the default value of actual price , because 0% discount means the discount price is same
I'm learning React and starting with handling state in a CRUD form via the useState Hook. Something like this: const [data, setData] = useState({}); where data
Our team is currently implementing some UI/UX improvements to standardize how a user saves/cancels any changes made while editing data in our app; and I've got
Apologies I am a newbie, ill try to explain as best as I can. Im creating a game for a university assignment. My game is a maths game that asks the user maths q
I have a main window with two buttons (this is a simplified description). A click on a button opens another form. Both buttons open different forms. I'd like to
const AddItem = () => { const [user] = useAuthState(auth); const navigate = useNavigate(); const handleAddCar = (e) => { e.preventDefault()
I'm having a conflict when setting the scroll-behaviour:smooth attribute on the html tag when there are form fields on the page using HTML5 Validation. You can
I have a simple HTML form that has a dropdown. <form method="get"> <select name="category[]" multiple class="form-control"> <option v
I have a simple HTML form that has a dropdown. <form method="get"> <select name="category[]" multiple class="form-control"> <option v
In my form's view I wonder what if I don't add product_form.save method in the code below and what if I add that: def form_valid(self, form): product_fo
In my form's view I wonder what if I don't add product_form.save method in the code below and what if I add that: def form_valid(self, form): product_fo
I'm currently developing my first real project for a client with NextJS and MongoDB and I'm having problems uploading images. I'm working with Cloudinary but it
I have a drupal form, which contains a title, username, email, ... and I want the user to be able to insert some values and submit the data. My problem now is t
I have a dropdown that the user uses to switch between different Angular forms. HTML <form [formGroup]="evalForm"> <mat-form-field appearance="fill
I have an HTML form in a JSP file in my WebContent/jsps folder. I have a servlet class servlet.java in my default package in src folder. In my web.xml it is map
I am trying to build a website where you can upload a video (this already works). But when submitting a wrong file format, the Flask-WTF form closes the modal.
I'm trying to build quiz app based on Cornell Notes, where the keywords will be the question with 4 answers (one correct answer and three random from other keys
There is something I can not seem to find documentation on: I have this form with multiple buttons. The buttons have their own actions associated with them and
I'm trying to have a form field with mm/yyyy as an input. Can you help me in suggesting a way to have this date format ?