
{"id":370,"date":"2017-06-15T12:30:37","date_gmt":"2017-06-15T02:30:37","guid":{"rendered":"http:\/\/bakke.online\/?p=370"},"modified":"2022-01-22T20:10:55","modified_gmt":"2022-01-22T09:10:55","slug":"tooltipfield-method-not-working","status":"publish","type":"post","link":"https:\/\/www.bakke.online\/index.php\/2017\/06\/15\/tooltipfield-method-not-working\/","title":{"rendered":"toolTipField() method not working"},"content":{"rendered":"<p>According to best practices, data-related code that accesses data from the database or otherwise would benefit multiple forms should be placed on the table. \u00a0Examples of this are display methods, validations\u00a0and business logic to be executed on inserts, updates, deletes.<\/p>\n<p>It would be logical to think tool tips would be included as well, and there is a record method called toolTipField() which can be overridden in your table.<\/p>\n<p>Only problem is, it&#8217;s not working. \u00a0(At least not in 2012R3) \u00a0The code doesn&#8217;t even get called.<\/p>\n<p>To work around it, add the tool tip code directly to your forms instead. \u00a0Not best practice according to the book, but what works will always trump what doesn&#8217;t&#8230;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>According to best practices, data-related code that accesses data from the database or otherwise would benefit multiple forms should be placed on the table. \u00a0Examples of this are display methods, validations\u00a0and business logic to be executed on inserts, updates, deletes. It would be logical to think tool tips would be included as well, and there &hellip; <a href=\"https:\/\/www.bakke.online\/index.php\/2017\/06\/15\/tooltipfield-method-not-working\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;toolTipField() method not working&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4,1],"tags":[29,3],"class_list":["post-370","post","type-post","status-publish","format-standard","hentry","category-dynamics-ax","category-uncategorized","tag-bugs","tag-dynamics-ax"],"_links":{"self":[{"href":"https:\/\/www.bakke.online\/index.php\/wp-json\/wp\/v2\/posts\/370","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.bakke.online\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.bakke.online\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.bakke.online\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.bakke.online\/index.php\/wp-json\/wp\/v2\/comments?post=370"}],"version-history":[{"count":1,"href":"https:\/\/www.bakke.online\/index.php\/wp-json\/wp\/v2\/posts\/370\/revisions"}],"predecessor-version":[{"id":1333,"href":"https:\/\/www.bakke.online\/index.php\/wp-json\/wp\/v2\/posts\/370\/revisions\/1333"}],"wp:attachment":[{"href":"https:\/\/www.bakke.online\/index.php\/wp-json\/wp\/v2\/media?parent=370"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.bakke.online\/index.php\/wp-json\/wp\/v2\/categories?post=370"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.bakke.online\/index.php\/wp-json\/wp\/v2\/tags?post=370"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}