Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8862683
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T15:47:13+00:00 2026-06-14T15:47:13+00:00

My user registration form has a field for contact number (mobile number) which is

  • 0

My user registration form has a field for contact number (mobile number) which is 10 digits long. I used a normal integer field which gives me “Out of range” error

PDOException: SQLSTATE[22003]: Numeric value out of range: 1264 Out of range value for column ‘field_mobile_number_value’ at row 1: INSERT INTO {field_revision_field_mobile_number} (entity_type, entity_id, revision_id, bundle, delta, language, field_mobile_number_value) VALUES (:db_insert_placeholder_0, :db_insert_placeholder_1, :db_insert_placeholder_2, :db_insert_placeholder_3, :db_insert_placeholder_4, :db_insert_placeholder_5, :db_insert_placeholder_6); Array ( [:db_insert_placeholder_0] => user [:db_insert_placeholder_1] => 26 [:db_insert_placeholder_2] => 26 [:db_insert_placeholder_3] => user [:db_insert_placeholder_4] => 0 [:db_insert_placeholder_5] => und [:db_insert_placeholder_6] => 9841232323 ) in field_sql_storage_field_storage_write() (line 449 of C:\wamp\www\ANICBS\modules\field\modules\field_sql_storage\field_sql_storage.module).

There doesnt seem to be a field for long integers in Drupal core. How can I work around this?

I even tried changing the field type to “BIG INT” straight in the database. but the error presists.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-14T15:47:14+00:00Added an answer on June 14, 2026 at 3:47 pm

    you can try cck_phone module otherwise make it as text field and apply validation for it.

    http://drupal.org/project/cck_phone

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a user registration form that has a password and confirm password field.
The website has a normal registration form which allows users to register and the
I am creating an user registration form using jsp,in which there is an option
I have a registration form where user has to enter his credentials plus a
I'm making a registration form and I want to check if the user has
I have several text fields which compromise a registration form . When the user
A simple registration form has a field Preferred login id (username). As soon as
I have a json form field which has a check box as coded :
I have a user registration Form. If a new User register their account in
I have to do a user registration form (classical layout with two columns, labels

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.