What is the purpose of the keydata with regard to SignatureBoxWrapper?
If I can invalidate the signature with a changed event in a control, what purpose does it serve?
What does keydata do (SignatureBoxWrapper)?
What does keydata do (SignatureBoxWrapper)?
Cheers,
Bill Starck, DDS
Big Idea Software, LLC
Developer, EASy(Electronic Anesthesia System) for Open Dental
817-807-1709
TX, USA
Bill Starck, DDS
Big Idea Software, LLC
Developer, EASy(Electronic Anesthesia System) for Open Dental
817-807-1709
TX, USA
Re: What does keydata do (SignatureBoxWrapper)?
The purpose of keyData is to ensure the signature is for the data it was originally signed for. For example, if I signed an ortho chart that had fields set to "Strong", "Clean", and "Tight", but someone modified the database to change the fields to "Strong", "Clean", and "Loose", the hash of the keyData would not match the signature so the signature would display as invalid.
Re: What does keydata do (SignatureBoxWrapper)?
Thanks for that.
I had implemented SignatureBoxWrapper many years ago but that was on a form that had only one note in it, so I set the keydata to the text of that note. Now I am making a form for compliance with the new anesthesia regs in Texas and there are multiple notes on it, so I wasn't sure what to key off of. In the past I just invalidated the signature if a form had already been signed and the user changed any control by placing an InvalidateSig() call in the _Changed event for all the controls in the form, which would just clear the sig. So do I have to use the keydata property at all, or can I just do it this way?
Or, should I be creating a keydata string with the data from all the controls? If so, is there a limit to the number of characters keydata can hold?
I had implemented SignatureBoxWrapper many years ago but that was on a form that had only one note in it, so I set the keydata to the text of that note. Now I am making a form for compliance with the new anesthesia regs in Texas and there are multiple notes on it, so I wasn't sure what to key off of. In the past I just invalidated the signature if a form had already been signed and the user changed any control by placing an InvalidateSig() call in the _Changed event for all the controls in the form, which would just clear the sig. So do I have to use the keydata property at all, or can I just do it this way?
Or, should I be creating a keydata string with the data from all the controls? If so, is there a limit to the number of characters keydata can hold?
Cheers,
Bill Starck, DDS
Big Idea Software, LLC
Developer, EASy(Electronic Anesthesia System) for Open Dental
817-807-1709
TX, USA
Bill Starck, DDS
Big Idea Software, LLC
Developer, EASy(Electronic Anesthesia System) for Open Dental
817-807-1709
TX, USA
Re: What does keydata do (SignatureBoxWrapper)?
The best way would be to set your keyData based on each control that takes input from the form. This way your signature would also be invalidated if someone did an UPDATE statement directly on the database. I don't believe their is any limitation to the length of keyData. We use the entire proc note as keyData, and some dentists write some long notes!
Re: What does keydata do (SignatureBoxWrapper)?
Thanks Chris
Cheers,
Bill Starck, DDS
Big Idea Software, LLC
Developer, EASy(Electronic Anesthesia System) for Open Dental
817-807-1709
TX, USA
Bill Starck, DDS
Big Idea Software, LLC
Developer, EASy(Electronic Anesthesia System) for Open Dental
817-807-1709
TX, USA