Spaces:
Sleeping
Sleeping
processmaker-community / processmaker-files /workflow /engine /xmlform /processes /processes_availableProcessesUserOptions.xml
| <dynaForm | |
| type="xmlmenu" | |
| > | |
| <PAGED_TABLE_ID type="private"/> | |
| <PAGED_TABLE_FAST_SEARCH type="FastSearch" label="@G::LoadTranslation(ID_SEARCH)"/> | |
| <JS type="javascript"><![CDATA[ | |
| add_placeholder("form[PAGED_TABLE_FAST_SEARCH]","@G::LoadTranslation(ID_EMPTY_SEARCH)"); | |
| function add_placeholder (id, placeholder){ | |
| var el = document.getElementById(id); | |
| el.placeholder = placeholder; | |
| el.onfocus = function () { | |
| if(this.value == this.placeholder) { | |
| this.value = ''; | |
| el.style.cssText = ''; | |
| } | |
| }; | |
| el.onblur = function () { | |
| if(this.value.length == 0) { | |
| this.value = this.placeholder; | |
| el.style.cssText = 'color:#A9A9A9;'; | |
| } | |
| }; | |
| el.onblur(); | |
| } | |
| ]]></JS> | |
| </dynaForm> |