Update to be compatible with online app
This commit is contained in:
parent
aa1e8c2abc
commit
c5aa64c41e
@ -14,27 +14,7 @@
|
|||||||
|
|
||||||
\begin{Form}[]
|
\begin{Form}[]
|
||||||
\paPage{VSM – Allgemeiner Teil}{
|
\paPage{VSM – Allgemeiner Teil}{
|
||||||
% Abschnitt 1: Antragsteller : entweder Institution oder Person
|
% Abschnitt 1: Institution (sofern vorhanden)
|
||||||
% -> aktiviert/deaktiviert zugehörige Felder (über radio buttons) mit JavaScript
|
|
||||||
\FormSection{Antragsteller}{%
|
|
||||||
% Radio buttons : horizontal oben
|
|
||||||
\begin{tabular}{@{}p{0.3\textwidth}p{0.35\textwidth}p{0.35\textwidth}@{}}
|
|
||||||
\textbf{Art des Antragstellers} & \raisebox{-1pt}{\ChoiceMenu[
|
|
||||||
radio,
|
|
||||||
name=pa-applicant-type,
|
|
||||||
width=1em,
|
|
||||||
height=1em,
|
|
||||||
radiosymbol=\ding{108}
|
|
||||||
]{}{=person}} Person & \raisebox{-1pt}{\ChoiceMenu[
|
|
||||||
radio,
|
|
||||||
name=pa-applicant-type,
|
|
||||||
width=1em,
|
|
||||||
height=1em,
|
|
||||||
radiosymbol=\ding{108}
|
|
||||||
]{}{=institution}} Institution
|
|
||||||
\end{tabular}\vspace{-1em}
|
|
||||||
}
|
|
||||||
|
|
||||||
\FormSection{Institution (sofern vorhanden)}{%
|
\FormSection{Institution (sofern vorhanden)}{%
|
||||||
% Radio buttons : horizontal oben
|
% Radio buttons : horizontal oben
|
||||||
\begin{tabular}{@{}p{0.3\textwidth}p{0.35\textwidth}p{0.35\textwidth}@{}}
|
\begin{tabular}{@{}p{0.3\textwidth}p{0.35\textwidth}p{0.35\textwidth}@{}}
|
||||||
@ -50,7 +30,7 @@
|
|||||||
% Validate: E-Mail-Adresse
|
% Validate: E-Mail-Adresse
|
||||||
\newcommand{\validateEmail}{\detokenize{
|
\newcommand{\validateEmail}{\detokenize{
|
||||||
var email = event.value;
|
var email = event.value;
|
||||||
if (email && !/^[a-zA-Z0-9._\%+-]+@[a-zA-Z0-9.-]+\\.[a-zA-Z]{2,}$/.test(email)) { /*$*/
|
if (email && !/^[a-zA-Z0-9._\%+-]+@[a-zA-Z0-9.-]+\\.[a-zA-Z]{2}$/.test(email)) { /*$*/
|
||||||
app.alert("Ungueltige E-Mail-Adresse: " + email + ". Bitte geben Sie eine gueltige E-Mail-Adresse ein.");
|
app.alert("Ungueltige E-Mail-Adresse: " + email + ". Bitte geben Sie eine gueltige E-Mail-Adresse ein.");
|
||||||
event.rc = false;
|
event.rc = false;
|
||||||
}
|
}
|
||||||
@ -342,23 +322,7 @@
|
|||||||
\end{tabular}
|
\end{tabular}
|
||||||
}
|
}
|
||||||
|
|
||||||
\FormSection{Checkliste: Anhänge}{
|
|
||||||
\vspace{0.5em}
|
|
||||||
\begin{minipage}{1.05\textwidth}
|
|
||||||
\setstretch{1.0}\color{black}\dinfont
|
|
||||||
Hier bitte alle mit dem Dokument eingereichten Dokumente ankreuzen:
|
|
||||||
\vspace{1em}
|
|
||||||
\end{minipage}
|
|
||||||
|
|
||||||
\begin{tabular}{@{}p{\textwidth}p{0.05\textwidth}@{}}
|
|
||||||
\textbf{Beiblatt Vergleichsangebote} & \raisebox{-1pt}{\CheckBox[
|
|
||||||
name=pa-anh-vergleichsangebote,
|
|
||||||
width=1em,
|
|
||||||
height=1em
|
|
||||||
]{}} \\
|
|
||||||
Jeweils ein Formular pro Position – siehe Kostenaufstellung & \\
|
|
||||||
\end{tabular}
|
|
||||||
}
|
|
||||||
|
|
||||||
% \Submit{Absenden}
|
% \Submit{Absenden}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -142,17 +142,15 @@
|
|||||||
%
|
%
|
||||||
\node[anchor=north east, inner sep=0pt, xshift=-2cm, yshift=-5.5cm, opacity=0.3] (logo\the\numexpr\value{logoCounter}+1) at (current page.north east) {
|
\node[anchor=north east, inner sep=0pt, xshift=-2cm, yshift=-5.5cm, opacity=0.3] (logo\the\numexpr\value{logoCounter}+1) at (current page.north east) {
|
||||||
\huge
|
\huge
|
||||||
\iffalse
|
\CustomTextFieldThuge{pa-id}{}{Jahr/Antragsnummer}{width=3.8cm}
|
||||||
\CustomTextFieldThuge{pa-id}{}{Jahr/Antragsnummer}{width=3.8cm}
|
\CustomTextFieldThuge{pa-key}{}{}{
|
||||||
\CustomTextFieldThuge{pa-key}{}{}{
|
name=pa-key,
|
||||||
name=pa-key,
|
width=0.1pt,
|
||||||
width=0.1pt,
|
readonly=true,
|
||||||
readonly=true,
|
bordercolor=white,
|
||||||
bordercolor=white,
|
backgroundcolor=white,
|
||||||
backgroundcolor=white,
|
maxlen=16
|
||||||
maxlen=16
|
}
|
||||||
}
|
|
||||||
\fi
|
|
||||||
};
|
};
|
||||||
|
|
||||||
\node[anchor=north, inner sep=0pt, xshift=0cm, yshift=-0.5cm, opacity=0.3] (logo\the\numexpr\value{logoCounter}+2) at (current page.north) {
|
\node[anchor=north, inner sep=0pt, xshift=0cm, yshift=-0.5cm, opacity=0.3] (logo\the\numexpr\value{logoCounter}+2) at (current page.north) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user