Results 1 to 2 of 2

Thread: Tab forward to custom fields

  1. #1
    cbierwerth is offline Sugar Community Member
    Join Date
    Jun 2006
    Posts
    22

    Default Tab forward to custom fields

    I need some help in fixing the Tab forward from a Sugar field to a custom field. I have added cusom fields in Accounts and Calls and tasks to capture the information I need for sales. I am not a programmer, my programmer is working on revenue generating projects so I am trying to find some of these fixes to forward to him and save time.

    How do I get the program to tab forward properly in Edit mode from a Sugar field to a custonm field? When it hits encounters a custom field you have to use the mouse to click to the next field - which is not very efficient. Any help on this please?

  2. #2
    sadek's Avatar
    sadek is offline Sugar Team Member
    Join Date
    Sep 2005
    Posts
    244

    Default Re: Tab forward to custom fields

    Edit the html file for the EditView in question:
    <sugarroot>/modules/<module_name>/EditView.html

    You will see slot tags for all your fields like the following:
    Code:
    <td  class="dataLabel"><slot>{MOD.LBL_CITY}</slot></td>
    <td class="dataField"><slot><input id='primary_address_city' name='primary_address_city' tabindex='3' size='25' maxlength='100' value='{PRIMARY_ADDRESS_CITY}'></slot></td>
    You can change all the orders by changing the values of the tabindex='3'
    The custom fields to not have values specified, so add them as necessary.

    -Sadek

Thread Information

Users Browsing this Thread

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

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
  •