Visual Form Builder
[resolved] Number field (2 posts)

  1. davidgabunia
    Posted 2 years ago #

    The problem is that numbers, people should enter, starts with zero - 0.

    For example 01020008886

    And when I receive email, I don't see first figure - 0 I see only 1020008886.

    Any solution?


  2. Matthew Muro
    Visual Form Builder Pro
    Plugin Author

    Posted 2 years ago #

    Numbers are sanitized as integers and integers with leading zeros are stripped because they are not mathematically significant. This is just how intval() works.

    If you need the leading zero, I suggest using a Text field with a manual Validation option of Digits. That should work but I have not tested it specifically.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Visual Form Builder
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.