disabled.true no longer works for text boxes after OnAfterTransaction

 2 Replies
 0 Subscribed to this topic
 12 Subscribed to this forum
Sort:
Author
Messages
ShawnV
Advanced Member
Posts: 37
Advanced Member
    To disable entry fields in design studio we used to use lawForm.getFormElement("text1").disabled=true.

    However after our latest ESP upgrade (9.0.0.9), this no longer works.  After Lawson calls the OnAfterTransaction, it is somehow redrawing the screen & the text box is no longer being disabled.

    Has anyone encountered this  & does anyone have a work around to disable a text field?

    Thanks,
    Shawn
    David Williams
    Veteran Member
    Posts: 1127
    Veteran Member
      If you go into the properties of the text field, you set it to Output Only and no one can enter data into it.
      David Williams
      ShawnV
      Advanced Member
      Posts: 37
      Advanced Member
        Unfortunately we want the user to enter data into the field in certain circumstances. For example, if the transaction is in a certain process level, then we want the field disabled. For all other process levels they can update the field.