Forms

Email signup forms

Email signups forms allow users to stay engaged on a specific topic or content type. They are used to add individual email addresses to a specific mailing list that is relevant to the content on the page or the section it is contained within.

Types

Email signup form

HTML code snippet

<div class="o-email-signup">
    <header class="m-slug-header">
        <h2 class="m-slug-header__heading">
            Buying a House?
        </h2>
    </header>
    <p>
        Put your sign-up text here for the users.
    </p>
    <form class="o-form" method="POST" action="#">
        <div class="m-notification">
          <svg xmlns="http://www.w3.org/2000/svg" class="cf-icon-svg cf-icon-svg--approved-round" viewBox="0 0 17 20.4"><path d="M16.417 10.283A7.917 7.917 0 1 1 8.5 2.366a7.916 7.916 0 0 1 7.917 7.917zm-4.105-4.498a.791.791 0 0 0-1.082.29l-3.828 6.63-1.733-2.08a.791.791 0 1 0-1.216 1.014l2.459 2.952a.792.792 0 0 0 .608.285.83.83 0 0 0 .068-.003.791.791 0 0 0 .618-.393L12.6 6.866a.791.791 0 0 0-.29-1.081z"/></svg>
            <div class="m-notification__content">
                This is for notifications after the user submits e-mail address.
            </div>
        </div>
        <div class="m-form-field">
            <label class="a-label a-label--heading" for="email_2">
            Email address
            </label>
            <input class="a-text-input a-text-input--full" id="email_2" name="email" type="email" placeholder="mail@example.com" required="">
        </div>
        <div class="o-email-signup__buttons">
            <button class="a-btn">Sign up</button>
            <a class="a-btn a-btn--link" href="#" target="_blank"
            rel="noopener noreferrer">
            See Privacy Act statement
            </a>
        </div>
    </form>
</div>

Latest Updates

Page last edited:
Show all details
Edit page