I want to make the element dtlTextbox as readonly. Kindly provide me a solution for this.
Thanks & Regards
Balram Singh Deswal
Use 'dtlReadonly' instead. You can see examples of just about all the different types of field in the various detail forms such as 'detail_chg.htmpl'.
I have to use dtlTextbox only, as I have to upload the value in database also. I am not able to do that when I am using dtlReadonly. Isn't there any attribute for dtlTextbox that can make it readonly?
you can use PDM_IF constraint if you know when input should be readonly and when not.
<PDM_IF "$SESSION.ROLE_ID" == "1337">
document.getElementsByName('SET.z_my_input').readOnly = true;
It is that you want dtlTextbox to be readonly in certain situations?
If not, and you just want to add some unchangeable text to your form via WSP, you could consider using dtlShowtext, described in the following technical document:
Document ID: TEC606999
Title: How can I create a text label field on a form using Web Screen Painter?
A direct link: http://www.ca.com/us/support/ca-support-online/product-content/knowledgebase-articles/tec606999.aspx
Retrieving data ...