Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search
  • 1
hypochandrea

Custom Newsletter Block w/ only First Name & Email

Question

Hi, I was hoping that someone here could help me 😁

I would like to customize my newsletter block so that it ONLY requires "First Name" and "Email" 

No need for Last name. Can that be hidden through some code?

Any help is greatly appreciated!

spiridonakou.com

Share this post


Link to post

5 answers to this question

Recommended Posts

  • 1

Add to Code Injection Footer

<script>
  window.Squarespace.onInitialize(Y, function(){
  sfSeconds = document.querySelector('.last-name input');
  sfSeconds.value = "NA";
  sfSecondsField = document.querySelector('.last-name');
  sfSecondsField.style.display = "none";
});
</script>

code by @paul2009, edited some lines by me.

7 hours ago, Pooks said:

Currently it is first and last name required or no name at all.

I would be really interested in the ability to just have first name and email as well.

 

Edited by tuanphan
tag

Send me a message if you have any questions (free 10 minutes).

4000+ free code: Adirondack - Avenue - Brine - Bedford - and more (all 7.0 template & 7.1)

Useful guide: How to share url (trial plan) - 2 languages site - 3 languages

Plugins: Product Enquiry Form - Product Color/Image Swatch VariantLightbox Anything

Learn CSS Basic: Treehouse - W3Schools - Flexbox

Other groups: SS Customization Resource Group - SS CSS Support - SS Community

 

Share this post


Link to post
  • 0

Last name is currently require or optional? 


Send me a message if you have any questions (free 10 minutes).

4000+ free code: Adirondack - Avenue - Brine - Bedford - and more (all 7.0 template & 7.1)

Useful guide: How to share url (trial plan) - 2 languages site - 3 languages

Plugins: Product Enquiry Form - Product Color/Image Swatch VariantLightbox Anything

Learn CSS Basic: Treehouse - W3Schools - Flexbox

Other groups: SS Customization Resource Group - SS CSS Support - SS Community

 

Share this post


Link to post
  • 0

Currently it is first and last name required or no name at all.

I would be really interested in the ability to just have first name and email as well.

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment


×
×
  • Create New...