diff options
author | Norbert Preining <norbert@preining.info> | 2021-06-27 03:01:41 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2021-06-27 03:01:41 +0000 |
commit | a090105758cdab68b58246a8aea7cb79dc168501 (patch) | |
tree | 367d8c9718710cbba51d660b61273b20fb056080 /macros/latex/contrib/thorshammer/examples/ordinary-option/get-hash-string.tex | |
parent | 3d1055e1e00548f29b9d4ba0a79c717b9b6b2ae3 (diff) |
CTAN sync 202106270301
Diffstat (limited to 'macros/latex/contrib/thorshammer/examples/ordinary-option/get-hash-string.tex')
-rw-r--r-- | macros/latex/contrib/thorshammer/examples/ordinary-option/get-hash-string.tex | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/macros/latex/contrib/thorshammer/examples/ordinary-option/get-hash-string.tex b/macros/latex/contrib/thorshammer/examples/ordinary-option/get-hash-string.tex deleted file mode 100644 index b20c438a21..0000000000 --- a/macros/latex/contrib/thorshammer/examples/ordinary-option/get-hash-string.tex +++ /dev/null @@ -1,35 +0,0 @@ -\documentclass{article} -\usepackage[designi]{web} -\usepackage{eforms} - -%\previewOn\pmpvOn - -\parindent0pt \parskip6pt - -\begin{document} - -\begin{defineJS}{\btnAct} -var resp=app.response({ - cQuestion: "Enter a PIN number", - cTitle: "Get Hash String" -}); -var f=this.getField("txt"); -if (resp!=null) f.value=Collab.hashString(resp); -\end{defineJS} - -Create a four digit (PIN) number and copy that number into the body of the -definition of the \verb|\PIN| command, which is defined in the source file -\texttt{quiz-pwd-to-correct-AR.tex}. This is to record and save the number. - -Push the button and enter the four digit number you just created into the -response box. When you press the \textsf{OK} button, the hash string of the -number you entered appears in the text field. Copy and paste this value into -the \texttt{quiz-pwd-to-correct-AR.tex} as the value of the -\texttt{\_PinCode} JavaScript variable. Now you're ready to compile the file -\texttt{quiz-pwd-to-correct-AR.tex}. - -\pushButton[\CA{Push}\AAmouseup{\btnAct}]{btn}{}{11bp}\olBdry -\textField[\textSize{8}]{txt}{2in}{11bp}\olBdry -\pushButton[\CA{Reset}\AAmouseup{this.resetForm();}]{reset}{}{11bp} - -\end{document} |