官术网_书友最值得收藏!

Creating read-only fields

Another situation is where neither a window is read-only nor is the tab. It is there that we want to make a few fields read-only on a tab. For example, on our MOM window, the Client and Organisation fields need to be read-only as they are populated, by default, based on the logged in user's details and does not require any modification. This recipe describes the steps to achieve this.

How to do it...

  1. Log in as System/System with the System Administrator role.
  2. Go to the Window, Tab, and Field window and look for the Minutes Of Meeting window.
  3. Select the target tab on Tab and go to the Field tab.
  4. Check the Read Only checkbox for the Client field, as shown in the following screenshot:
    How to do it...
  5. Repeat the same for Organisation and any other field that you want to be read-only.
  6. Log out and log in as GardenAdmin/ GardenAdmin with the GardenWorld Admin role.
  7. Go to the Minutes Of Meeting window. Editing will not be allowed for all the fields we marked as read-only—Client, Organization —as shown in the following screenshot:
How to do it...
主站蜘蛛池模板: 承德市| 东山县| 满城县| 罗江县| 广宗县| 额敏县| 和平区| 堆龙德庆县| 印江| 米林县| 湘潭市| 青州市| 七台河市| 堆龙德庆县| 黑龙江省| 南康市| 和平县| 突泉县| 房山区| 石楼县| 辽宁省| 红原县| 昭平县| 榆林市| 陆川县| 富锦市| 西乌珠穆沁旗| 平顶山市| 青龙| 江源县| 大埔县| 读书| 长宁县| 淳化县| 达州市| 大姚县| 吕梁市| 陕西省| 民和| 定襄县| 卢氏县|