Using PDF, is it possible to create one form element with several fields from which you can select several? For example, in HTML, you can create a set of flags associated with the same field name:
<div>Select one for Member of the School Board</div>
<input type="checkbox" name="field(school)" value="vote1">
<span class="label">Libby T. Garvey</span><br/>
<input type="checkbox" name="field(school)" value="vote2">
<span class="label">Emma N. Violand-Sanchez</span><br/>
In this case, the field name is "field (school)", and when sending the form "field (school)" can be provided 0, 1 or 2 times.
Is there an equivalent construct in PDF where one field can have multiple values. So far, in my research, it turned out that if the fields are given the same name, only one field can be selected. If it is possible to implement it in PDF, what is this construction called and how can it be implemented?
Change To clarify, I know that a PDF can contain several form fields with different field names, and they can be selected independently, but then the grouping is implicit and implicit, as in HTML form. I would like to use a construct that makes the grouping of options explicit and preferably allows restrictions (for example, at least one mandatory, no more than two allowed, etc.).
Edit: if someone can find an authoritative opinion that this is not possible, this will also be the desired answer.
source
share