Results 1 to 4 of 4

Thread: Addding Tab Order Changes Field Names!

  1. #1
    LX Dog is offline Sugar Community Member
    Join Date
    Jan 2011
    Posts
    45

    Question Addding Tab Order Changes Field Names!

    Hi,

    Come across a crazy problem in 6.2.4 pro. (Build 6735)

    If I edit the tab order of a field in studio the name of the field is changed so that the tab order value disappears and becomes the first character(s) of the field name!!!

    e.g. Phone_work has become 4hone_work.

    I cant reverse it even if I remove the tab order values in studio it simply keeps coming back. Arrrgghh!!

    Anyone able to reproduce this and/or found a work around?

    Ta,

    LX Dog.

  2. #2
    developer.tim is offline Junior Member
    Join Date
    Jul 2011
    Posts
    2

    Cool Re: Addding Tab Order Changes Field Names!

    Quote Originally Posted by LX Dog View Post
    Hi,

    Come across a crazy problem in 6.2.4 pro. (Build 6735)

    If I edit the tab order of a field in studio the name of the field is changed so that the tab order value disappears and becomes the first character(s) of the field name!!!

    e.g. Phone_work has become 4hone_work.

    I cant reverse it even if I remove the tab order values in studio it simply keeps coming back. Arrrgghh!!

    Anyone able to reproduce this and/or found a work around?

    Ta,

    LX Dog.

    Well not sure about this problem but you can modify the values (tab order and other) from module's vardef.php file for sure, that won't have any side effects !

  3. #3
    rat_1785 is offline Junior Member
    Join Date
    Jan 2012
    Posts
    6

    Thumbs up Re: Addding Tab Order Changes Field Names!

    For Ex:

    modules/opportunities/metadata/editviewdefs.php

    If fields are defined like this then
    array (
    array('name'=>'name'),
    'account_name',
    ),


    Studio will generate field definition like this

    array (
    0 =>
    array (
    'name' => 'name',
    'tabindex' => '2',
    ),
    1 => '8ccount_name',
    ),



    Thus, you have to mention each fieldname in an array with 'name' as a key

    Like this : array('name'=>'name'),

    Hope This will help you...

  4. #4
    tobydz is offline Sugar Community Member
    Join Date
    Mar 2011
    Location
    Las Vegas, NV
    Posts
    144

    Default Re: Addding Tab Order Changes Field Names!

    I've run into this same bug

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. field names
    By blitz2190 in forum Help
    Replies: 1
    Last Post: 2009-07-18, 12:11 PM
  2. using [] in form field names
    By dkelly in forum Developer Help
    Replies: 2
    Last Post: 2006-07-13, 07:38 AM
  3. Custom Field - Field names
    By xray in forum Developer Help
    Replies: 10
    Last Post: 2006-04-20, 06:20 PM
  4. Changing Field Names
    By CyberFerret in forum General Discussion
    Replies: 8
    Last Post: 2005-03-02, 05:02 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •