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.

In the rapidly evolving world of online sports be[…]

STEPN integrates social networking and games that […]

Cenforce 150 is a medication used to cope with a c[…]

What's SAP FICO?

Trustworthy and skill-building, each of these actu[…]