Hello everybody
apparently that was incomprehensible what I wrote.
I'll try again.
So I'm trying to recreate the structure of the registration of a vehicle.
So that the whole thing doesn't get too broad, I've thought of the following.
1. The name of the field remains as it is in the approval.
2. The meaning of the field name is given in a tooltip.
so far the macro looks like this
\ define beztool (description tooltipname)
<td valign = top align = left>
<$ button class = "button"
tooltip = {{!! $ tooltipname $ _tooltip}}> $ description $ </ $ button>
</td>
\end
So the following call is necessary so far.
<< beztool "A" "a" >>
<< beztool "P.2 / P.4" "p.2-p.4" >>
But I want to simplify the call. The writing for $ tooltipname $ should be omitted.
The call should linger in the future
<< beztool "A" >>
<< beztool "P.2 / P.4" >>
In order for it to work like this, I would also replace the "/" character with another character that is allowed in the naming of fields.
For this it is necessary that the variable $ designation $ is transferred to a new variable and then transferred in lower case.
Is there a way to do this?
Thank you