dynamic attributes in screen
Posted 24 April 2006 - 01:10 PM
A B C all are numeric
in change mode , field C should be display only.
when values are entered in A or B , based on some conditions, C value is calculated.
C field should be no editable one.
in ADD mode, 'C' field should be a mandatory one.
This is in superlayer. How this can be achieved. i am not able to figure it out
Posted 24 April 2006 - 06:44 PM
To achieve the look you desire, I would add another C field that is Display Only just before the C field that is mandatory. In the Before Field logic of the C Mandatory field place logic to do a FLD_JUMP IF @MODE # 'A'.
This will give you the desired look you are looking for. In any other mode, other than Add, it will show only as a grey, DO field. But when they change to Add mode, the field becomes an input field.
Posted 24 April 2006 - 09:31 PM
But to you, the developer, there are 4 fields with the C-Field DO overlapping the C-Field mandatory.
So, you would have the following:
Field A Mandatory Input
Field B Mandatory Input
Field C Display Only
Posted 24 April 2006 - 09:42 PM
#Field_A Mandatory Input
#Field_B Mandatory Input
#Field_C Display Only
#Field_C Mandatory Input Before Field Logic: IF @MODE # "A" THEN FLD_JUMP();
This way will show an input field if @MODE = "A" and will show a grey Display Only field if @MODE # "A".
Reply to this topic
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users