raywjohnson
01-16-2019, 04:24 AM
Re-posting this here as the support at vbulletin.com is non-existent. I posted Oct 2018, still not response.
Initial post:
I have a userfield for storing Zip Codes. "Single Line Text Box" -- but it trims leading zeros from foreign zip code (00622 becomes 622 for Puerto Rico).
Is there a setting or simple fix?
Follow up today:
I have narrowed it down to the 'forcetext' array.
How to add the other custom fields to the ['userfield']['forcetext'] array (in core/packages/vbforum/db/mysql/querydefs.php)?
Thanks for any info or insight,
--RayJ
--------------- Added 1547688214 at 1547688214 ---------------
Update. vB.com answered. No way to fix other than hacking.
Initial post:
I have a userfield for storing Zip Codes. "Single Line Text Box" -- but it trims leading zeros from foreign zip code (00622 becomes 622 for Puerto Rico).
Is there a setting or simple fix?
Follow up today:
I have narrowed it down to the 'forcetext' array.
How to add the other custom fields to the ['userfield']['forcetext'] array (in core/packages/vbforum/db/mysql/querydefs.php)?
Thanks for any info or insight,
--RayJ
--------------- Added 1547688214 at 1547688214 ---------------
Update. vB.com answered. No way to fix other than hacking.