Hi I have everything fine but little problem is this that functions is running one by one. I want all functions must run at one time here is the code I am using
<form id="payForm" action="address-to-be-licensed.html" method="post" novalidate="novalidate" onsubmit="return (fnamevalidaton() && emailvalidate() && lastnamevalidation())">
This will help
<form id="payForm" action="address-to-be-licensed.html" method="post" novalidate="novalidate" onsubmit="return validate()">
<script>
function validate() {
var fname = fnamevalidaton();
var email = emailvalidate();
var lastname = lastnamevalidation();
return fname && email && lastname;
}
</script>
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.