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

Is there any way to delete the 'last name' box on a form?

Recommended Posts

Hi there, my name is James and I'm new to Squarespace.

I've created a contact form for my website and I'd like to delete the 'last name' box if possible, is there any way I can do this?

Thanks.

Share this post


Link to post

Yes and no, you could achieve it with CSS but you would need to set the name field to make it not mandatory. If you would like to do this just enter the below into your websites global CSS.

.last-name {
  display:none;
}

But if you want to just collect somebody's first name then I would just recommend using the text field instead and just calling it first name.

https://support.squarespace.com/hc/en-us/articles/205814018#toc-text


If you see an answer that was helpful please consider hitting the 121238226_Screenshot2019-11-02at14_53_39.png.0416997a5e856e0159fa1edbd624659e.png button on the right. 

Need help with your website or online store? Feel free to get in touch.

thompsonweb.design

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...