Hi Marcelo,
Thanks for the fix. I shall test it the first tomorrow as I need to deploy an
implementation of Eventum. I shall update you accordingly.
Thanks and rgds,
Watson
-----Original Message-----
From: Marcelo Coscia [mailto:marcelo_coscia@stripped]
Sent: Thu, 24-Sep-2009 16:29
To: eventum-users@stripped
Subject: Issue-discussion: Bug in Mandatory Custom fields
Hi,
I resolved a problem related to "Bug in Mandatory Custom fields" (with
multiple combo and combo)
In the file: js\validation.js
Add the two lines at the function : checkCustomFields
function checkCustomFields(f)
{
// requires the variable custom_fields_info to be set
for (var i = 0; i < custom_fields_info.length; i++) {
var info = custom_fields_info[i];
var field = $('#custom_field_' + info.id);
+ if (field.val()!=null) {
if (((field.val().length < 1) || (field.val() == -1)) &&
(field.parent().parent().css('display') == 'none')) {
continue;
}
+ }
I expect to help somebody...
regards
Marcelo
--
Eventum Users Mailing List
For list archives: http://lists.mysql.com/eventum-users
To unsubscribe: http://lists.mysql.com/eventum-users?unsub=1