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.
By HeshanKaru1994
#826075
Have 2 buttons for both proceed and cancel events and all the validations are written for proceed button click. But if we click on the cancel button still unable to cancel the case with mandatory fields.
By stevensi1018
#826076
HeshanKaru1994 wrote: Wed Aug 21, 2019 7:59 am Have 2 buttons for both proceed and cancel events and all the validations are written for proceed button click. But if we click on the cancel button still unable to cancel the case with mandatory fields.
You can use this code in javascript to remove the validation:
Code: Select all
$("#ID").disableValidation(); //ID is the ID of your field
So, in your onClick button function, just add this line for every field needed

Get an instant solution to move emails to MBOX for[…]

Most Demanding OST to PST Converter

The most demanding OST to PST Converter is TrijaT[…]

Betvisa clone scripts are pre-built software solut[…]

A Bet365 Clone Script is essentially a ready-made […]