Jump to content

How can I add text to a form block?

Recommended Posts

Hi,

I would like to add text WITHIN a form block. To be more specific: I would like to add the following text (a disclaimer) underneath the button in my form block:

"By sending your email, you are also agreeing to subscribe to...."

I would like to specifically have the text WITHIN the form block. I tried to add a text block directly underneath the form block but there is too much space in between the button and text. I don't like the visual.

Can anybody help me with the CSS coding?

Thanks!

Screen Shot 2020-12-16 at 2.06.29 PM.png

Link to comment
13 hours ago, PatrickWriter said:

Hi,

I would like to add text WITHIN a form block. To be more specific: I would like to add the following text (a disclaimer) underneath the button in my form block:

"By sending your email, you are also agreeing to subscribe to...."

I would like to specifically have the text WITHIN the form block. I tried to add a text block directly underneath the form block but there is too much space in between the button and text. I don't like the visual.

Can anybody help me with the CSS coding?

Thanks!

Screen Shot 2020-12-16 at 2.06.29 PM.png

You can add the text and send us your page url to check the css

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox, video lightbox and much more)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 No-code customisations for Squarespace (+100 Spark plugin customisations)
🥳 Freemium Squarespace Widget Templates (+1000 Elfsight Templates)

If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you!

Link to comment
  • 2 weeks later...
  • 4 months later...
  • 5 months later...
  • 2 years later...

This is very helpful, thank you!

Is there a way to add multiple paragraphs in the "Enter text here" section? I've tried <p>, <br>, but they just show up as text, not actual HTML.

Also, is there a way to add multiple .form-button-wrapper sections to one form, so explanatory text can exist between multiple form fields? 

Link to comment
4 hours ago, nikbongard said:

Is there a way to add multiple paragraphs in the "Enter text here" section? I've tried <p>, <br>, but they just show up as text, not actual HTML.

CSS can not be used to create HTML elements. CSS is only for styling how things look not creating structure.

Have you tried using Line fields?

Screenshot2024-05-11at3_56_59PM.thumb.png.12df404358caa84330fb456d8e8cffc2.png

You can't do fancy styling but you can have paragraphs.

If the Line field won't do then your left with using JavaScript to create the structure needed. I know of no code that currently does this.

Find my contributions useful? Please like, upvote, mark my answer as the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things ) consultant open for new projects.

Link to comment

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.