Skip over navigation

These documentation pages may contain screenshots and instructions for an older version of Roxen CMS; however, most of the information should still be relevant. The Roxen CMS servers will be shut down September 2019.

Forms & Response

The Forms & Response module allows the construction of a web form to gather user-submitted data and store it in a database. The site administrator can retrieve that data, using the “Form: View” component and/or rely on auto-generated form submission emails.

Because each departmental Roxen server shares a common database for submitted Forms & Response data, the module should not be used to gather sensitive information, such as data that would be protected under the Family Educational Rights and Privacy Act (FERPA).

  • Simple Form
    This form does not use any custom code. It just uses the standard Forms & Response components, inserted into a normal content page.
  • Form with LDAP Lookup (login required)
    It is possible to query an LDAP directory server to automatically fill in fields for the user. A protection point is added so that the directory lookup is based on the authenticated netID.
  • Form with Hidden Fields (login required)
    You can make a field hidden that dynamically gathers data and is not modifiable by the user. This example also includes LDAP lookup to fill in some fields.
  • Form with Custom Response Emails
    While the “Form: Submit” component does have the ability to generate an e-mail, the email is badly formatted, and you are limited to a single version of the auto-response e-mail. Using the RXML <email> tag, you can customize as many emails as you need to generate upon form submission.
  • Multi-page Form
    It may be friendlier to the form user to split up a form into logical sections. Data for each section is saved and validated as the user navigates backwards and forwards through the form. No data is stored in the database until the user submits the form.
  • Form with Branching
    A form with questions and options that are not relevant to the user filling out the form can be confusing and annoying. Using conditional branching can help simplify the form by hiding pages of a multi-page form that do not pertain to the user.
  • Form with RXML Validation
    Even if you provide form instructions, many of those who fill out the information will misunderstand or ignore the instructions and provide incomplete information. You can add server-side validation that does not allow the form to be submitted if it fails the validation check.
  • Form with an Attachment
    The “Form: Attachment” component allows the form submitter to browse a local computer for a file and upload it to the server. It presents special challenges if you want to email a copy of the attachment.
  • Form with CAPTCHA
    This form combines form validation with the CAPTCHA module to frustrate spam bots.