Thread Starter
jonhs
(@jonhs)
Any updates/ideas how to save phone numbers and zip codes without losing the leading zeros when saved in Sheets? Major problem, isn’t it?
Hello Jonhs,
You can try this
— Changing the cell format to Plain Text via Format>Numbers>Plain Text will keep leading zeros.
or
— Format > Number > More Formats > Custom number format…
Refer this for more help
https://webapps.stackexchange.com/questions/35526/leading-zeros-in-google-spreadsheet-automatically-removed
https://productforums.google.com/forum/#!topic/docs/Msvwf5ePSdQ
I suggest you to go for PRO version,
https://www.gsheetconnector.com/cf7-google-sheet-connector-pro
Which helps to automate the sheets.. with unlimited sheets.
Let me know if you have any questions.
Thanks
Abdullah
Thread Starter
jonhs
(@jonhs)
Thanks Abdullah, but I tried all those with no luck.
Plain text format works when typing into the Sheet cell, but stops working when the plugin saves into info the same cell.
Custom number format: I tried different settings, but nothing worked.
The zeros are saved in the sheets-document only if I type ‘00123 in the contact form. Can’t have the apostrophe pre-filled in my forms.
Can’t do anything with Pro version if it has the same problem. Idea is to save all forms into 1 sheet.
Did you try following ?
At your google sheet click the cell where you want to enter phone number or zipcode and choose Format → Number → More formats → Custom Number Format. Enter this format for eaxmple as : 0########## . This tells Google Sheet that we will enter 10 digits, represented by the hash characters post-fix with 0 and it should show up as shown in the format.
Now paste 8881231219 into the contact form cell and it will be displayed as 08881231219
Hope this helps.
Regarding PRO it will manage in the same sheet, but in a advanced way, you can manage with data/time and much more CF7 functions.
Let us know further if you have any further queries or if did not worked the above solution.
Thanks
Abdullah
Thread Starter
jonhs
(@jonhs)
A zip code can look like any of these:
00123
01234
12345
A phone number can be:
09 12345
+3585012345
0501234567
Therefore we can’t predict if the number has any zeros or 1 or 2.