Actions
Support #18830
closedTest: Forms and method POST
Start date:
13.06.2024
Due date:
% Done:
0%
Estimated time:
Discuss:
Prio Planung:
No
Vote:
Description
Kleine Testumgebung im Medtool aufgebaut um zu prüfen ob Variablen über ein POST Submit von QFQ ausgegeben werden.
10.sql = SELECT '/medtool/master' AS _selfUrl, 'testBackUrl' AS _backUrl
20.sql = SELECT ''
20.head = <p>Provide an email address to confirm your identity. If this address is in our database,
we will send you a token that must be provided in the next step.</p>
<form method="POST" action="{{selfUrl}}" class="form-group">
<div class="input-group col-md-8 col-md-offset-2">
<label class="input-group-addon" for="email">E-mail: </label>
<input class="form-control" type="email" name="email" value="{{email:CE:alnumx}}">
<span class="input-group-btn">
<button type="submit" name="action" value="sendToken" class="btn btn-primary">Send token</button>
<a href="{{backUrl}}" class="btn btn-default">Cancel</a>
</span>
</div>
</form>
Resultat: Variable wurde im Output angezeigt.
Actions