---
# System prepended metadata

title: Typist 表單串CRM

---

# Typist 表單串CRM

* ## productModel 必填 :pushpin:
```
var productModel = 'Typist';
```

* ## copy from ***<font color=#FF6600>formV1.1.php</font>,*** paste to ***<font color=#FF6600>typist表單位置</font>*** :pushpin: 
因早期寫法只有將英語系國家(EN)做獨立模板,所以非EN地區的網頁路徑依舊在該語系下
![](https://i.imgur.com/TJ68BJ6.png)

<br />

* ## 表單新增兩個欄位,於 typist/index.php 底下新增,並修改placeholder文字
![](https://i.imgur.com/GAXUv0O.png)



<br />

* ## 確認CSS/JS在頁面中皆已載入 :pushpin:
```
<link rel="stylesheet" href="https://plustek.com/newtools/form/formV1.1.min.css">
```

```
<script src="https://plustek.com/newtools/form/form-setting.min.js"></script>
<script src="https://plustek.com/content/en/software/integration-application/typist/index.min.js" defer></script>
```

<br />


* ## form-setting.min.js :pushpin:
  - 驗證碼的驗證
  - localsite的判斷
  - 語系訊息判斷
  - CRM 欄位判斷設定
  - privacy policy 設定

<br /> 


* ## index.min.js :pushpin:
  - EN系國家:找到對應代碼(原網頁內容已經寫好了),新增 Country label
  
  ```
   $("label[for='country']").text('Country *');
  ```
  
  
  <br />
  
  - 非EN系國家,以deu為例:找到對應代碼, 原網頁內容寫在該地區路徑下檔案,新增 Country label

  ```
   case 'deu':
      $("label[for='country']").text('Land *');
    break;
  ```
    ![](https://i.imgur.com/m7TpigY.png)

  
<br />

* ## 刪掉多餘的code
  - EN放在/content 底下,我已經整理好了
  
  <br />
  
  
  - 非EN的網站
```
    <link rel="stylesheet" href="indexV1.min.css">
</head> //標籤結束前
```

    
  
```
    <script>
        var productModel = 'PlustekCapture';
    </script>
    <script src="https://plustek.com/newtools/form/form-setting.min.js" defer></script>
    <script src="../../../../content/en/software/datacapture/plustekcapture/indexV1.min.js"></script>

</body> //標籤結束前
```

  
  




