Results 1 to 5 of 5

Thread: Disable fields from the logic hook

  1. #1
    ishaan is offline Senior Member
    Join Date
    Apr 2009
    Location
    Mumbai,India
    Posts
    100

    Default Disable fields from the logic hook

    Is there any way i can disable a field from a logic hook based on a particular condition.



    Thanks in advance

    Your help will be highly appreciated

    Cheers,
    Ishaan

  2. #2
    andopes's Avatar
    andopes is offline A Sugar Hero | Help Forum Moderator
    Join Date
    Jul 2006
    Location
    São Paulo - Brazil
    Posts
    8,335

    Default Re: Disable fields from the logic hook

    Do you want to disable a field on EditView based on some specific condition, like a value for another field?
    If yes so try DevToolKit.

    Cheers
    André Lopes
    DevToolKit / Project of the Month - June 2009
    Lampada Global Services- Open Source Solutions
    Avenida Ipiranga, 318
    Bloco B - CJ 1602
    São Paulo, SP 01046-010
    Brazil
    Office: +55 11 3237-3110
    Mobile: +55 11 7636-5859
    e-mail: andre@lampadaglobal.com

    Lampada Global delivers offshore software development and support services to customers around the world.
    Lampada is proud to be a SugarCRM Gold Partner, revolutionizing Customer Relationship Management.

    I DO NOT answer questions through PM and Email. If you need some help post your question into SugarForum.

  3. #3
    asokanstar is offline Member
    Join Date
    Jun 2009
    Posts
    16

    Smile Re: Disable fields from the logic hook

    can you explain, how to disable the fields using STUDIO ?

  4. #4
    andopes's Avatar
    andopes is offline A Sugar Hero | Help Forum Moderator
    Join Date
    Jul 2006
    Location
    São Paulo - Brazil
    Posts
    8,335

    Default Re: Disable fields from the logic hook

    There is no way to disable fields through Studio, unless you remove the field from layout.

    Cheers
    André Lopes
    DevToolKit / Project of the Month - June 2009
    Lampada Global Services- Open Source Solutions
    Avenida Ipiranga, 318
    Bloco B - CJ 1602
    São Paulo, SP 01046-010
    Brazil
    Office: +55 11 3237-3110
    Mobile: +55 11 7636-5859
    e-mail: andre@lampadaglobal.com

    Lampada Global delivers offshore software development and support services to customers around the world.
    Lampada is proud to be a SugarCRM Gold Partner, revolutionizing Customer Relationship Management.

    I DO NOT answer questions through PM and Email. If you need some help post your question into SugarForum.

  5. #5
    ishaan is offline Senior Member
    Join Date
    Apr 2009
    Location
    Mumbai,India
    Posts
    100

    Default Re: Disable fields from the logic hook

    I guess , the quick solution to disabling fields is to write javascript in view.edit.php

    Cheers,
    Ishaan

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. help with a logic hook
    By souheil in forum Français
    Replies: 12
    Last Post: 2009-03-13, 09:00 AM
  2. logic Hook up
    By sugar7478 in forum Developer Help
    Replies: 8
    Last Post: 2008-07-11, 02:40 AM
  3. Replies: 4
    Last Post: 2008-06-16, 06:35 PM
  4. Logic Hook php error when testing default fields
    By ptemplin7 in forum Developer Help
    Replies: 4
    Last Post: 2008-05-29, 03:31 AM
  5. Can I do this with a logic hook?
    By daerid in forum Developer Help
    Replies: 2
    Last Post: 2008-04-23, 05:49 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
  •