Solution to Topaz validation problem RRS feed

  • Question

  • Topaz documentation states "Please note that form fields (such as drop down menus, radio buttons, etc.) are excluded from the binding process." Binding meaning the text is bound to the signature and validated.

    Unfortunately I have to use these objects in forms I create for electronic medical records. I need some sort of simple code I can call every time one of them is selected. It needs to be relatively invisible but has to change the text enough to invalidate a document if one is selected after the patient has signed the document.

    I played around with it but I'm too new to this and it's clunky and....well you can see.

    Sub Fix_Checks()
    ' Fix_Checks Macro
    If ActiveDocument.ProtectionType <> wdNoProtection Then
    End If
    Selection.GoTo What:=wdGoToBookmark, Name:="FirstCheck"
    Selection.TypeText Text:="."
    ActiveDocument.Protect Type:=wdAllowOnlyFormFields, NoReset:=True
    End Sub

    Thank you for any help you might be able to offer.

    Jamie Sloa

    Friday, May 16, 2014 7:02 PM

All replies

  • The simple solution would appear to be to unprotect the document, convert the formfields to static text (e.g. Activedocument.Fields.Unlink), then reprotect after the document has been signed. Do this and there's no avenue for further (inadvertent) changes to the document.

    Paul Edstein
    [MS MVP - Word]

    Saturday, May 17, 2014 1:09 AM