Jump to content

Dynamic content based on user input

Recommended Posts

I was wondering if someone could help me with this; I’m looking to build functionality whereby a user would input a 4 digit numerical code into the site, then serve up wifi credentials based on the code. So, for example, 1234 would give you Wifi Name: X and Wifi Password Y, while 1233 would give you WIfe Name A and Wifi Password B. This could be through dynamic content (ie two content blocks that look up against a database) or, to start with, an individual page for all the codes, but either way; is there a way to do this using Squarespace, even if it is not something an application can do and would require specialist coding skills?

Link to comment
  • Replies 1
  • Views 1.1k
  • Created
  • Last Reply
On 4/6/2021 at 10:10 PM, AD88 said:

I was wondering if someone could help me with this; I’m looking to build functionality whereby a user would input a 4 digit numerical code into the site, then serve up wifi credentials based on the code. So, for example, 1234 would give you Wifi Name: X and Wifi Password Y, while 1233 would give you WIfe Name A and Wifi Password B. This could be through dynamic content (ie two content blocks that look up against a database) or, to start with, an individual page for all the codes, but either way; is there a way to do this using Squarespace, even if it is not something an application can do and would require specialist coding skills?

If your look up data is not sensitive, you can store it into squarespace block content, and it would require coding skill to find and present the data in that way

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations)
🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget 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

Archived

This topic is now archived and is closed to further replies.

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