In Perform harness, a readonly field which has no values, takes up Placeholder text as its value.
I have a custom text field control to suit the requirements. This field may or may not be filled by the Case Originator. Once this is routed to another user, the field should be Read Only.
Now if the Originator leaves the field empty, as the second user (current user), I am able to see the Placeholder text as the text field's value.i.e., the Placeholder text is visible in place of the text field control and it is not editable. The property to this control is mapped to a DB table column which can have a maximum size of 32 characters. The placeholder text is of length 34 characters. On submitting the inquiry, the property is assigned with Placeholder text as its value and the system tries to Commit, due to which, I am getting a pyCommitError exception.
Is there anyway I can handle this within the control using JS or HTML?