KTTKTT
asked on
Simple Lotus Notes hide fieldb if item1 of checkbox fielda is selected
Web Form:
Two fields (fielda and fieldb)
Field a is a checkbox.
Need to hide fieldb based on fielda's value.
eg. If fielda = "Other" , show fieldb (fieldbOther) so that user can give us the Other value.
or Hide fieldb if fielda != "Other"
Two fields (fielda and fieldb)
Field a is a checkbox.
Need to hide fieldb based on fielda's value.
eg. If fielda = "Other" , show fieldb (fieldbOther) so that user can give us the Other value.
or Hide fieldb if fielda != "Other"
ASKER
found this onchange in help but not sure how to use it :
Sub Onchange(Source As Field)
Dim ws As New NotesUIWorkspace
Dim uidoc As NotesUIDocument
Set uidoc = ws.CurrentDocument
Call uidoc.FieldSetText("Subjec tDisplay", _
uidoc.FieldGetText("Subjec t"))
End Sub
Sub Onchange(Source As Field)
Dim ws As New NotesUIWorkspace
Dim uidoc As NotesUIDocument
Set uidoc = ws.CurrentDocument
Call uidoc.FieldSetText("Subjec
uidoc.FieldGetText("Subjec
End Sub
ASKER
More info: Fieldb does not Refresh properly with the regular hidewhen formula.
e.g. fielda = "Other" ;@true ; @false
If I hit f9 to refresh, the value of fielda goes to Null.
e.g. fielda = "Other" ;@true ; @false
If I hit f9 to refresh, the value of fielda goes to Null.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Really no acceptable solution, but this was the only way I could close the request after not getting a response.
ASKER