skip to Main Content

Validation in Flutter

I want to know how to make a validation in flutter where IF a TextFormField is filled then when you hit "send" then it doesn't let you go to the next section until all other textformfields must be filled, BUT…

VIEW QUESTION

How do I stop duplicate content from appearing in my view when using laravel and ajax?

Here is my view(Ajax) $('#basicInfoForm').submit(function(e){ e.preventDefault(); let formData = new FormData(this); $.ajax({ type: "POST", url: "{{route('profile.basic_info')}}", dataType: 'json', data: formData, contentType: false, processData: false, beforeSend:function(){ $("#fountainG").fadeIn(1000); }, success: function(response){ $.each(response.errors, function (key, value) { $("#fountainG").fadeOut(1000); $('.alert-danger').fadeIn(2000); $('.alert-danger').append('<span>'+value+'</span>'+'<br>'); setTimeout(function() { $('.alert-danger').fadeOut(4000,…

VIEW QUESTION
Back To Top
Search