想要通过FDF / XFDF填写表单时如何在Adobe Reader中命名“组”复选框 [英] How to name a 'group' check box in Adobe Reader when wanting to fill form by FDF / XFDF

查看:185
本文介绍了想要通过FDF / XFDF填写表单时如何在Adobe Reader中命名“组”复选框的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我设法通过fdf文件和xfdf文件填充了普通的pdf文本字段。我的问题是我需要选中一些复选框。

I've managed to populate ordinary pdf text fields via an fdf file and via an xfdf file. My problem is that I need to check some checkboxes.

我已阅读这篇标题为 FDF-如何检查复选框?的文章,但我仍然无法正常工作。

I have read this article entitled 'FDF - how to check a checkbox?' but I still can't get mine to work.

我很困惑的一件事是我应该如何命名pdf表单中的复选框。如果我有一组名为性别的单选按钮,如何在pdf表单上命名它们。

One of the things I'm confused with is how I should be naming the checkboxes on the pdf form. If I have a group of radio buttons called 'gender' how do I name them on the pdf form. Is there the same idea of a radio group for the checkboxes on an Adobe form?

到目前为止,在使用性别示例的情况下,我仅将复选框命名为 sexM和 genderF,但fdf:

So far, and using the 'gender' example, I have simply named the checkboxes 'genderM' and 'genderF', but the fdf:

<< /T (genderM) /V (Yes) >>

不选中 genderM框。

does not check the 'genderM' box.

非常感谢您在此问题上的任何帮助以及关于最佳做法的任何建议。

Really grateful for any help on this issue and any advice on best practices.

回顾:


  1. 命名PDF表单的输入字段时,Adobe Reader是否具有复选框或单选组的概念?

  2. 是或否,如何检查框?

非常感谢

推荐答案

花了我一段时间才弄清楚我要去哪里。根据我引用的其他文章,问题中显示的语法是正确的。

Took me quite a while to figure out where I was going wrong. The syntax shown in my question was correct as per the other article I referenced.

我正在使用其他人的表单,并且他们设置了Export Value字段(在Adobe Reader中编辑pdf表单时),将复选框设置为打开。似乎导出值字段确定了用于选择复选框的单词。因此,我应该一直使用fdf行:

I was using someone else's form and they had set the Export Value field (while editing the pdf form in Adobe Reader) for the checkbox to 'ON'. It seems like the Export Value field determines what word you use to select the checkbox. So I should have been using the fdf line:

<< /T (genderM) /V (ON) >>

如上图所示,默认值是是,这意味着我使用:

The default value, as shown in the above image is 'Yes', which would mean I use:

<< /T (genderM) /V (Yes) >>

希望对以后的人有所帮助。

Hope that helps someone in future.

欢呼

这篇关于想要通过FDF / XFDF填写表单时如何在Adobe Reader中命名“组”复选框的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆