2017 © Pedro Peláez
 

silverstripe-vendormodule silverstripe-enquiry-page

Simple contact page with enquiry form

image

axllent/silverstripe-enquiry-page

Simple contact page with enquiry form

  • Thursday, March 8, 2018
  • by axllent
  • Repository
  • 1 Watchers
  • 3 Stars
  • 481 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 2 Forks
  • 0 Open issues
  • 20 Versions
  • 4 % Grown

The README.md

Enquiry Page Module for Silverstripe 5

This is a simple module to add an Enquiry Page pagetype to the CMS. The module uses optional JavaScript form validation, so no requirements for third-party JavaScript libraries (eg: jQuery). The enquiry form can be configured to add & order your own fields, including the following types:, (*1)

  • Text (TextField/TextAreaField)
  • Email (EmailField)
  • Select (DropdownField), options configurable
  • Checkbox (CheckboxSetField), options configurable
  • Options (OptionsetField), options configurable
  • Readonly (HTMLReadonlyField), optional html text
  • HTML section (HTMLText)

Configuration options include:

  • Send email to
  • Send email from (the "reply to" will default to the first Email field in the form, or alternatively this value)
  • Email subject
  • Message once completed
  • BCC copy
  • Submit button text
  • Optional built-in captcha image

Captcha Image

A randomly-generated captcha image can be easily enabled in the form via the CMS. By default it will produce a 4-digit image 60x30px with an input field next to it. If you wish to change the height of the image (eg: to match bootstrap input styling), you can configure this in your YAML:, (*2)

Axllent\EnquiryPage\EnquiryPage:
  captcha_img_height: 35

Please note that the height should be no less than 20 (else the numbers may not be displayed properly)., (*3)

If you use web services that dynamically change the REMOTE_ADDR field (most notably CloudFlare) you can configure another field, e.g.:, (*4)

Axllent\EnquiryPage\EnquiryPage:
  # Try $_SERVER['HTTP_CF_CONNECTING_IP'] (CloudFlare custom field) before
  # $_SERVER['REMOTE_ADDR'], so it will work with and without CloudFlare
  client_ip_fields:
    - HTTP_CF_CONNECTING_IP
    - REMOTE_ADDR

If required, you can disable the client IP retrieval entirely by unsetting that option., (*5)

JavaScript validation

If you wish to turn on the built-in JavaScript validation, then this can be added to your site's YAML config:, (*6)

Axllent\EnquiryPage\EnquiryPage:
  js_validation: true

Requirements

Installation

composer require axllent/silverstripe-enquiry-page

The Versions

08/03 2018

dev-master

9999999-dev https://github.com/axllent/silverstripe-enquiry-page

Simple contact page with enquiry form

  Sources   Download

MIT The MIT License (MIT)

The Requires

 

email form silverstripe contact

06/03 2018
06/02 2018

dev-silverstripe3

dev-silverstripe3 https://github.com/axllent/silverstripe-enquiry-page

Simple contact page with enquiry form

  Sources   Download

MIT The MIT License (MIT)

The Requires

 

email form silverstripe contact

09/01 2018

2.1.0

2.1.0.0 https://github.com/axllent/silverstripe-enquiry-page

Simple contact page with enquiry form

  Sources   Download

The MIT License (MIT)

The Requires

 

email form silverstripe contact

24/10 2017

2.0.5

2.0.5.0 https://github.com/axllent/silverstripe-enquiry-page

Simple contact page with enquiry form

  Sources   Download

The MIT License (MIT)

The Requires

 

email form silverstripe contact

17/10 2017

2.0.4

2.0.4.0 https://github.com/axllent/silverstripe-enquiry-page

Simple contact page with enquiry form

  Sources   Download

The MIT License (MIT)

The Requires

 

email form silverstripe contact

27/09 2017

2.0.3

2.0.3.0 https://github.com/axllent/silverstripe-enquiry-page

Simple contact page with enquiry form

  Sources   Download

The MIT License (MIT)

The Requires

 

email form silverstripe contact

08/08 2017

2.0.2

2.0.2.0 https://github.com/axllent/silverstripe-enquiry-page

Simple contact page with enquiry form

  Sources   Download

The MIT License (MIT)

The Requires

 

email form silverstripe contact

04/07 2017

2.0.1

2.0.1.0 https://github.com/axllent/silverstripe-enquiry-page

Simple contact page with enquiry form

  Sources   Download

The MIT License (MIT)

The Requires

 

email form silverstripe contact

21/06 2017

2.0.0

2.0.0.0 https://github.com/axllent/silverstripe-enquiry-page

Simple contact page with enquiry form

  Sources   Download

The MIT License (MIT)

The Requires

 

email form silverstripe contact

30/01 2017

1.1.6

1.1.6.0 https://github.com/axllent/silverstripe-enquiry-page

Simple contact page with enquiry form

  Sources   Download

The MIT License (MIT)

The Requires

 

email form silverstripe contact

10/11 2016

1.1.5

1.1.5.0 https://github.com/axllent/silverstripe-enquiry-page

Simple contact page with enquiry form

  Sources   Download

The MIT License (MIT)

The Requires

 

email form silverstripe contact

16/10 2016

1.1.4

1.1.4.0 https://github.com/axllent/silverstripe-enquiry-page

Simple contact page with enquiry form

  Sources   Download

The MIT License (MIT)

The Requires

 

email form silverstripe contact

25/07 2016

1.1.3

1.1.3.0 https://github.com/axllent/silverstripe-enquiry-page

Simple contact page with enquiry form

  Sources   Download

The MIT License (MIT)

The Requires

 

email form silverstripe contact

21/07 2016

1.1.2

1.1.2.0 https://github.com/axllent/silverstripe-enquiry-page

Simple contact page with enquiry form

  Sources   Download

The MIT License (MIT)

The Requires

 

email form silverstripe contact

25/04 2016

1.1.1

1.1.1.0 https://github.com/axllent/silverstripe-enquiry-page

Simple contact page with enquiry form

  Sources   Download

The MIT License (MIT)

The Requires

 

email form silverstripe contact

22/04 2016

1.1.0

1.1.0.0 https://github.com/axllent/silverstripe-enquiry-page

Simple contact page with enquiry form

  Sources   Download

The MIT License (MIT)

The Requires

 

email form silverstripe contact

20/04 2016

1.0.1

1.0.1.0 https://github.com/axllent/silverstripe-enquiry-page

Simple contact page with enquiry form

  Sources   Download

The MIT License (MIT)

The Requires

 

email form silverstripe contact

28/02 2016

1.0.0

1.0.0.0 https://github.com/axllent/silverstripe-enquiry-page

Simple contact page with enquiry form

  Sources   Download

The MIT License (MIT)

The Requires

 

email form silverstripe contact

23/04 2014

3.0.x-dev

3.0.9999999.9999999-dev https://github.com/axllent/silverstripe-enquiry-page

Simple contact page with enquiry form

  Sources   Download

The MIT License (MIT)

The Requires

 

email form silverstripe contact