Joget DX 8 Stable Released
The stable release for Joget DX 8 is now available, with a focus on UX and Governance.
Before entering search filter.
After entering search filter.
To start, choose the desired filters for the datalist builder and make sure to identify the URL Request Parameter of the mandatory filter, which in this case is Title.
Now that we have set up the app, we can now proceed to set the Javascript for the mandatory filter.
<script> $(document).ready(function(){ // Filter form filters = $("#filters_test"); // Filter ID title = $("#d-49700-fn_title"); // Need to give a small delay to allow the page to fully load setTimeout(function(){ // Submit button btn = filters.find(".waves-button-input")[0]; btn.onclick = function(event){ if(title.val() == ''){ alert("Title must be designated"); event.preventDefault(); } }; },250); // Increase this value to >1000 if script doesnt run properly }) </script>