You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

1. Add a Custom HTML element into the form and insert the code below.

$(function(){
 
    //customize your hints here by specifying form element ID on the left and message on the right
    messages = { 'year' : 'Key in a suitable title',
                'budget' : 'Extra note goes here'};
      
    for (const [key, value] of Object.entries(messages)) {
          FormUtil.getField(key).attr("data-toggle", "tooltip").attr("title", value);
    }
      
    $('[data-toggle="tooltip"]').tooltip();
     
});




  • No labels