Jump to content

Add Hidden Field to Form

Go to solution Solved by Ziggy,

Recommended Posts

Posted

Hi!

Is there anyone who can assist in adding a hidden field to the forms we have on the website for us to identify which page it was submitted from?

 

Thank you!

  • Solution
Posted

You should be able to do this by naming the forms individually. 

But, if you want to add a field at the end and hide it, this Custom CSS will hide the final field in every form (just make sure the field isn't set to required!)

.form-wrapper .react-form-contents .field-list .field:last-child {
  display:none;
}

 

Please like and upvote if my comments were helpful to you. Cheers!

Zygmunt Spray
Squarespace Website Designer
Contact me: 
https://squarefortytwo.com 
Hire me on Upwork!

📈 SEO Space (Referral link)
Ⓜ️ 
Will Myers' Plugins & Tutorials (Referral link)
 🔌 Ghost Squarespace Plugins (Referral link)
 SquareWebsites Plugins (Referral link)
 🔲SQSP Themes (Referral link) 
Spark Plugin (Referral link) 
 🖼️Pinch-to-Zoom Gallery Lightbox Plugin (Referral link) 

 Did I help? Buy me a coffee?

Create an account or sign in to comment

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

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.