{"id":493,"date":"2010-11-05T15:03:47","date_gmt":"2010-11-05T15:03:47","guid":{"rendered":"http:\/\/bar-solutions.com\/weblog\/?p=493"},"modified":"2010-11-05T15:03:47","modified_gmt":"2010-11-05T14:03:47","slug":"","status":"publish","type":"post","link":"https:\/\/blog.bar-solutions.com\/?p=493","title":{"rendered":"Dynamic Actions in APEX"},"content":{"rendered":"<p align=\"left\">After visiting the OPP\/APEXPosed conference in Brussels I decided to write a post on how to create a relatively simple dynamic action in APEX. When you are working with password fields your only visual check to see if the entered text in both fields match may be the number of characters entered. Of course you can check for equality on submit but that may be a bit too late for the user.<br \/>\n  <br \/>For this post I will work with a textfield instead of a password field, but both will work the same.<\/p>\n<div align=\"left\">\n<!--more-->\n<\/div>\n<p align=\"left\">First of all we create a page.<a href=\"http:\/\/bar-solutions.com\/weblog\/wp-content\/img\/DynamicActionsInAPEX\/1CreatePage7.jpg\"><img loading=\"lazy\" decoding=\"async\" style=\"border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px\" title=\"\" border=\"0\" alt=\"\" src=\"http:\/\/bar-solutions.com\/weblog\/wp-content\/img\/DynamicActionsInAPEX\/1CreatePage_thumb5.jpg\" width=\"113\" height=\"22\" \/><\/a> <\/p>\n<p>A simple blank page will do. <\/p>\n<p><a href=\"http:\/\/bar-solutions.com\/weblog\/wp-content\/img\/DynamicActionsInAPEX\/2CreatePageChoosePage7.jpg\"><img loading=\"lazy\" decoding=\"async\" style=\"border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; margin-left: 0px; border-left-width: 0px; margin-right: 0px\" title=\"\" border=\"0\" alt=\"\" src=\"http:\/\/bar-solutions.com\/weblog\/wp-content\/img\/DynamicActionsInAPEX\/2CreatePageChoosePage_thumb5.jpg\" width=\"240\" height=\"287\" \/><\/a><\/p>\n<p align=\"left\">Give it a title. <a href=\"http:\/\/bar-solutions.com\/weblog\/wp-content\/img\/DynamicActionsInAPEX\/3CreatePageNumber_n_Alias6.jpg\"><img loading=\"lazy\" decoding=\"async\" style=\"border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; margin-left: 0px; border-left-width: 0px; margin-right: 0px\" title=\"\" border=\"0\" alt=\"\" src=\"http:\/\/bar-solutions.com\/weblog\/wp-content\/img\/DynamicActionsInAPEX\/3CreatePageNumber_n_Alias_thumb4.jpg\" width=\"240\" height=\"105\" \/><\/a><\/p>\n<p align=\"left\">Add a simple HTML region to hold the items.<a href=\"http:\/\/bar-solutions.com\/weblog\/wp-content\/img\/DynamicActionsInAPEX\/4CreatePageName_n_Regions5.jpg\"><img loading=\"lazy\" decoding=\"async\" style=\"border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; margin-left: 0px; border-left-width: 0px; margin-right: 0px\" title=\"\" border=\"0\" alt=\"\" src=\"http:\/\/bar-solutions.com\/weblog\/wp-content\/img\/DynamicActionsInAPEX\/4CreatePageName_n_Regions_thumb3.jpg\" width=\"240\" height=\"191\" \/><\/a><\/p>\n<p align=\"left\">Don\u2019t use tabs (for this demo ;-))<a href=\"http:\/\/bar-solutions.com\/weblog\/wp-content\/img\/DynamicActionsInAPEX\/5CreatePageTabs3.jpg\"><img loading=\"lazy\" decoding=\"async\" style=\"border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px\" title=\"\" border=\"0\" alt=\"\" src=\"http:\/\/bar-solutions.com\/weblog\/wp-content\/img\/DynamicActionsInAPEX\/5CreatePageTabs_thumb1.jpg\" width=\"240\" height=\"111\" \/><\/a> <\/p>\n<p align=\"left\">Review what you just chose:<a href=\"http:\/\/bar-solutions.com\/weblog\/wp-content\/img\/DynamicActionsInAPEX\/6CreatePageConfirmation3.jpg\"><img loading=\"lazy\" decoding=\"async\" style=\"border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px\" title=\"\" border=\"0\" alt=\"\" src=\"http:\/\/bar-solutions.com\/weblog\/wp-content\/img\/DynamicActionsInAPEX\/6CreatePageConfirmation_thumb1.jpg\" width=\"240\" height=\"179\" \/><\/a>&#160; and press Finish. <\/p>\n<p>The page should be created succesfully:<a href=\"http:\/\/bar-solutions.com\/weblog\/wp-content\/img\/DynamicActionsInAPEX\/7CreatePageSuccess3.jpg\"><img loading=\"lazy\" decoding=\"async\" style=\"border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px\" title=\"\" border=\"0\" alt=\"\" src=\"http:\/\/bar-solutions.com\/weblog\/wp-content\/img\/DynamicActionsInAPEX\/7CreatePageSuccess_thumb1.jpg\" width=\"240\" height=\"113\" \/><\/a> <\/p>\n<p>The page rendering part should look something like this:<a href=\"http:\/\/bar-solutions.com\/weblog\/wp-content\/img\/DynamicActionsInAPEX\/8PageRendering3.jpg\"><img loading=\"lazy\" decoding=\"async\" style=\"border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px\" title=\"\" border=\"0\" alt=\"\" src=\"http:\/\/bar-solutions.com\/weblog\/wp-content\/img\/DynamicActionsInAPEX\/8PageRendering_thumb1.jpg\" width=\"240\" height=\"243\" \/><\/a> <\/p>\n<p align=\"left\">When you open the context menu on the region you can choose to create a Page Item:<\/p>\n<p align=\"left\"><a href=\"http:\/\/bar-solutions.com\/weblog\/wp-content\/img\/DynamicActionsInAPEX\/9PageRenderingContextMenu3.jpg\"><img loading=\"lazy\" decoding=\"async\" style=\"border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px\" title=\"\" border=\"0\" alt=\"\" src=\"http:\/\/bar-solutions.com\/weblog\/wp-content\/img\/DynamicActionsInAPEX\/9PageRenderingContextMenu_thumb1.jpg\" width=\"240\" height=\"300\" \/><\/a> <\/p>\n<p align=\"left\">For the demonstration we will choose Text Field (that way what we enter will be visible)<\/p>\n<p align=\"left\"><a href=\"http:\/\/bar-solutions.com\/weblog\/wp-content\/img\/DynamicActionsInAPEX\/10CreateItem6.jpg\"><img loading=\"lazy\" decoding=\"async\" style=\"border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px\" title=\"\" border=\"0\" alt=\"\" src=\"http:\/\/bar-solutions.com\/weblog\/wp-content\/img\/DynamicActionsInAPEX\/10CreateItem_thumb4.jpg\" width=\"276\" height=\"239\" \/><\/a> <\/p>\n<p align=\"left\">Give the item a name:<a href=\"http:\/\/bar-solutions.com\/weblog\/wp-content\/img\/DynamicActionsInAPEX\/11CreateItemA3.jpg\"><img loading=\"lazy\" decoding=\"async\" style=\"border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px\" title=\"\" border=\"0\" alt=\"\" src=\"http:\/\/bar-solutions.com\/weblog\/wp-content\/img\/DynamicActionsInAPEX\/11CreateItemA_thumb1.jpg\" width=\"240\" height=\"109\" \/><\/a> <\/p>\n<p align=\"left\">Give the item a label: <a href=\"http:\/\/bar-solutions.com\/weblog\/wp-content\/img\/DynamicActionsInAPEX\/12CreateItemA3.jpg\"><img loading=\"lazy\" decoding=\"async\" style=\"border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px\" title=\"\" border=\"0\" alt=\"\" src=\"http:\/\/bar-solutions.com\/weblog\/wp-content\/img\/DynamicActionsInAPEX\/12CreateItemA_thumb1.jpg\" width=\"240\" height=\"153\" \/><\/a> <\/p>\n<p align=\"left\">Review the chosen options:<a href=\"http:\/\/bar-solutions.com\/weblog\/wp-content\/img\/DynamicActionsInAPEX\/13CreateItemA4.jpg\"><img loading=\"lazy\" decoding=\"async\" style=\"border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px\" title=\"\" border=\"0\" alt=\"\" src=\"http:\/\/bar-solutions.com\/weblog\/wp-content\/img\/DynamicActionsInAPEX\/13CreateItemA_thumb2.jpg\" width=\"252\" height=\"55\" \/><\/a> <\/p>\n<p align=\"left\">The item doesn\u2019t have to be conditionally displayed so you can just press \u2018Create Item\u2019 here:<a href=\"http:\/\/bar-solutions.com\/weblog\/wp-content\/img\/DynamicActionsInAPEX\/14CreateItemA3.jpg\"><img loading=\"lazy\" decoding=\"async\" style=\"border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px\" title=\"\" border=\"0\" alt=\"\" src=\"http:\/\/bar-solutions.com\/weblog\/wp-content\/img\/DynamicActionsInAPEX\/14CreateItemA_thumb1.jpg\" width=\"240\" height=\"229\" \/><\/a> <\/p>\n<p align=\"left\">Repeat these steps for the second page item:<\/p>\n<p align=\"left\"><a href=\"http:\/\/bar-solutions.com\/weblog\/wp-content\/img\/DynamicActionsInAPEX\/15PageRenderingContextMenu23.jpg\"><img loading=\"lazy\" decoding=\"async\" style=\"border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px\" title=\"\" border=\"0\" alt=\"\" src=\"http:\/\/bar-solutions.com\/weblog\/wp-content\/img\/DynamicActionsInAPEX\/15PageRenderingContextMenu2_thumb1.jpg\" width=\"240\" height=\"271\" \/><\/a>&#160;<a href=\"http:\/\/bar-solutions.com\/weblog\/wp-content\/img\/DynamicActionsInAPEX\/16CreateItem3.jpg\"><img loading=\"lazy\" decoding=\"async\" style=\"border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px\" title=\"\" border=\"0\" alt=\"\" src=\"http:\/\/bar-solutions.com\/weblog\/wp-content\/img\/DynamicActionsInAPEX\/16CreateItem_thumb1.jpg\" width=\"240\" height=\"191\" \/><\/a> <\/p>\n<p align=\"left\"><a href=\"http:\/\/bar-solutions.com\/weblog\/wp-content\/img\/DynamicActionsInAPEX\/17CreateItemB3.jpg\"><img loading=\"lazy\" decoding=\"async\" style=\"border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px\" title=\"\" border=\"0\" alt=\"\" src=\"http:\/\/bar-solutions.com\/weblog\/wp-content\/img\/DynamicActionsInAPEX\/17CreateItemB_thumb1.jpg\" width=\"240\" height=\"109\" \/><\/a>&#160;<a href=\"http:\/\/bar-solutions.com\/weblog\/wp-content\/img\/DynamicActionsInAPEX\/18CreateItemB3.jpg\"><img loading=\"lazy\" decoding=\"async\" style=\"border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px\" title=\"\" border=\"0\" alt=\"\" src=\"http:\/\/bar-solutions.com\/weblog\/wp-content\/img\/DynamicActionsInAPEX\/18CreateItemB_thumb1.jpg\" width=\"240\" height=\"153\" \/><\/a> <\/p>\n<p align=\"left\"><a href=\"http:\/\/bar-solutions.com\/weblog\/wp-content\/img\/DynamicActionsInAPEX\/19CreateItemB3.jpg\"><img loading=\"lazy\" decoding=\"async\" style=\"border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px\" title=\"\" border=\"0\" alt=\"\" src=\"http:\/\/bar-solutions.com\/weblog\/wp-content\/img\/DynamicActionsInAPEX\/19CreateItemB_thumb1.jpg\" width=\"240\" height=\"39\" \/><\/a>&#160;<a href=\"http:\/\/bar-solutions.com\/weblog\/wp-content\/img\/DynamicActionsInAPEX\/20CreateItemB3.jpg\"><img loading=\"lazy\" decoding=\"async\" style=\"border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px\" title=\"\" border=\"0\" alt=\"\" src=\"http:\/\/bar-solutions.com\/weblog\/wp-content\/img\/DynamicActionsInAPEX\/20CreateItemB_thumb1.jpg\" width=\"240\" height=\"229\" \/><\/a> <\/p>\n<p align=\"left\">Now the page rendering portion will look something like this:<br \/>\n  <br \/><a href=\"http:\/\/bar-solutions.com\/weblog\/wp-content\/img\/DynamicActionsInAPEX\/21PageRendering3.jpg\"><img loading=\"lazy\" decoding=\"async\" style=\"border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px\" title=\"\" border=\"0\" alt=\"\" src=\"http:\/\/bar-solutions.com\/weblog\/wp-content\/img\/DynamicActionsInAPEX\/21PageRendering_thumb1.jpg\" width=\"240\" height=\"243\" \/><\/a> <\/p>\n<p align=\"left\">Using the context menu we can Create a Dynamic Action.<a href=\"http:\/\/bar-solutions.com\/weblog\/wp-content\/img\/DynamicActionsInAPEX\/22PageRenderingContextMenu3.jpg\"><img loading=\"lazy\" decoding=\"async\" style=\"border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px\" title=\"\" border=\"0\" alt=\"\" src=\"http:\/\/bar-solutions.com\/weblog\/wp-content\/img\/DynamicActionsInAPEX\/22PageRenderingContextMenu_thumb1.jpg\" width=\"240\" height=\"304\" \/><\/a> <\/p>\n<p align=\"left\">Give it a name and possibly a sequence.<a href=\"http:\/\/bar-solutions.com\/weblog\/wp-content\/img\/DynamicActionsInAPEX\/24CreateDynamicActionName_n_Sequence[2].jpg\"><img loading=\"lazy\" decoding=\"async\" style=\"border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px\" title=\"\" border=\"0\" alt=\"\" src=\"http:\/\/bar-solutions.com\/weblog\/wp-content\/img\/DynamicActionsInAPEX\/24CreateDynamicActionName_n_Sequence[1].jpg\" width=\"240\" height=\"77\" \/><\/a> <\/p>\n<p>Choose the event to use for this Dynamic Action to fire. In this case I think On Key Release will be the best choice. Choose the Selection Type, this action will rely on changes of items. Choose the items you want to fire this action.&#160; In condition choose the kind of condition you want to use. Choose JavaScript Expression and type in your Javascript expression. <\/p>\n<blockquote>\n<p align=\"left\"><font size=\"2\" face=\"Arial\">document.getElementById(&#8216;P100_TEXTFIELDA&#8217;).value ==<br \/>\n      <br \/><\/font><font size=\"2\" face=\"Arial\">document.getElementById(&#8216;P100_TEXTFIELDB&#8217;).value<\/font><\/p>\n<\/blockquote>\n<p align=\"left\">\n  <br \/><a href=\"http:\/\/bar-solutions.com\/weblog\/wp-content\/img\/DynamicActionsInAPEX\/25CreateDynamicActionJavascript4.jpg\"><img loading=\"lazy\" decoding=\"async\" style=\"border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px\" title=\"\" border=\"0\" alt=\"\" src=\"http:\/\/bar-solutions.com\/weblog\/wp-content\/img\/DynamicActionsInAPEX\/25CreateDynamicActionJavascript_thum.jpg\" width=\"252\" height=\"188\" \/><\/a>&#160;<\/p>\n<p align=\"left\">Then select the kind of Dynamic Action you wish to create. We will be creating an Advanced Action<\/p>\n<p align=\"left\"><a href=\"http:\/\/bar-solutions.com\/weblog\/wp-content\/img\/DynamicActionsInAPEX\/23CreateDynamicAction3.jpg\"><img loading=\"lazy\" decoding=\"async\" style=\"border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px\" title=\"\" border=\"0\" alt=\"\" src=\"http:\/\/bar-solutions.com\/weblog\/wp-content\/img\/DynamicActionsInAPEX\/23CreateDynamicAction_thumb1.jpg\" width=\"240\" height=\"172\" \/><\/a>&#160; <br \/>Select what you will be doing when the condition evaluates to TRUE: <\/p>\n<p><a href=\"http:\/\/bar-solutions.com\/weblog\/wp-content\/img\/DynamicActionsInAPEX\/26CreateDynamicActionTrueAction4.jpg\"><img loading=\"lazy\" decoding=\"async\" style=\"border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px\" title=\"\" border=\"0\" alt=\"\" src=\"http:\/\/bar-solutions.com\/weblog\/wp-content\/img\/DynamicActionsInAPEX\/26CreateDynamicActionTrueAction_thum.jpg\" width=\"252\" height=\"167\" \/><\/a> <\/p>\n<p>In this case we want to change the background color of the textbox, so we choose to Set the Style. We also want to execute this action when the page is loaded.<a href=\"http:\/\/bar-solutions.com\/weblog\/wp-content\/img\/DynamicActionsInAPEX\/27CreateDynamicActionTrueAction24.jpg\"><img loading=\"lazy\" decoding=\"async\" style=\"border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px\" title=\"\" border=\"0\" alt=\"\" src=\"http:\/\/bar-solutions.com\/weblog\/wp-content\/img\/DynamicActionsInAPEX\/27CreateDynamicActionTrueAction2_thu.jpg\" width=\"252\" height=\"132\" \/><\/a><\/p>\n<p align=\"left\">When the condition evaluates to FALSE we want to do the same action, but with a different color<br \/>\n  <br \/><a href=\"http:\/\/bar-solutions.com\/weblog\/wp-content\/img\/DynamicActionsInAPEX\/26CreateDynamicActionFalseAction5.jpg\"><img loading=\"lazy\" decoding=\"async\" style=\"border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px\" title=\"\" border=\"0\" alt=\"\" src=\"http:\/\/bar-solutions.com\/weblog\/wp-content\/img\/DynamicActionsInAPEX\/26CreateDynamicActionFalseAction_thu.jpg\" width=\"264\" height=\"154\" \/><\/a> <\/p>\n<p align=\"left\">Then select the kind of page elements you want to be affected by this dynamic action.<\/p>\n<p align=\"left\"><a href=\"http:\/\/bar-solutions.com\/weblog\/wp-content\/img\/DynamicActionsInAPEX\/23CreateDynamicActionSelectionType13.jpg\"><img loading=\"lazy\" decoding=\"async\" style=\"border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px\" title=\"\" border=\"0\" alt=\"\" src=\"http:\/\/bar-solutions.com\/weblog\/wp-content\/img\/DynamicActionsInAPEX\/23CreateDynamicActionSelectionType_t.jpg\" width=\"240\" height=\"107\" \/><\/a><\/p>\n<p align=\"left\">Next we choose on which fields this dynamic action will fire:<br \/>\n  <br \/><a href=\"http:\/\/bar-solutions.com\/weblog\/wp-content\/img\/DynamicActionsInAPEX\/28CreateDynamicActionItems3.jpg\"><img loading=\"lazy\" decoding=\"async\" style=\"border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px\" title=\"\" border=\"0\" alt=\"\" src=\"http:\/\/bar-solutions.com\/weblog\/wp-content\/img\/DynamicActionsInAPEX\/28CreateDynamicActionItems_thumb1.jpg\" width=\"240\" height=\"137\" \/><\/a>&#160;&#160; <a href=\"http:\/\/bar-solutions.com\/weblog\/wp-content\/img\/DynamicActionsInAPEX\/29CreateDynamicActionItemsSelected3.jpg\"><img loading=\"lazy\" decoding=\"async\" style=\"border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px\" title=\"\" border=\"0\" alt=\"\" src=\"http:\/\/bar-solutions.com\/weblog\/wp-content\/img\/DynamicActionsInAPEX\/29CreateDynamicActionItemsSelected_t.jpg\" width=\"240\" height=\"137\" \/><\/a> <\/p>\n<p align=\"left\">The Dynamic action now shows up in the Page Rendering section of our page.<a href=\"http:\/\/bar-solutions.com\/weblog\/wp-content\/img\/DynamicActionsInAPEX\/30PageRendering3.jpg\"><img loading=\"lazy\" decoding=\"async\" style=\"border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px\" title=\"\" border=\"0\" alt=\"\" src=\"http:\/\/bar-solutions.com\/weblog\/wp-content\/img\/DynamicActionsInAPEX\/30PageRendering_thumb1.jpg\" width=\"240\" height=\"243\" \/><\/a> <\/p>\n<p align=\"left\">Running the page shows our Dynamic Action in action:<br \/>\n  <br \/><a href=\"http:\/\/bar-solutions.com\/weblog\/wp-content\/img\/DynamicActionsInAPEX\/31DynamicActionDemo13.jpg\"><img loading=\"lazy\" decoding=\"async\" style=\"border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px\" title=\"\" border=\"0\" alt=\"\" src=\"http:\/\/bar-solutions.com\/weblog\/wp-content\/img\/DynamicActionsInAPEX\/31DynamicActionDemo1_thumb1.jpg\" width=\"240\" height=\"141\" \/><\/a> <a href=\"http:\/\/bar-solutions.com\/weblog\/wp-content\/img\/DynamicActionsInAPEX\/32DynamicActionDemo23.jpg\"><img loading=\"lazy\" decoding=\"async\" style=\"border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px\" title=\"\" border=\"0\" alt=\"\" src=\"http:\/\/bar-solutions.com\/weblog\/wp-content\/img\/DynamicActionsInAPEX\/32DynamicActionDemo2_thumb1.jpg\" width=\"240\" height=\"143\" \/><\/a>&#160;<a href=\"http:\/\/bar-solutions.com\/weblog\/wp-content\/img\/DynamicActionsInAPEX\/33DynamicActionDemo33.jpg\"><img loading=\"lazy\" decoding=\"async\" style=\"border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px\" title=\"\" border=\"0\" alt=\"\" src=\"http:\/\/bar-solutions.com\/weblog\/wp-content\/img\/DynamicActionsInAPEX\/33DynamicActionDemo3_thumb1.jpg\" width=\"240\" height=\"143\" \/><\/a> <a href=\"http:\/\/bar-solutions.com\/weblog\/wp-content\/img\/DynamicActionsInAPEX\/34DynamicActionDemo416.jpg\"><img loading=\"lazy\" decoding=\"async\" style=\"border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px\" title=\"\" border=\"0\" alt=\"\" src=\"http:\/\/bar-solutions.com\/weblog\/wp-content\/img\/DynamicActionsInAPEX\/34DynamicActionDemo4_thumb14.jpg\" width=\"240\" height=\"143\" \/><\/a><\/p>\n<p align=\"left\">I hope this helps in your understanding of the process of building Dynamic Actions in APEX. Of course this is a pretty simple example and you can probably come up with better ideas for the use of Dynamic Action, but as you can see, this is done with next to no coding (just the Javascript for the condition took some coding).<\/p>\n","protected":false},"excerpt":{"rendered":"<p>After visiting the OPP\/APEXPosed conference in Brussels I decided to write a post on how to create a relatively simple dynamic action in APEX. When you are working with password fields your only visual check to see if the entered text in both fields match may be the number of characters entered. Of course you [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[16,2],"tags":[],"class_list":["post-493","post","type-post","status-publish","format-standard","hentry","category-apex","category-oracle"],"_links":{"self":[{"href":"https:\/\/blog.bar-solutions.com\/index.php?rest_route=\/wp\/v2\/posts\/493","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.bar-solutions.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.bar-solutions.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.bar-solutions.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.bar-solutions.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=493"}],"version-history":[{"count":1,"href":"https:\/\/blog.bar-solutions.com\/index.php?rest_route=\/wp\/v2\/posts\/493\/revisions"}],"predecessor-version":[{"id":494,"href":"https:\/\/blog.bar-solutions.com\/index.php?rest_route=\/wp\/v2\/posts\/493\/revisions\/494"}],"wp:attachment":[{"href":"https:\/\/blog.bar-solutions.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=493"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.bar-solutions.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=493"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.bar-solutions.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=493"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}