Joget DX 8 Stable Released
The stable release for Joget DX 8 is now available, with a focus on UX and Governance.
...
Use the following code to incorporate jQuery Tooltip into the form. Add a Custom HTML and add in the following code. Amend accordingly.
Code Block |
---|
<script type="text/javascript"> //customize your hints here by specifying form element ID on the left and message on the right messages = { 'title' : 'Key in a suitable title', 'remark' : 'Extra note goes here'}; //do not modify anything below here. $( document ).tooltip({ items: "input", content: function() { var element = $( this ); if( messages[$(element).attr("name")] ){ return messages[$(element).attr("name")]; }else{ return false; } } }); </script> |
Reference: http://api.jqueryui.com/tooltip/