Every BEE Command got a BEE Tag form of which the format is similar to HTML Tag. Its usage with HTML is limited only by the programmers imagination. For example, you can maintain the form context by inserting the BEE Form Variables:
<input type=text name=GivenName value="${sys%form:GivenName}"><br>
<input type=text name=Surname value="${sys%form:Surname}"><br>
<input type=text name=Age value="${sys%form:Age}"><br>
<input type=text name=Title value="${sys%form:Title}"><br>
To keep the <select …> tag value is straight forward in BEE:
<bee var=sel:{sys%form:Title} value="selected">
<select name=Title>
<option value="">--select Title--</option>
<beeforeach "(array)Mr,Ms,Mrs,Miss,Dr">
<option value="${foreach}" ${sel:{foreach}}>${foreach}</option>
</beeforeach>
</select>
|