.. ================================================== .. FOR YOUR INFORMATION .. -------------------------------------------------- .. -*- coding: utf-8 -*- with BOM. .. include:: ../Includes.txt .. _users-manual: Users manual ============ The user can simply create their forms from the wizard, and then add the attributes that are necessary. All custom attributes can user stdWrap function. Example ------- For example a form with username and password can be constructed as follows: **Form configuration** :: prefix = tx_form confirmation = 1 postProcessor { 1 = mail 1 { recipientEmail = test@exemple.com senderEmail = test@exemple.com } } 10 = TEXTLINE 10 { data-validation-rule = ^[a-zA-Z][a-zA-Z0-9_-@\.]{4,}$ name = username placeholder = Username placeholder{ lang.fr = Nom d'utilisateur } autocomplete = off } 20 = PASSWORD 20 { data-validation-rule = ^(?=.*\d)(?=.*[a-z])(?=.*[A-Z])\w{6,}$ name = password placeholder = Password placeholder{ lang.fr = Mot de passe } autocomplete = off } 30 = SUBMIT 30 { name = create value = Create user value{ lang.fr = Créer l'utilisateur } } ... **Frontend result:** .. figure:: ../Images/UserManual/FrontendResult.png :width: 252px :alt: Frontend result **Frontend HTML code:** ::