G
Guest
Hi,
I have a form which has two fields that need to be filled up. The first one
is the Math score (1-100 range) and a checkbox field named HasMajor. If the
student has a major this check box is checked. Now I need to come up with a
functionality that will lock fields (both the fields) after entering the
values of the two fields. This means the data entry person will have one
chance to enter the values correctly.
My first question is which event I need to code this - is it after update of
onchagne event. In any event the logic will be:
If form.field1.enabled then
form.field1.disabled
End if.
I would appreciate any help on this?
I have a form which has two fields that need to be filled up. The first one
is the Math score (1-100 range) and a checkbox field named HasMajor. If the
student has a major this check box is checked. Now I need to come up with a
functionality that will lock fields (both the fields) after entering the
values of the two fields. This means the data entry person will have one
chance to enter the values correctly.
My first question is which event I need to code this - is it after update of
onchagne event. In any event the logic will be:
If form.field1.enabled then
form.field1.disabled
End if.
I would appreciate any help on this?