Announcement

Collapse
No announcement yet.

How to determine it's 'Add' mode?

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • How to determine it's 'Add' mode?

    I have a script which should only execute during onLoad (add mode)
    I need an IF ADD_MODE execute my custom code, else, it will execute twice in my Form app.
    Last edited by weilies; 10-02-2014, 06:09 PM.

  • #2
    In the onload you have the macro:

    Ex. 1:
    if (sc_btn_new)
    {
    {My_Date} = date('Y/m/d');
    }
    Albert Drent
    aducom software netherlands
    scriptcase partner, reseller, support and (turn-key) development
    www.scriptcase.eu / www.scriptcase.nl

    Comment


    • #3
      Thanks sir! it's working!

      Comment

      Working...
      X