Search code examples
oracle-apex

Oracle apex how to put today's date as value placeholder?


I'm creating a task time table as a learning project. And I want to put a today's date as a placeholder for one of the fields that can be changed if needed. How can I do that?

All I can find is 'Value placeholder' field, but I have no idea how to make it dynamic.


Solution

  • Hm, aren't you - actually - talking about item's default value? If so,

    • navigate to item's properties
    • scroll down to "Default" section
    • choose type that is appropriate for what you want. For example, that might be
      • "Expression" which equals to to_char(sysdate, 'dd.mm.yyyy'), or
      • "Function body" which is then return sysdate;
      • etc.

    If that's not it, could you post some more info? Screenshot of what you're doing is welcome.