assassinator
16th December 2005, 04:09
Now, a form has a field. First status is input, when user input correct value, "when.field.changes", the field I want change to display only. How can I achieve it.
nikos1
16th December 2005, 08:14
Hi,
try 'attr.input = false'.
Regards
nikos
bdittmar
16th December 2005, 10:32
Now, a form has a field. First status is input, when user input correct value, "when.field.changes", the field I want change to display only. How can I achieve it.
field.abcd:
before.input:
attr.input = false
I attach a drawing which shows the loop of a field, as it is handled by BaaN.
Regards
assassinator
16th December 2005, 11:21
Oh, thanks!
I haven't descriptived clearly. I want the field status is input at first. After correct input, it change to like the field which status is display only. Videlicet,first the field's background is white, then change grey or field's frame invisible.
Not only can not input. :confused:
bdittmar
16th December 2005, 12:46
Oh, thanks!
I haven't descriptived clearly. I want the field status is input at first. After correct input, it change to like the field which status is display only. Videlicet,first the field's background is white, then change grey or field's frame invisible.
Not only can not input. :confused:
Hello,
The field must be of type INPUT
check the correct input in check.input: for this field.
field.abc:
before.input:
check.input:
if something then
else
set.input.error("") |or define a message -> set.input.error("message")
endif
The user can't leave the field before he does a correct input.
Regards
Hitesh Shah
16th December 2005, 14:41
Now, a form has a field. First status is input, when user input correct value, "when.field.changes", the field I want change to display only. How can I achieve it.
Field status can not be changed from input to display/dispaly only /input only in runtime.
May be input.field.visible / invisible function help u .
assassinator
17th December 2005, 02:29
Field status can not be changed from input to display/dispaly only /input only in runtime.
May be input.field.visible / invisible function help u .
Thanks! I get it.
I have tried to use input.field.invisible, but only display blank, can't see the value.
Hitesh Shah
17th December 2005, 14:21
No complete solution . Maybe define an extra display field and place it new the input field . And assign the input field to display field and then make it invisible .
We have never tried this kind of things bcos users at our end accepts this situations .