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

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...
主站蜘蛛池模板: 南开区| 南和县| 满城县| 大关县| 米泉市| 女性| 蒲江县| 嘉黎县| 花垣县| 德格县| 洪雅县| 拉孜县| 萨迦县| 彝良县| 滨州市| 上犹县| 专栏| 新化县| 海门市| 彭阳县| 海门市| 穆棱市| 清丰县| 平顺县| 湖口县| 彭山县| 巴青县| 馆陶县| 务川| 盐山县| 宝清县| 双峰县| 乐至县| 大厂| 武冈市| 衡阳县| 贡山| 芜湖县| 博白县| 自贡市| 新宁县|