WordPress.org

Ready to get started?Download WordPress

Forums

Visual Form Builder
[resolved] Number in scientific notation (3 posts)

  1. jlehrer
    Member
    Posted 1 year ago #

    I have a number field that has started to convert entries to scientific notation. For example, the number entered was 10341170130000 but it came across as 1.034117013E+13. The field is formatted as a number, with the validation set to "number." I'm using ver 2.7.8. The form used to work properly but it started giving me the scientific notation recently after the site was moved to a different folder on the web host.

    http://wordpress.org/plugins/visual-form-builder/

  2. Matthew Muro
    Visual Form Builder Pro
    Plugin Author

    Posted 1 year ago #

    What you are seeing is a physical limitation of PHP. All numbers are sanitized on the back-end to make sure your data is what it's supposed to be. The workaround is to use a Text field with the digits validation. I do have a new solution that I will put in place for the next update, though.

  3. jlehrer
    Member
    Posted 1 year ago #

    Matthew, thank you for responding so quickly. The text field works well for my purposes.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.