This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal


Feb 15, 2016, 6:51 PM
1 Posts

Reset Radio Button

  • Category: Application Development
  • Platform: All Platforms
  • Release: 9.0.1
  • Role: Developer
  • Tags:
  • Replies: 1

Hello Notes Gurus,

I currently have a formula that allows a user to deselect a selected radio button value.  Now I will need to use lotusscript  in the onclick event that will also allow for this current ability.

Here is the current formula ...

 

FIELD BlanketPO:=@If(BlanketPO=BlanketPODsp;"";BlanketPO);
@Command([ViewRefreshFields]);
@All

 

Any suggestion?

 

Thanks in advance ,

Robert

Feb 15, 2016, 8:23 PM
82 Posts
something like this ...
In the onChange event of the BlanketPO field, add something like this (make sure in designer, in the infobox of the BlanketPO field, Run Exiting/OnChange events after the value change is selected

Dim uiws As New NotesUIWorkspace, uidoc As NotesUIDocument, sPO As String
        Set uidoc = uiws.CurrentDocument
        sPO = uidoc.FieldGetText("BlanketPO")
        If sPO = uidoc.FieldGetText("BlanketPODsp") Then
                uidoc.FieldSetText "BlanketPO", ""
                uidoc.Refresh
        End If

This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal