Announcement

Collapse
No announcement yet.

sc_btn_disabled not work

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

  • sc_btn_disabled not work

    Someone knows the reason why it does not work this function used just in the scope recommended by the manual?

    sc_btn_disable('button_id', 'on/off')

    This macros is used to disable or enable buttons from a Menu application.

    Ex:

    sc_btn_disable('btn_2', 'off');


    Macro Scope
    Menu application
    onApplicationInit
    onLoad

    This error is generated when I used SC V 7.01.0021
    Fatal error: Call to undefined function sc_btn_disable() in /opt/NetMake/v7/wwwroot/scriptcase/app/MCO/app_Login/app_Login_apl.php
    Last edited by jmsalazar; 02-26-2015, 10:53 AM. Reason: version SC

  • #2
    Yes, it also happened in Scriptcase 8.01.005

    Fatal error: Call to undefined function sc_btn_disable() in C:\Program Files (x86)\NetMake\v81\wwwroot\scriptcase\app\shop_admi n\form_product\form_product_apl.php on line 4864

    I did it in a form when I want to have checkbox field to show update mode or view mode. The fields were successfully disabled, but I want to disabled the button as well.

    Comment

    Working...
    X