Create a template called "template1" and insert the following code:
<form>
$getDefaultInputs{template2}
First name: <input type="text" name="firstname"><BR>
Last name: <input type="text" name="lastname"><BR>
Company: <input type="text" name="company"><BR>
Your age: <select name="age">
<option value="0-20">< 20 years
<option value="20-40">20 - 40 years
<option value="40-60">40 - 60 years
</select><BR>
<input type="submit" value="Send">
</form>
Description:
Creates a formular.with the input fields named firstname, lastname, company and a listbox named age. Sends the formular via a submit button to the template named template2 including all default variables (l,i,b,c).
Create a template called "template2" and insert the following code:
First Name: $getCurrent{firstname} <BR>
Last Name: $getCurrent{lastname} <BR>
Company: $getCurrent{company} <BR>
Age: $getCurrent{age} <BR>
Description:
Returns the inserted values in the input fields and the value of the selected age of the previous template.
