Skip to Content Skip to Menu

Field Management problem - integer number

  • paintek
  • paintek
  • OFFLINE
  • Posts: 72
  • Thanks: 1
  • Karma: 2
12 years 3 months ago #205987 by paintek
I, i'm back!
i've got a problem i don't understand in a site with a lot of field (integrated with cb conditional & groupjive) some field don't work really good. The problem it's with integer number & their editing. Some number simply don't change & other aren't taken by the field, i don't know why i think it can be a problem by the structure of the number (if it's start with the number 0 ... ?) becouse some number can be editet, other no! i've tried to change the setting of the min/max value more times without result!

you can help me? you want the link to the site? a superadmin login?

joomla 2.5.6 - cb 1.8.1 - GJ 2.5.2 - cb conditional 1.8.1 (last version, dl today!)

tnx!

why everything seems so obvious, after someone told it to you?

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48444
  • Thanks: 8279
  • Karma: 1443
12 years 3 months ago #206020 by krileon
Replied by krileon on topic Re: Field Management problem - integer number
Edited where? Registration? Profile edit frontend? Profile edit backend? Leading zeros are stripped from integer fields. The value must be within the specified minimum and maximum range.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in or Create an account to join the conversation.

  • paintek
  • paintek
  • OFFLINE
  • Posts: 72
  • Thanks: 1
  • Karma: 2
12 years 3 months ago #206030 by paintek
Replied by paintek on topic Re: Field Management problem - integer number
i haven't tried to do a new registration, but editing the profile in frontend & backend give the same.
that notice can tell me some. in fact i've got problem with a serial number starting with 0 , there are a way to change that setting? anywhere the editing dosen't work, they don't erase the 0, they don't rewrite nothing!

why everything seems so obvious, after someone told it to you?

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48444
  • Thanks: 8279
  • Karma: 1443
12 years 3 months ago #206032 by krileon
Replied by krileon on topic Re: Field Management problem - integer number

there are a way to change that setting?

No, you'll need to use a text field with custom regex validation to only allow integers.

anywhere the editing dosen't work, they don't erase the 0, they don't rewrite nothing!

Do any other fields have this problem? Enable debug mode and maximum error reporting in Joomla global configuration then attempt to save again to see if there's some sort of fatal error.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in or Create an account to join the conversation.

  • paintek
  • paintek
  • OFFLINE
  • Posts: 72
  • Thanks: 1
  • Karma: 2
12 years 3 months ago #206033 by paintek
Replied by paintek on topic Re: Field Management problem - integer number
that can be a problem, becouse more then 100 user are registered. i can erase the field & re-create another field with the same alias? or there are also another way? i don't wanna lose my records!

ps. i haven't used the debug mode, but i'll try!

why everything seems so obvious, after someone told it to you?

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48444
  • Thanks: 8279
  • Karma: 1443
12 years 3 months ago #206036 by krileon
Replied by krileon on topic Re: Field Management problem - integer number

i can erase the field & re-create another field with the same alias? or there are also another way? i don't wanna lose my records!

I don't normally suggest this, but you can go to _comprofiler_fields and change "type" to "text" then in _comprofiler edit the fields column and change its type to varchar(255). This would change the field from integer to text. Make a backup of your database first!

ps. i haven't used the debug mode, but i'll try!

It's important to ensure both debug mode is enable and error reporting is set. Otherwise errors won't properly expose.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum