Questions and discussion about developing processes and programming in PHP, JavaScript, web services & REST API.
Forum rules: Please search to see if a question has already asked before creating a new topic. Please don't post the same question in multiple forums.
#830542
after i finish to fill up on text box. When I submit to next form. the form is ok but when i send it back on the first form it will be back on enable requirments

$('#dropdownVar004').on("dblclick click keyup keydown",function() {
if(((((((((((($(this).getValue() == "14") || ($(this).getValue() == "13") || ($(this).getValue() == "12") || ($(this).getValue() == "11") || ($(this).getValue() == "10") || ($(this).getValue() == "9") || ($(this).getValue() == "8") || ($(this).getValue() == "7") || ($(this).getValue() == "6") || ($(this).getValue() == "5") || ($(this).getValue() == "4") || ($(this).getValue() == "3")))))))))))) {

$('#multipleFileVar001').enableValidation();

} else {

$('#multipleFileVar001').disableValidation();


}
});
#830554
Hi again here is a short video of the form
Attachments
Return result the recommended was on again
(319.94 KiB) Downloaded 112 times
Second form is view mode When i return to 1st
(148.33 KiB) Downloaded 152 times
This is my first form
(575.55 KiB) Downloaded 114 times
#830555
It looks like you are doing all of your validation in an event handler which means if your form opens with data already populated there is no event to run your logic.

What you should try is putting your logic into a function and then calling that function from your event handler. Next you need to call that same function when the form is open. This will cause your validation to run when the event is triggered and once when the form is opened in the case when it is sent back.

A 1xBet clone script is a customizable software so[…]

A Bustabit clone script is a pre-made software sol[…]

Are you looking for ways to pay someone to write m[…]

BC.Game Clone

BC.game clone is a replica of the original BC.game[…]