Questions and discussion about using ProcessMaker: user interface, running cases & functionality
#827166
Hi,
You can use like this code:
Code: Select all
var dyn_uid1 = document.forms[0].id;

function check_form(){
	if($('#my_field').getValue() == 0){
		alert('Enter true data')
		return false;
	}
    
	return true;
}

$("document").ready( function(){
	getFormById(dyn_uid1).setOnSubmit(function(){ return check_form(); });
});
https://pmlearning.info
Thanks
Last edited by programerboy on Wed Apr 07, 2021 1:15 am, edited 1 time in total.
Designer not loading...

Okay after many, many, MANY hours.... I found […]

The Drip casino clone script enables entrepreneurs[…]

Create a cutting-edge crypto sports betting platfo[…]

Betdaq Clone Script is a ready-to-launch solution […]