Contact Form

General plugins (Local) ::: local_contact
Maintained by Michael Milette
Contact Form is a Moodle plugin that allows your site to process and send information submitted through HTML web forms to the site's support email address or primary administrator if the support email address is not defined.
Latest release:
5343 sites
1k downloads
99 fans
Current versions available: 1

The Contact Form plugin for Moodle processes information submitted through a custom web form, sending it by email to the site's support email address, if defined, or to the primary system administrator.

Examples uses for this plugin include:

  • Contact us form.
  • Support request form.
  • Request a course form.
  • Information request form.
  • Lead generation form.
  • Membership application form.

Share with us how you use this plugin on your site.

Note: This is not a web form builder but a form processor. You must have some knowledge of how to create HTML forms or at the very least be able to cut and paste the example included in the README file.

Contact Form templates

If you are not familiar with HTML, consider using the following easy to use plain text {form...} tags included with the FilterCodes plugin. These will generate a Contact Form templates and therefore require that you have the FilterCodes plugin installed and activated.

  • {formquickquestion} : Adds a "quick question" form to your course. Form includes Subject and Message fields. Note: User must be logged in or the form will not be displayed.
  • {formcontactus} : Adds a "Contact Us" form to your site (example: in a page). Form includes Name, Email address, Subject and Message fields.
  • {formcourserequest} : Adds a "Course Request" form to your site (example: in a page). Unlike Moodle's request-a-course feature where you can request to create your own course, this tag allows users to request that a course they are interested in be created. Could also be used to request to take a course. Form includes Name, Email address, Course name, Course Description.
  • {formsupport} : Adds a "Support Request" form to your site (example: in a page). Form includes Name, Email address, pre-determined Subject, specific Subject, URL and Message fields.
  • {formcheckin} : Adds a "I'm here!" button to your to your course. Form does not include any other fields. Note: User must be logged in or the button will not be displayed.

The initial work for this project was sponsored by the kind folk at l'Action ontarienne contre la violence aux femmes. Contact Form benefits from ongoing development by TNG Consulting Inc..

Potential privacy issues

Reminder: Email message protocols may cross the Internet and store messages on mail servers in unencrypted plain text. If you are sending messages outside of your local area network, it is highly recommended that you do not use this plugin to collect sensitive information such as social insurance or credit card numbers. It has nothing to do with this plugin's functionality but just with the way email protocols work. This plugin on its own does not store any information - anywhere.

Screenshots

Screenshot #0
Screenshot #1
Screenshot #2

Contributors

Michael Milette (Lead maintainer)
Please login to view contributors details and/or to contact them

Comments RSS

ความเห็น

  • Plugins bot
    ศ., 20 ม.ค. 2017, 10:10 PM
    Approval issue created: CONTRIB-6676
  • Simey Lameze
    พ., 25 ม.ค. 2017, 3:37 PM
    Hi Michael Milette, thanks for sharing your plugin with the moodle community.

    I am going to review your plugin to see if it is ready to be published.

    Thanks!
  • bobby demers
    อ., 23 พ.ค. 2017, 9:39 PM
    Probably a silly question, but how do I find this plugin to set it up?
    I've installed it on our Moodle, but it's not an Activity/Resource or a Block....

    We are setting up a new course and this plugin would be ideal for the parents of the kids to use the Contact Form.

    Cheers

    bobby
  • Michael Milette
    อ., 23 พ.ค. 2017, 10:46 PM
    Hi Bobby, thanks for the great question - it is not silly at all. smile

    This plugin is for administrators with a little knowledge of HTML forms. As you've already noticed, there is no special activity, resource or block for this plugin. It just uses a regular Moodle page or HTML block. Until I update the documentation to make the setup process a little clearer, the following steps should hopefully get you started:

    1. Use the "More documentation on this plugin" link on the plugin's page to access the documentation. A copy of the documentation is also included with the plugin.
    2. Scroll down to the "Usage & Settings" section. There you will find an example of HTML code for a Contact Us form. Copy this to your clipboard.
    3. Create a new Moodle page or HTML block on your Moodle site where you will want the form to appear.
    4. IMPORTANT: Switch to the Source Code view in the editor and then paste the form code you copied in step 2 above.
    5. Save your changes.

    That's it. Additional examples of forms are available on the plugin's GitHub Wiki. You can of course customize it to suit your particular requirements but be sure to do so in the Source Code view in the editor. Consult the plugin's documentation as there are certain elements of the form that must be present in order for it to work. The documentation also includes helpful troubleshooting information.

    Please feel free to follow up with questions using the recently added forum "Discussion" link available on the plugin's page.

    Best regards,

    Michael
  • bobby demers
    อ., 23 พ.ค. 2017, 11:31 PM
    Got it. I set it up as an HTML Block so it's always visible on the page. Looks good....
    Hopefully the explanation will help others in setting this up as well smile

    Can I suggest to add an option that directs the emails generated by the created contact forms to someone other than the Moodle admin?
    It would be great if they were sent to a specific email address, i.e. the correct person in the department, rather than admin (especially as this one would be coming from parents). I can't really set up an office admin to get the Moodle admin mail!!

    Thanks for the help

    Regards

    bobby
  • Michael Milette
    พ., 24 พ.ค. 2017, 12:03 AM
    For sure Bobby, really grateful for your suggestion. That would indeed be a useful feature. It was actually on the Future Releases list in the documentation at one point but must have been accidentally removed. I have created a request in the Bug Tracker so that I don't forget about it and will make sure it is included in an upcoming release (likely next release).
  • Sheila Owen
    อ., 30 พ.ค. 2017, 8:53 AM
    I would also like to use this form with the option of changing the recipient according to a drop-down list of subjects (eg Student Services, School fees, Exam related etc). This is so simple to do in normal forms, but I realise it's a different matter when in Moodle. Is the next release of the plugin coming soon?
Please login to post comments