Results 1 to 3 of 3

Thread: change default value of boolean

  1. #1
    dha123 is offline Member
    Join Date
    Aug 2009
    Posts
    5

    Default change default value of boolean

    Hi:

    I need help.

    I have a field that is a drop down set to bselect_type_dom with the default value set to true.

    I need to change the default value to false.

    The Default Value: bool_true is grayed out and I can't change it.

    How do I do this?

    Thanks

    Dave

  2. #2
    ncarp is offline Junior Member
    Join Date
    Nov 2010
    Posts
    3

    Default Re: change default value of boolean

    I would like to know the answer to this too.

    Thanks

  3. #3
    eitrix's Avatar
    eitrix is offline Sugar Community Member
    Join Date
    Aug 2010
    Location
    Serbia
    Posts
    396

    Default Re: change default value of boolean

    How did you create this field?

    If it's in code you can go to field definition in code and add

    'default_value' => true
    CRM Software Engineer
    Eontek - www.eontek.rs

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Boolean Search?
    By JoeySperz in forum Help
    Replies: 1
    Last Post: 2009-04-01, 12:05 AM
  2. Change Default Theme
    By aubreyisland in forum Help
    Replies: 6
    Last Post: 2009-02-24, 02:27 PM
  3. pb with boolean fields
    By sugarIStheBEST in forum Help
    Replies: 1
    Last Post: 2007-09-03, 04:26 PM
  4. How to change the default dropdown value
    By rustinp77 in forum Help
    Replies: 5
    Last Post: 2007-07-02, 06:13 PM
  5. change default value
    By emyllyma in forum Developer Help
    Replies: 1
    Last Post: 2007-02-08, 11:05 PM

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
  •