Using the DNN Module from helferlein to create forms is a simple few setps. This article shows how to create a form using this module.
- Log in as the Page Editor for the page you wish to add the form (usually admin)
- Add the Module helferlein_form to the pane you wish to add the form
- Open the Settings for the module
- Set the module settings as you need them
- Open the Form Settings
- Configure the form as follows:
- The "Submit mode" alows you to select if the form is stored in the database or sent via email.
- The Mail Address(es)" is used to enter the email address or addresses where the form is sent. Note: the SMTP settings for the website must be set for this to work.
- The "E-mail format" allows you to select HTML or it defaults to plain text
- The "Redirect URL" allows you to specify the URL where the user will be redirected to once they complete the form and press "Send"
- The "Auto approve submissions" allows submissions to be automatically approved and removes the need for screening. The submissions function requires the Submit mode to include "Save submission in database"
- The "Width" field sets the form width, eg 500px
- The "Required Field Marker" sets the character that will be used to identify required (mandatory) fields in the form
- The "Show approved submissions" specifies where the approved submissions are displayed. These are all users with view access to the module.
- The "Buttons" option sets whether a button or Link is used at the bottom of the form for "Send"
- The "Keep for (days)" specifies the number of days a submission will be displayed
- The "Group by" field enables you to group output by a form item.
- The "Render as headline" allows you to specifiy one form item as a headline when displaying submissions
- The "Align headline" field is used the align the form left, right or centre
- The "Options" field allows you to include Captcha, Show the date and show labels (on displayed submissions)
- The "Show validation summary as" field a sumamry on the page and/or a message alert
- The "Display in Dropdown-List" field allows you to include the form item in the drop down list for "Edit submissions"
- Press "Update" when complete
Please also see the article on How to add a form item