Skip to main content

All Questions

0 votes
0 answers
1k views

How can I disable a specific input field form bootstrap 5 validation script

I will try to make it short as possible. I have built a signup form for my project using bootstrap 5 validators and I'm facing a problem with the retype password input, if the user writes a password ...
Abdullah Alharthi's user avatar
1 vote
0 answers
927 views

How to validate a button step form with nav tabs and bootstrap validation

I've got some kind of "step form" with nav tabs and button navigation between tabs. I want to prevent the tabs from changing to the next one if the user has not completed the required inputs ...
Camz's user avatar
  • 11
1 vote
0 answers
20 views

How to Send Form Data to My Email using Form Script

I have this webpage where there is this form code which gets submitted successfully but not sure where it is sending the data. I want to change it to send the data to my email instead. I am no ...
yuvi707's user avatar
  • 57
1 vote
1 answer
57 views

Change Value of two inpu Fields in a Formular with Javascribt or jquery

I have a form with 2 input fields of the type date (date1 and date2). I have different buttons. If you click on these buttons, values ​​should be entered in the form fields. When the button is clicked,...
fschneider's user avatar
0 votes
2 answers
751 views

Custom Bootstrap validation on form element

I am collecting an ABN (Australian Business Number) on a registration form. I have written some javascript that does validation based on the ABN validation rule here: function validateABN (abnNumber) ...
Website Builder's user avatar
0 votes
2 answers
114 views

What is the best way to implement Django 3 Modal forms?

I appreciate it if somebody gives the main idea of how to handle submission/retrieval form implementation in Bootstrap modals. I saw many examples on google but it is still ambiguous for me. Why it is ...
Mahdi's user avatar
  • 1,007
0 votes
0 answers
53 views

How add existent input text to a dynamically created form with jQuery?

I have a "static" text input element that not belongs to any form. I wrote a Bootstrap 4 Popover with a form inside, this form is added to DOM when the popover is shown and I validate it with ...
icolumbro's user avatar
  • 113
0 votes
1 answer
119 views

why the jQuery click event does not work multiple times in my multi-step form?

I use laravel blade and jquery , I want to make a form with several steps , everything works except the next button, when i use it in the first fieldset it's okay, but in the second fieldset it does ...
KEVIN DLL's user avatar
0 votes
0 answers
1k views

How to trigger default Bootstrap 4 form validation error message from custom external script

In our contact form, I'm trying to only allow submissions from email addresses from the United States, since we can only do business in that one country. How can I trigger the default error message ...
user3120861's user avatar
0 votes
0 answers
66 views

How do I prevent <input type="submit"> from submitting my form until a criteria has been met?

I have a form that the user fills out, then they press a "Review Fields" button. This button validates the fields by using jQuery Validation (https://jqueryvalidation.org/documentation/) and opens a ...
Adam Isaacs's user avatar
0 votes
0 answers
69 views

Referencing the is-invalid and :invalid pseudoclass of bootstrap form validation with jQuery to to run code only when form is valid

Here is the code $("#enterform").on("click", function (event) { if ((($(".was-validated").children().hasClass(":invalid"))===false)&&(($(".was-validated").children().hasClass(".is-...
Kmopper's user avatar
0 votes
2 answers
79 views

Is my javascript is connected to HTML correctly and triggering?

I have my form setup with id="contactForm". When I write $("#contactForm").submit(function(event){...} in the corresponding JS file, nothing in it even seems to be triggering. Whats wrong here? $...
Noah's user avatar
  • 1
0 votes
1 answer
758 views

Single column form layout for mobile, double column for desktop

I have a form that has a two column layout. In each column I have a label with the input text element directly under the label. When I view on mobile, it is responsive, but it just makes the input ...
Dave Phillips's user avatar
0 votes
2 answers
114 views

Bootstrap Modal not working after validaion, but alert works

I have a preview button in bootstrap 4. I want to show validation error if the form is not valid and show a modal window if the form is valid. I have this code. $("#previewBtn").click(function(...
Anders's user avatar
  • 11
2 votes
1 answer
6k views

bootstrap validate input type file not working

I'm having trouble getting a bootstrap validation for an input type of 'file' to work. The form is validating even if I do not select a file to upload. It is supposed to require at least one file, ...
Dave Phillips's user avatar

15 30 50 per page
1
2 3 4 5
20