Caresmetics Posted June 19, 2022 Share Posted June 19, 2022 Hi I want to change the phone field from 3+3+4 to 11 character one field. any advice ? Link to comment
Solution paul2009 Posted June 19, 2022 Solution Share Posted June 19, 2022 You cannot change the format of the phone field but you can use a Text field instead 🙂 JeremyDVBoyd 1 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
zoxoxu Posted September 12, 2022 Share Posted September 12, 2022 You can also change the text field with a tel field and custom pattern, you can't change the type with squarespace but you can override it. Create a normal txt input on your form copy the id of the input field (through right click -> inspect) open the settings of the page then advanced paste the follow code and replace YOUR-ID with the ID you copied <script src="https://code.jquery.com/jquery-3.6.1.min.js" integrity="sha256-o88AwQnZB+VDvE9tvIXrMQaPlFFSUTR+nldQm1LuPXQ=" crossorigin="anonymous"></script> <script> $( document ).ready(function() { $('#YOUR-ID').attr("type", "tel"); $('#YOUR-ID').attr("pattern", "[0-9]{11}"); }); </script> You can change the pattern to match what you prefer link Link to comment
JeremyDVBoyd Posted February 7 Share Posted February 7 Hi Squarespace community, Does anyone know how to change the format of the Phone form field? The forms seems fixed to the attached format of: (###) ### ### Though here in Australia, mobile numbers are written as: #### ### ### or with country code included: (##) ### ### ### Can I change the field formats to suit Australia's standard? Thanks for your help 🙂 Link to comment
tuanphan Posted February 11 Share Posted February 11 On 2/8/2023 at 6:04 AM, JeremyDVBoyd said: Hi Squarespace community, Does anyone know how to change the format of the Phone form field? The forms seems fixed to the attached format of: (###) ### ### Though here in Australia, mobile numbers are written as: #### ### ### or with country code included: (##) ### ### ### Can I change the field formats to suit Australia's standard? Thanks for your help 🙂 If you haven't solved it yet, you can consider using Text Field instead.. JeremyDVBoyd 1 Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message How to: Setup Password & Share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care 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