Saturday, February 2, 2019

Restrict users to select specific days in date picker via JavaScript

For this post I have two date picker item and I want to restrict users to select dates just between “From Date“ and seven days after that.


Tuesday, January 29, 2019

Call Dynamic Actions via JavaScript code


Oracle APEX has four dynamic action event types. In this post we will describe how to call dynamic actions of type browser event and custom event via JavaScript .

Call Browser Events(change,click,Keyup,…) below code will call a dynamic action that has been defined for click event on a button with “mybtn” id:

apex.event.trigger('#mybtn','click');

Call dynamic action with custom event:

Create your dynamic action as below:

When->

         Event: Custom

         Custom Event: myEventName

          Selection Type: JavaScript Expression

          JavaScript Expression:document

Client-side Condition->

          JavaScript Expression: document

Then call your dynamic action in JavaScript code as below:    
$.event.trigger(document.'myEventName');

Friday, January 18, 2019

Using Intro.js in Oracle APEX

Using Intro.js to create a step-by-step guide and feature introduction in Oracle APEX.

When new users visit your website or product you should demonstrate your product features using a step-by-step guide. Even when you develop and add a new feature to your product, you should be able to represent them to your users using a user-friendly solution. Intro.js is developed to enable web and mobile developers to create a step-by-step introduction easily. Intro.js is open-source and free to use.
You can visit https://introjs.com to find more information about Intro.js

Friday, January 11, 2019

Using Stimulsoft Reports.JS in Oracle APEX


The idea and copyright comes from stimulsoft GitHub .You can visit stimulsoft GitHub repository via this link https://github.com/stimulsoft/Samples-JS/tree/master/JavaScript for more information and  complete documentation.

Stimulsoft Reports.JS builds reports using only JavaScript and HTML5. It can be used in any JavaScript application. This significantly expands the list of supported devices from desktop computers to mobile devices. You can visit stimulsoft.com/en/products/reports-js to find more information about this tools.
For this blog I create a report  file of type JSON data source in advance via Stimulsoft report designer.

Sunday, August 12, 2018

How to translate Oracle APEX data-valid-message

It is very common when you build a multilingual web app in APEX, some part of application  doesn't show correct message because there is some missing keyword in translation section. one of them is "Please fill out this field" . Here I want to share a sample java script code that you can use to fix this issue: