Jump to content

Java but not java field input question

Recommended Posts

I am looking to have a feature where I have an entry field that, when you put certain inputs into the field, it brings you to certain pages.

Example: [query field] - site visitor enters "elephants"> hit enter> the site navigates them to the designated page for the input "elephants"

I learned how to do this feature in javascript, but I would need to upgrade to a premium service to use javascript in squarespace code blocks.

FROM SQUARESPACE: " On all plans, code blocks support plain text, HTML, Markdown, and CSS code surrounded by (style) tags. "

Question: Is there any way to code the feature I'm describing without upgrading my plan to use javascript?

 

TIA, I hope this was specific enough.

Edited by xeoomni
javascript
Link to comment
  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

17 minutes ago, xeoomni said:

I am looking to have a feature where I have an entry field that, when you put certain inputs into the field, it brings you to certain pages. I learned how to do this feature in java, but I would need to upgrade to a premium service to use java in squarespace code blocks.

Perhaps you mean JavaScript? JavaScript is supported on Business Plans or above. Java is not supported.

About: Squarespace Circle Leader since 2017. I value honesty, transparency, diversity and great design ♥.
Work: Squarespace Developer and founder of SF Digital, building the features Squarespace didn't include™. 
Content: Links in my posts may refer to SF Digital products or may be affiliate links.

Catch up on all the release notes and announcements 2023 [for Circle members only]. There's a public version here too!
If I helped, you can thank me by clicking one of the emojis below. If you prefer, you can buy me a coffee.
Improve your online store with our extensions.

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.