Gather product ids and skus for use with form text field max length effects.
- 0.1.0
-
7.1
-
7.0
- Yes
- Yes
-
Squarespace plan that supports JavaScript.
-
Install Cart Page Observe Changes. After you install the code be sure to continue on with the rest of the steps.
-
Options
-
CDN Hosted
Use this option for the quickest way to install this effect (files hosted externally on the jsDelivr, a CDN)
-
Add the following code to Website > Pages > Custom Code > Code Injection > FOOTER.
<!-- begin TWC Form Text Field Max Length Data --> <!-- License < https://github.com/tomsWebConsulting/twcsl/blob/main/LICENSE.txt#L1 > --> <script src="https://cdn.jsdelivr.net/gh/tomsWebConsulting/twcsl@44bb419202ee883221805f65e9ee7295eb90beaf/Element/Form/Form%20Text%20Field%20Max%20Length%20Data/form%20text%20field%20max%20length%20data.min.js" type="module"></script> <!-- end TWC Form Text Field Max Length Data -->
-
-
On-site
Use this option to install the full code of this effect (files hosted on your site).
- Add code from file form text field max length data.html to Website > Pages > Custom Code > Code Injection > FOOTER.
-
Refer to Add code to code injection for details.
-
This code is a base for other effects.
This code makes calls to the json version of products for information that is not normally available.
This code does not work on the Checkout Page. It is a Squarespace security feature that no code can alter the Checkout Page.
Please consider making a donation.
-
2026-01-03
- initial version