jkuang Posted November 21, 2020 Share Posted November 21, 2020 How do I prepopulate the date field in checkout page custom form? Currently I could add a date field in my custom form in checkout page. And immediately I realize how difficult it is for customer to manually enter DD/MM/YYYY I understand that Squarespace won't allow developers to add Javascript to prepopulate fields in checkout page. But is there any other solution out there that can populate it to TODAY's date. At least it alleviate the pain from the customer a little bit. Thank you! Link to comment
paul2009 Posted November 21, 2020 Share Posted November 21, 2020 Sadly you can't. As you've read, Squarespace doesn't allow any code to be added to the checkout, and there isn't another way to achieve this. 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
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment