1. K-State home
  2. »DCM
  3. »Web Services
  4. »CMS
  5. »Help Documentation
  6. »Creating a form

Web Services

Creating a form

  1. On the Content tab, click Assets.
  2. Click the green New button. Click Form. Note: If you don't see the Form option, contact webservices@k-state.edu.

    Managed form screen shot

  3. Fill out the Asset Info
    1. Name: short, clear name
    2. Description: purpose of form
    3. Tags: keywords to help find the form 
    4. Lock to site: leave as default setting
  4. Leave the Access Settings as default.
  5. The Form Elements in the left column are the fields for your form. Click the green plus sign or drag and drop to add Form Elements to the Elements block. See details and examples of Form Elements.

    Form elements

  6. Send email to one or more addresses when the form is submitted using Email Messages.
    1. Click the green Add button.
    2. Type or copy email addresses in the To field that you want to receive the email. Add more than one email address by putting a semicolon (;) between them.
    3. The From field can be a departmental email or the email you want the form to come from. It must be a valid email address or the form will submit, but not send the email.
      1. To send the form from the email of the submitter, put the Name of the email input in the From field using the syntax {{Name}}.
    4. Enter a Subject that reflects the content of the email.
    5. Enter Body text.
  7. Emailing form content
    1. Form content can be automatically appended after the Body text by checking the Include all submitted values checkbox
    2. Body text can also be customized to include form fields within the content. To add the form field content to the email message, list each field Name in the Body section using the syntax {{Name}}. After typing the first two braces, the system will search the field names and provide a drop down list to select from.

Email messages

  1. Form Settings
    1. The Success Message is either text that displays on the page after the form is submitted or you can redirect them to another webpage.
      1. To use the URL Redirect, select it from the drop down and browse for the page you want them to go to.
    2. The Failure Message is the text that displays on the page if for some reason the form does not successfully submit.
    3. The Save Results checkbox saves the data in the database for later access.
  2. Submission Button Text: Provide text for the submit button that is an action such as Request webspace, Send feedback, Request information, etc. Using phrases that describe what the user is doing is more intuitive and explanatory.
  3. Click the blue Create button at the bottom of the page to save the form.
  4. Click the green Publish button to publish the form and make it available to be inserted in a page.
Next, see Adding a form to your page.