Cambio de la expresion regular para permitir el ingreso del simbolo '+' en un campo tipo texto con validacion email. Se agrego tambien una validacion para permitir el ingreso de dicho simbolo por teclado tomando en cuenta si valor ascii.
- Impresion de Procesos.
- Problema:
Cuando se inicia un caso y se quiere imprimir el dynaform hacemos click en el icono "Print form", luego nos aparece
una ventana donde se muestra lo que se va a imprimir, normalmente al iniciar un nuevo caso, nos nuestra la hoja de
impresion vacia, ya que no se han guardado los datos en la Base de Datos, en otros casos muestra la hoja de impresion
con datos.
Cuando se inicia un caso y se llena datos en el dynaform y se hace click en el icono "Print form", los datos introducidos
no se muestran en la hoja de impresion.
Solucion:
Se agrega un nuevo metodo el cual permite validar con un "Confirm", cuando se quiera imprimir un dynaform al hacer click
en "Cancel" en la hoja de impresion se mostrara vacia tal cual se tenia inicialmente, al hacer click en "Accept" se guardara
los datos y en la hoja de impresion aparecera los datos.
Se agrego el siguiente metodo en el archivo "form.js":
function dynaFormPrint(..., ..., .., .., ...)
{
...
if (dynaFormChanged(frm)) {
...
new leimnud.module.app.confirm().make({
label: _("ID_SAVE_DYNAFORM_INFORMATION_BEFORE_PRINTING"),
action: function ()
{ ...
},
cancel: function()
{ ...
}
});
}
}
- Impresion de Procesos.
- Problema:
Cuando se inicia un caso y se quiere imprimir el dynaform hacemos click en el icono "Print form", luego nos aparece
una ventana donde se muestra lo que se va a imprimir, normalmente al iniciar un nuevo caso, nos nuestra la hoja de
impresion vacia, ya que no se han guardado los datos en la Base de Datos, en otros casos muestra la hoja de impresion
con datos.
Cuando se inicia un caso y se llena datos en el dynaform y se hace click en el icono "Print form", los datos introducidos
no se muestran en la hoja de impresion.
Solucion:
Se agrega un nuevo metodo el cual permite validar con un "Confirm", cuando se quiera imprimir un dynaform al hacer click
en "Cancel" en la hoja de impresion se mostrara vacia tal cual se tenia inicialmente, al hacer click en "Accept" se guardara
los datos y en la hoja de impresion aparecera los datos.
Se agrego el siguiente metodo en el archivo "form.js":
function dynaFormPrint(..., ..., .., .., ...)
{
...
if (dynaFormChanged(frm)) {
...
new leimnud.module.app.confirm().make({
label: _("ID_SAVE_DYNAFORM_INFORMATION_BEFORE_PRINTING"),
action: function ()
{ ...
},
cancel: function()
{ ...
}
});
}
}
Disponible para la version 2.5.2
- Impresion de Procesos.
- Problema:
Cuando se inicia un caso y se quiere imprimir el dynaform hacemos click en el icono "Print form", luego nos aparece
una ventana donde se muestra lo que se va a imprimir, normalmente al iniciar un nuevo caso, nos nuestra la hoja de
impresion vacia, ya que no se han guardado los datos en la Base de Datos, en otros casos muestra la hoja de impresion
con datos.
Cuando se inicia un caso y se llena datos en el dynaform y se hace click en el icono "Print form", los datos introducidos
no se muestran en la hoja de impresion.
Solucion:
Se agrega un nuevo metodo el cual permite validar con un "Confirm", cuando se quiera imprimir un dynaform al hacer click
en "Cancel" en la hoja de impresion se mostrara vacia tal cual se tenia inicialmente, al hacer click en "Accept" se guardara
los datos y en la hoja de impresion aparecera los datos.
Se agrego el siguiente metodo en el archivo "form.js":
function dynaFormPrint(..., ..., ...)
{ ...
if (flagRequiredField == 1) {
...
new leimnud.module.app.confirm().make({
label: _("ID_DYNAFORM_SAVE_CHANGES"),
action: function ()
{ ...
},
cancel: function()
{ ...
}
});
}
}
- SQL doesn't work in GRID - Text-Area fields.
- Problema:
Al crear una dependencia entre un Dropdown y Textarea en un grid, al añrlo a un Dynaform y ejecutar el caso,
la dependiencia no funcionaba, al seleccionar una opcion del Dropdown en el textarea no se mostraba ningun valor,
y al adicionar mas filas igual no funcionaba.
Solucion:
El problema es el siguiente: en la clase "class XmlForm_Field_Textarea" en su metodo "renderGrid" no estaba definido
variables de importancia y seteo de las mismas, se completo las variables faltantes.
Otro de los problemas que ocasionaba esta dificultad estaba en el archivo JavaScript en el metodo "updateDepententFields"
se agrego una validacion cuando es un campo de tipo "textarea", esto porque no se podia utilizar el metodo "G_TextArea"
que tambien le faltaba codigo, colocando este codigo faltante tampoco funcionaba.
Al crear una dependencia entre un Dropdown y Textarea en un grid la añrlo a un Dynaform, y ejecutar el caso,
dependiencia funciona correctamente.
Se agrego el siguiente codigo en la clase "class XmlForm_Field_Textarea" en el metodo "renderGrid":
...
$this->executeSQL($owner, $r);
if (isset($this->sqlOption)) {
$firstElement = key($this->sqlOption);
}
if (isset($firstElement)) {
$v = $firstElement;
}
$arrayOptions[$r] = $v;
...
$this->options = $arrayOptions;
...
Disponible para la version 2.5.2
- El bug se debe a un cambio originado para la validacion de los botones submit (evitar que se haga submit 2 veces)
- Se agregaron las validaciones correspondientes para que no de problemas con la nueva validacion
- Los campos requeridos que aceptan caracteres alfanumericos, no validan los espacios.
- Problema resuelto, en los campos requeridos de tipo alfanumericos, se validan los espacios en blanco si son
ingresados como unico valor en el campo.
* Available from version ProcessMaker-2.5.1-testing.2
- Los botones tipo SUBMIT de los formularios, no llegan en el array del POST.
- Problema resuelto, los botones tipo Submit ahora son enviados con el formulario.
* Available from version ProcessMaker-2.0.47 (2.5.1)
- Use another variable name, like __dynaformSVal__, __usernameLogged__ to prevent that someone overwrite the value.
- Rename variables to avoid duplicates.
- New feature, add subtitles inside a drop-down
- Solved problem, added grouping elements in DropDowns
- If a DropDown has enabled optgroup, an example with SQL would be the following:
(SELECT 'optgroup1' AS UID, 'Users' AS NAME)
UNION
(SELECT USR.USR_UID AS UID, USR.USR_USERNAME AS NAME
FROM USERS AS USR
WHERE USR.USR_USERNAME <> '' AND USR.USR_USERNAME LIKE 'u%'
)
UNION
(SELECT 'optgroup2' AS UID, 'Countries' AS NAME)
UNION
(SELECT COUNTRY.IC_UID AS UID, COUNTRY.IC_NAME AS NAME
FROM ISO_COUNTRY AS COUNTRY
WHERE COUNTRY.IC_NAME LIKE 'b%'
)
* Available from version ProcessMaker-2.0.47 (2.5.1)
- Problem with negative character in masks
- Solved problem with negative character in masks, if the negative
character is not in the same mask is accepted data input by keyboard
* Available from version ProcessMaker-2.0.46
- Problem in dependent fields with suggest field in grids
- Solved problem in dependent fields with suggest field in grids
- The QA team should test with (in grids):
suggest -> suggest -> suggest
suggest -> dropdown -> suggest
dropdown -> suggest -> suggest
dropdown -> suggest -> dropdown
text -> suggest -> suggest
text -> suggest -> text
* Browsers IE7, IE8, IE9, Firefox and Chrome
* Available from version ProcessMaker-2.0.46
- Problem in mask for dates fields
- Solved problem
- The possible values ..for the masks are in "Masks List" this in the
field properties. The %D in the mask is not a correct value for a mask
* Available from version ProcessMaker-2.0.46
- Validation "Email" in text field, can't read the character "-"
- To press key SUPR, added the character "."
- Solved problem, the validation now support character "-"
- Solved problem with key SUPR in validation "Email"
* Available from version ProcessMaker-2.0.46
- New feature
- Request that the address and label of link fields in DynaForms can be
set and saved using case variables
- Populate links in a grid via trigger
- Added this new funcionality
- Take into account the following (examples):
> Triggers
* Populate a link field
@@MyLink = "http://www.php.net";
@@MyLink_label = "Read about PHP";
* Populate links in a grid
@=MYGRID = array();
$i = 1;
$rs = $stmt->executeQuery("SELECT USR_USERNAME FROM USERS", ResultSet::FETCHMODE_ASSOC);
while ($rs->next()) {
$row = $rs->getRow();
@=MYGRID[$i] = array(
"MyField" => $row["USR_USERNAME"],
"MyLink" => "http://www.php.net",
"MyLink_label" => "Read about PHP, $i"
);
$i = $i + 1;
}
> JavaScript, populate a link field:
getField("MyLink").href = "http://www.php.net";
getField("MyLink").innerHTML = "Read about PHP";
* Available from version 2.0.46
- Grids in view mode displays the sum not properly
- Problem solved, improved SUM and AVG functions in grids
- It improves the visualization of the web page header, only for IE
* Available from version 2.0.45
- Not taken into account the attribute "Decimal Separator" for the
execution of a formula in master DynaForms
- When entering data in a Currency/Percentage field is added spaces
at the beginning (when the field is in a formula)
- Problem solved, has joined the attribute "Decimal Separator" to
evaluate the formula
- It has rewritten the algorithm for the formula evaluation
* Available from version 2.0.44
- SUM and AVG functions does not work correctly in Grids
- No one takes into account the attribute "Decimal Separator"
- Problem solved, SUM and AVG functions now take into account the
attribute "Decimal Separator"
* Available from version 2.0.44
- New feature, change SUGGEST field behavior for the insertion of
a new record
- SUGGEST displays a temporary message to be placed in this field
- SUGGEST when you insert a new record to the database, it displays
a popup message indicating the insertion
- SUGGEST this field allows the insertion of a new record by pressing
the key Intro
- Is improved SUGGEST field behavior (when there are results, and when
there are none)
- Problem solved by adding the SUGGEST field in the Dynaform (in the
editor DynaForms) this in IE, when ckeck the option "Store new entry"
- Problem solved in method "String.prototype.trim" (JavaScript)
- Style attribute defined in XML Dynaform for a field, not reflected in
the grid this in IE
- Solved the problem, now we consider the attributes defined in the XML