1 Reply Latest reply: Jan 14, 2008 9:06 PM by 617657 RSS

    disable a record in a data block - Forms personalization

    VikramAwotar
      hi eveybody

      I have to disable a field ( the Charge account) in a record on the Invoice form based on a certain condition
      but when Im disabling it, the Charge account on all the records are being disabled

      Can anybody tell me how to disable a record without the other records get affected?
        • 1. Re: disable a record in a data block - Forms personalization
          617657
          As there's no such item attribute to be set "Item_instant_property". I only got this idea, hope to help:

          Spliting into two conditions:

          Condition1 (to disable the block):
          Trigger Event: when-new-record-instance
          Condition: {Your line level condition for Protect}
          Actions: Set block attribute "UPDATE_ALLOWED" = "FALSE"

          Condition2 (to enable the block):
          Trigger Event: when-new-record-instance
          Condition: {Your line level condition for allow update}
          Actions: Set block attribute "UPDATE_ALLOWED" = "TRUE"