Templatebeispiel Formular
<script runat="server">
Sub Page_Load(Byval sender As Object,ByVal e as EventArgs)
if context.items("lang") = 2 Then
update.Text = "update user data"
else
update.Text = "Benutzerdaten aktualisieren"
end if
End Sub
</script>
<div class="form-horizontal">
<fieldset>
<!-- HTML module -->
[module:65]
<!-- User name and password -->
<div class="highlight">
<!-- Text Input -->
<div class="form-group">
<label class="col-md-4 control-label" for="gender">[pfl:1:Benutzername][pfl:2:Loginalias]*</label>
<div class="col-md-8">
[tb:loginalias:mandatory=1 class="form-control input-md" disabled]
</div>
</div> <!-- Text Input -->
<div class="form-group">
<label class="col-md-4 control-label" for="gender">[pfl:1:Passwort][pfl:2:Password]*</label>
<div class="col-md-8">
[tb:password:mandatory=0 textmode="password" class="form-control input-md"]
</div>
</div> <!-- Text Input -->
<div class="form-group">
<label class="col-md-4 control-label" for="gender">[pfl:1:Passwort bestätigen][pfl:2:Confirm Password]*</label>
<div class="col-md-8">
[tb:passwordconfirm:mandatory=0 textmode="password" class="form-control input-md"]
</div>
</div>
</div>
<!-- /User name and password --> <!-- Select Basic -->
<div class="form-group">
<label class="col-md-4 control-label" for="gender">[localize:salutation]</label>
<div class="col-md-2">
[ddl:salutation:class="form-control"][liloc:mrs:Frau][liloc:mr:liloc:Herr][/ddl]
</div>
</div> <!-- Text input-->
<div class="form-group">
<label class="col-md-4 control-label" for="surname">[localize:surname]*</label>
<div class="col-md-8">
[tb:firstname:class="form-control"]
[rfval:firstnameval:firstname:display=dynamic]<span class="alert-text">[localize:surname] [localize:mailform_required_field]</span>[/rfval]
</div>
</div> <!-- Text input-->
<div class="form-group">
<label class="col-md-4 control-label" for="name">[localize:last_name]*</label>
<div class="col-md-8">
[tb:lastname:class="form-control input-md"]
[rfval:lastnameval:lastname:display=dynamic]<span class="alert-text">[localize:lastname] [localize:mailform_required_field]</span>[/rfval]
</div>
</div> <!-- Text input-->
<div class="form-group">
<label class="col-md-4 control-label" for="name">[pfl:1:Position][pfl:2:Position]*</label>
<div class="col-md-8">
[tb:position:class="form-control input-md"]
[rfval:positionval:lastname:display=dynamic]<span class="alert-text">[localize:position] [localize:mailform_required_field]</span>[/rfval]
</div>
</div> <!-- Text input-->
<div class="form-group">
<label class="col-md-4 control-label" for="name">[pfl:1:Firma][pfl:2:Company]*</label>
<div class="col-md-8">
[tb:company:class="form-control input-md"]
[rfval:companyval:lastname:display=dynamic]<span class="alert-text">[localize:company] [localize:mailform_required_field]</span>[/rfval]
</div>
</div> <!-- Text input-->
<div class="form-group">
<label class="col-md-4 control-label" for="name">[pfl:1:Straße][pfl:2:Street]*</label>
<div class="col-md-8">
[tb:b_street:class="form-control input-md"]
[rfval:b_streetval:lastname:display=dynamic]<span class="alert-text">[localize:b_street] [localize:mailform_required_field]</span>[/rfval]
</div>
</div> <!-- Text input-->
<div class="form-group">
<label class="col-md-4 control-label" for="name">[pfl:1:PLZ][pfl:2:Zipcode]*</label>
<div class="col-md-8">
[tb:b_zipcode:class="form-control input-md" maxlength="5"]
[rfval:b_zipcodeval:lastname:display=dynamic]<span class="alert-text">[localize:b_zipcode] [localize:mailform_required_field]</span>[/rfval]
</div>
</div> <!-- Text input-->
<div class="form-group">
<label class="col-md-4 control-label" for="name">[pfl:1:Ort][pfl:2:City]*</label>
<div class="col-md-8">
[tb:b_city:class="form-control input-md" maxlength="5"]
[rfval:b_cityval:lastname:display=dynamic]<span class="alert-text">[localize:b_city] [localize:mailform_required_field]</span>[/rfval]
</div>
</div> <!-- Text input-->
<div class="form-group">
<label class="col-md-4 control-label" for="name">[pfl:1:Land][pfl:2:Country]*</label>
<div class="col-md-8">
[tb:b_country:class="form-control input-md" maxlength="5"]
[rfval:b_countryval:lastname:display=dynamic]<span class="alert-text">[localize:b_country] [localize:mailform_required_field]</span>[/rfval]
</div>
</div> <!-- Text input-->
<div class="form-group">
<label class="col-md-4 control-label" for="name">[pfl:1:Telefon][pfl:2:Phone]*</label>
<div class="col-md-8">
[tb:b_tel:class="form-control input-md" maxlength="5"]
[rfval:b_telval:lastname:display=dynamic]<span class="alert-text">[localize:b_tel] [localize:mailform_required_field]</span>[/rfval]
</div>
</div> <!-- Text input-->
<div class="form-group">
<label class="col-md-4 control-label" for="name">[pfl:1:Telefax][pfl:2:Fax]</label>
<div class="col-md-8">
[tb:b_fax:class="form-control input-md" maxlength="5"]
</div>
</div> <!-- Text input-->
<div class="form-group">
<label class="col-md-4 control-label" for="email">E-Mail*</label>
<div class="col-md-8">
[tb:email:class="form-control input-md"]
[rfval:emailval:email:display=dynamic]<span class="alert-text">[localize:email] [localize:mailform_required_field]</span>[/rfval]
</div>
</div> <!-- Text input-->
<div class="form-group">
<label class="col-md-4 control-label" for="email">[pfl:1:Website][pfl:2:Website]</label>
<div class="col-md-8">
[tb:b_website:class="form-control input-md"]
</div>
</div>
<!-- Button -->
<div class="form-group">
<label class="col-md-4 control-label" for="singlebutton"></label>
<div class="col-md-4">[bnupdate:update:text="update userdata" class="btn btn-default"]</div>
</div>
</fieldset>
</div>
<div [mvif:errormessage:neq:]>[errormessage]</div>
Template - Email Benutzer
<P>Hello [username],</P>
<P>you are now registered.</P>
<P>We will approve your registration as soon as possible. If you are eligible for an account we will send your password within another mail.</P>
<P>This is an automatic generated e-mail. Please do not respond to it. If you have any questions please contact our Support Team.</P>
<P>Support Team: <BR><A href="mailto:support@musterfirma.com">support@musterfirma.com</A><BR>Hotline: +49 (0) 911 xxx xxx</P>
Anmerkung: Die IDs der verwendten Eingabefelder entsprechen den verfügbaren Feldern des Kontakt-Moduls. Alle dort beschriebenen Platzhalter können auch hier verwendet werden.
Werden andere Buttons als [bnupdate] verwendet, müssen diese das Attribut CommandName="update" und die ID update tragen.
Es ist auch möglich, einen Account vom Benutzer löschen zu lassen. Beispiel: [bndelete:delete:text="delete userdata" onclientclick="return confirm('Delete?!');"]