Hello everyone,
In a scriptcase form i have a field with attribute Disabled Field setted to “update mode” .
Now, when my form is in ‘insert mode’ (sc_btn_new) , the field can be modified and this is ok.
But if i click on ‘insert’ button and the validation of any form field fails,my field become disabled,even if the form remains in ‘insert mode’.
This happens when the form orientation is set to : Editable Grid / Editable Grid (view) and not when is in Single Record.
That’s not what i was expecting from the DisableField → Update Mode attribute.
My form is not in Update mode.
First question is :
Is this behavior a bug or am i interpreting uncorrectly the attribute purpose?
Second question is:
Is there a simple way to get if my form is in insert or update mode ?
I found the sc_btn_new macro, but it has the same problem,after validation failure sc_btn_new become false even if i’m still inserting a new record.
I think many other scriptcase developers have the same problem.
Can someone from scriptcase support give any suggestions?
Thanks.
SB