From 6b7ef024ba8f7c1560c7347a072db848c3555541 Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Fri, 2 Jul 2021 06:04:52 +0900 Subject: thorshammer update --- .../examples/ordinary-option/get-hash-string.tex | 35 ---------------------- 1 file changed, 35 deletions(-) delete mode 100644 texmf-dist/doc/latex/thorshammer/examples/ordinary-option/get-hash-string.tex (limited to 'texmf-dist/doc/latex/thorshammer/examples/ordinary-option/get-hash-string.tex') diff --git a/texmf-dist/doc/latex/thorshammer/examples/ordinary-option/get-hash-string.tex b/texmf-dist/doc/latex/thorshammer/examples/ordinary-option/get-hash-string.tex deleted file mode 100644 index b20c438a..00000000 --- a/texmf-dist/doc/latex/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} -- cgit v1.2.3