2017-01-09 36 views
0

使用Docusign REST API V2時,我遇到單選按鈕的幾個問題。單選按鈕使用Docusign Rest API的問題

我正在使用兩個無線電組,一個是必需的,一個應該是可選的。我將在這篇文章的末尾添加xml定義。按鈕出現在文檔上,並帶有預選值;但是我從這裏有兩個問題。

  1. 第二組應該是可選的,但它是根據需要顯示的。
  2. 選擇值並完成文檔後,選擇不正確(見截圖)

XML標籤定義:

<?xml version="1.0" encoding="UTF-8"?> 
<radioGroupTabs> 
    <radioGroup> 
     <groupName>RadioGroup1</groupName> 
     <optional>false</optional> 
     <radios> 
     <radio> 
      <anchorString>{RAD1}</anchorString> 
      <anchorXOffset>0.0</anchorXOffset> 
      <anchorYOffset>0.0</anchorYOffset> 
      <anchorIgnoreIfNotPresent>true</anchorIgnoreIfNotPresent> 
      <selected>true</selected> 
      <anchorUnits>inches</anchorUnits> 
     </radio> 
     <radio> 
      <anchorString>{RAD2}</anchorString> 
      <anchorXOffset>0.0</anchorXOffset> 
      <anchorYOffset>0.0</anchorYOffset> 
      <anchorIgnoreIfNotPresent>true</anchorIgnoreIfNotPresent> 
      <selected>false</selected> 
      <anchorUnits>inches</anchorUnits> 
     </radio> 
     </radios> 
    </radioGroup> 
    <radioGroup> 
     <groupName>RadioGroup2</groupName> 
     <optional>true</optional> 
     <radios> 
     <radio> 
      <anchorString>{RADA}</anchorString> 
      <anchorXOffset>0.0</anchorXOffset> 
      <anchorYOffset>0.0</anchorYOffset> 
      <anchorIgnoreIfNotPresent>true</anchorIgnoreIfNotPresent> 
      <anchorUnits>inches</anchorUnits> 
     </radio> 
     <radio> 
      <anchorString>{RADB}</anchorString> 
      <anchorXOffset>0.0</anchorXOffset> 
      <anchorYOffset>0.0</anchorYOffset> 
      <anchorIgnoreIfNotPresent>true</anchorIgnoreIfNotPresent> 
      <anchorUnits>inches</anchorUnits> 
     </radio> 
     </radios> 
    </radioGroup> 
</radioGroupTabs> 

Image of selected radio values

Image of document after selection

+0

沒有看到您的單選按鈕列出的'required'參數,您需要使用該屬性來指定可選與所需的DocuSign選項卡。 – Ergin

回答

1
  • 要創建DocuSign選項卡或需要控制。可選,您將要使用參數required = true或required = false。通過刪除可選節點並將其放在需要的位置來更新您的XML。
  • 您需要爲給定組中的每個電臺分配一個唯一值,例如是。添加並重新測試。