Link to home
Start Free TrialLog in
Avatar of KTTKTT
KTTKTTFlag for United States of America

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"  
Avatar of KTTKTT
KTTKTT
Flag of United States of America image

ASKER

Please be specific and detailed.  If I have to use JavaScript, please explain in detail as well. thx, Beginner
Avatar of KTTKTT

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("SubjectDisplay", _
  uidoc.FieldGetText("Subject"))
End Sub
Avatar of KTTKTT

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.
ASKER CERTIFIED SOLUTION
Avatar of KTTKTT
KTTKTT
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of KTTKTT

ASKER

Really no acceptable solution, but this was the only way I could close the request after not getting a response.