bumbaermail
15th May 2012, 14:08
Hello Forum,
I have a MMT session. In Satellite Session I have two input field. I want the cursor to skip 1st input field and navigate directly to second field if the mode is "add.set". How can I do that?
Thanks in advance for help
Saikat
bdittmar
15th May 2012, 15:43
Hello Forum,
I have a MMT session. In Satellite Session I have two input field. I want the cursor to skip 1st input field and navigate directly to second field if the mode is "add.set". How can I do that?
Thanks in advance for help
Saikat
Hello,
on add.set disable.fields should work
Regards
bumbaermail
15th May 2012, 16:11
I have tried the same also. The code was as following:
add.set:
before.choice:
disable.fields("field1")
after.choice:
enable.fields("field1")
But that is not working.
bdittmar
15th May 2012, 16:17
I have tried the same also. The code was as following:
add.set:
before.choice:
disable.fields("field1")
after.choice:
enable.fields("field1")
But that is not working.
Hello,
the following code is working for me :
field.dhibd100.pnet:
when.field.changes:
dhibd100.pprt = 0
If dhibd100.pnet = tcyesno.no Then
dhibd100.pprt = 0
disable.fields("dhibd100.pprt")
Else
enable.fields("dhibd100.pprt")
dhibd100.pprt = 0
Endif
Something like :
field1:
before.input:
if choice = add.set then
disable.fields("field1")
else
enable.fields("field1")
endif
So put the disable.fields command on the field focus.
Regards