Program for editing and setting your own CSS code, JS code or setting HTML hreader for Form,
You have pre prepared next JS functions you can use. They are stored in general JS script where the detailed description of functions is.
//Script for Form
addSpinner();
initRowStatus();
insertDivBreaks();
hideEmptyBlocks();
removeEmptyBlocks();
validateNumberFields();
showErrorFields();
showInfoFields();
showMandatoryFields();
//Scripts on Block
transformVerticalTable(tableName, step);
* tabelName - block name _TABLE (B15_TABLE)
insertDivBreak(divId);
* divId - block name + _DIV (BLOCK_NAME_DIV)
function setShowHideDiv(divId, hideDefault=false );
* divId - block name + _DIV (BLOCK_NAME_DIV)
//Scripts on Field
findRowNum(fieldName);
* fieldName - name of field
CheckFieldValue(pid , pname);
* pid - element id
* pname - element name
CheckFieldMandatory(pid , pname);
* pid - element id
* pname - element name
addDynamicLOV(vLOV, vLOVcond, psource_object, psource_value, ptarget_name);
* vLOV - code name of the look up - LOV. Starsts with lov$.... (Create LOV in Links-LOV section)
* vLOVcond - field name in LOV that you use in conntition statement - where ...
* psource_object - object where you change LOV values - use object this
* psource_value - selected value of LOV. For init you use "#each_val#"
* ptarget_name - name of the object where new LOV is set to
Sample of screens:



Go back to [Documentation]