Skip to Content Skip to Menu

Lengh of drop down field

  • camdri
  • camdri
  • OFFLINE
  • Posts: 35
  • Thanks: 0
  • Karma: 0
9 years 6 months ago - 9 years 6 months ago #262711 by camdri
Lengh of drop down field was created by camdri
I just found out that the maximum length of charcters for a drop down field (for instance cb_state) is 10 characters. I would like to store more, say 15 charcaters. How can I change this?
Last edit: 9 years 6 months ago by camdri.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48478
  • Thanks: 8282
  • Karma: 1443
9 years 6 months ago #262720 by krileon
Replied by krileon on topic Lengh of drop down field
There is no store length limit as their database type is now text. If still varchar it's at most 255. A lot more than 10. Most likely it's the validation that's limiting it to 10 characters, which you can adjust by editing the field in CB > Field Management then under Parameters > Validation adjust its maximum length.


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.

  • camdri
  • camdri
  • OFFLINE
  • Posts: 35
  • Thanks: 0
  • Karma: 0
9 years 6 months ago #262724 by camdri
Replied by camdri on topic Lengh of drop down field
I'm sorry but under parameters I can't find any validation!?

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48478
  • Thanks: 8282
  • Karma: 1443
9 years 6 months ago #262731 by krileon
Replied by krileon on topic Lengh of drop down field
Sorry, the length limit would be for text type fields. A select field doesn't have a length limit at all; so what do you mean my the length? Do you mean the number of options available in the dropdown?


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.

  • camdri
  • camdri
  • OFFLINE
  • Posts: 35
  • Thanks: 0
  • Karma: 0
9 years 6 months ago #262732 by camdri
Replied by camdri on topic Lengh of drop down field
I understand it should be 255 characters. It's not the number of options (just twelve) but the maximum length of the input valuue for this field. Since it always shows the label (also in lists?) I can define a shortcode for each value. But still strange that te value may not exceed 10 characters. The label is ok though.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48478
  • Thanks: 8282
  • Karma: 1443
9 years 6 months ago #262734 by krileon
Replied by krileon on topic Lengh of drop down field
There is no such limitation in CB. The only reason for that is you changed a fields type and didn't run CB > Tools to correct the database. If your state field is the one generated by our sample data then it was originally a text field. Even then it still doesn't have a database store limit of 10. I recommend running the database tools checks within CB > Tools to correct and database issues. If issue persists try re-creating your field as I've no idea what could be doing that.


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