Giter Site home page Giter Site logo

Comments (4)

rhukster avatar rhukster commented on May 23, 2024 1

4.0.2 is in the pipeline to be released. This should resolve your issue.

from grav-plugin-email.

rhukster avatar rhukster commented on May 23, 2024

Can you provide me with the form configuration that led to this? Specifically the bit that looks like this:

form:
 ...
 process:
  ...
  email:
   ... (this part specifically)

from grav-plugin-email.

matt-j-m avatar matt-j-m commented on May 23, 2024

It's for a user registration with the login plugin. Here's the frontmatter for the registration page:

title: 'Registration'
process:
    twig: true
    markdown: false
metadata:
    robots: 'noindex,nofollow'
forms:
    registration-form:
        fields:
            username:
                display_label: false
                classes: 'mt-2'
                outerclasses: field-container-wide
                placeholder: Username
                type: text
                validate:
                    required: true
                    message: PLUGIN_LOGIN.USERNAME_NOT_VALID
                    config-pattern@: system.username_regex
            email:
                display_label: false
                classes: 'mt-2'
                outerclasses: field-container-wide
                placeholder: Email
                type: email
                validate:
                    required: true
                    pattern: '^[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]*$'
                    message: 'Must be a valid email address.'
            password:
                id: password
                display_label: false
                classes: 'mt-2'
                outerclasses: 'field-container-wide margin-0'
                placeholder: 'Enter a password'
                type: password
                label: 'Enter a password'
                validate:
                    required: true
                    message: PLUGIN_LOGIN.PASSWORD_VALIDATION_MESSAGE
                    config-pattern@: system.pwd_regex
            toggle:
                display_label: false
                classes: 'mt-2'
                type: checkbox
                label: 'Show password'
                outerclasses: field-container-wide
        buttons:
            -
                type: submit
                value: Register
                classes: 'btn btn-secondary text-uppercase mt-2'
                outerclasses: text-center
        process:
            -
                register_user: true

from grav-plugin-email.

matt-j-m avatar matt-j-m commented on May 23, 2024

Thanks @rhukster email is now sending on v4.0.2

from grav-plugin-email.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.