Skip to content

Latest commit

 

History

History

README.md

Form Text Field Max Length Data

Synopsis

Gather product ids and skus for use with form text field max length effects.

Version

  • 0.1.0

SS Versions

  • 7.1

  • 7.0

v7.1 Products V2 Compatible

  • Yes

v7.1 Fluid Engine Compatible

  • Yes

Dependencies


Install

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

    • Refer to Add code to code injection for details.

Notes

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.

Make a Donation

Please consider making a donation.

Changes

  • 2026-01-03

    • initial version