Questions tagged [forms]

{forms} is about PDF forms that let users enter text into documents for printing. A popular option to specify, e.g., text fields is the {hyperref} package.

Filter by
Sorted by
Tagged with
0
votes
0answers
19 views

Latex form submission

How can I submit form such that the PDF is flattened upon submission?i.e. when the file is opened one cannot reenter information the fillable areas? what is the correct code to initiate the form to ...
0
votes
0answers
91 views

Including a comment environment in a LuaTeX form letter implementation

My OS is Debian GNU/Linux 10.2 (buster). TeX Live is a backport from unstable, version 2019.20190605.51237-3 (a snapshot of TeX Live 2019). The code below is an LuaTeX form letter implementation. ...
0
votes
1answer
30 views

eforms: Why are “nlc=,” in front of the button?

\usepackage[unicode]{hyperref} \usepackage[pdftex]{eforms} \begin{document} \begin{Form} \pushButton[onclick={this.submitForm({cURL: "mailto:test <test@google.com>", }), this.exportAsText();}, ...
1
vote
1answer
37 views

Multicolumn paper-and-pencil form with indentation issue

Hi All and Happy New Year! I am trying to create a paper-and-pencil form which should look like as follows: \documentclass[12pt,oneside,a4paper]{article} \usepackage[ngerman]{babel} \usepackage[utf8]...
0
votes
1answer
43 views

Margin of TextField in form

Is there a way to controll the margin of a TextField placed within a table-structured form ? According to the manual of package 'hyperref', there is a parameter 'bordersep', but it doesn't change ...
0
votes
0answers
29 views

hyperref form and insdljs problem saving

I have written a form with LaTeX using hyperref and I have embedded some Java code (using insdljs). I am not a Java programmer at all, but I find it quite intuitive, at least for what I am doing. ...
1
vote
3answers
311 views

Table cells as CheckBoxes

We have to replicate an existing pdf form using latex. I found this to be of use: https://www.tug.org/applications/hyperref/manual.html The existing form which I have to replicate has clickable ...
1
vote
0answers
21 views

PDF form auto filled choices for printing

I would like to create a form in latex. There should be auto filled choices and this form should be printable. Example: I tried to do it with ChoiceMenu (combo) but it doesn't look pretty if I want ...
2
votes
1answer
76 views

How to make 'Form' fields in line with other text

I used the second answer (by Christian Lindig) to this question to make my own fillable PDF form. I edited it slightly to suit my needs. I tried to make a MWE: \documentclass[11pt]{article} \...
2
votes
1answer
63 views

hyperref forms cause PDF changes when viewer opens it

After working with hyperref forms I have noticed that employing some format options produces a strange behaviour when opening the output PDF (in PDF XChange viewer/editor at least): the program shows ...
1
vote
1answer
73 views

Keep filled form data with pdfpages

I have to fill pdf forms for a school asigment and would like to append them to my final report. Yet, when using \includepdf from the pdfpages package, all the information I fill into the form ...
0
votes
0answers
22 views

Make ChoiceMenu not fillable in hyperref form dependent on other ChoiceMenu

I have a form and there is a ChoiceMenu with three different possibilities. For two of them I have a further ChoiceMenu and it does not make sense to fill them out if the belonging option of the first ...
2
votes
1answer
73 views

Calculations in TextField do not work

I want to have some TextFields in my form where one can put numbers (shares) and the last TextField should be 100 - the sum of all other TextFields. I found this but it did not help, nothing happens. ...
2
votes
0answers
50 views

Make content only visible if CheckBox is checked

I have a ChoiceMenu with three options: No Option 1 Option 2 If Option 1 or Option 2 are clicked I want that a furhter text and a TextField is displayed. I don't want that it is possible to write a ...
7
votes
3answers
158 views

Different problems with tabularx

I have some problems with tabularx, please see the picture. 1: Why is there a space in the second row of the of the first column but not in the third row? 2 and 3: Why are there some gaps on the ...
2
votes
1answer
238 views

How do you create a date field with hyperref's pdf forms?

Some PDF readers might support a date picker for a text field that contains a date format, as explained here: How to create datepicker using JavaScript in Acrobat DC Pro? This article gave me the ...
2
votes
1answer
239 views

Align form radio button in fixed size table column

I have to recreate an old form using latex. It includes a table where multiple questions are associated to some radio buttons. I managed to create most of the form and table using hyperref and array, ...
1
vote
1answer
171 views

Is it possible to restrict the input of `TextField` to only numbers?

I would like to have a TextField that contains only numbers in order to make a date like [TextField]/[TextField]/[TextField]. I also need to restrict the length, but it was asked before. MWE: \...
2
votes
0answers
259 views

Constant paragraph spacing for questionnaires/surveys in LaTeX

In order to be able to keep questions hidden until they are answered, I want to fold a survey form (questionnaire) horizonally. Therefore I want to create constant hight paragraphs. Meaning: ...
1
vote
0answers
45 views

Hide fields from hyperref forms and delete the space they were taking when visible

I wanted to have a "hide/show" PushButton to hide a certain field, which I managed (see MWE). However, when the field is hidden, it still takes "space". Is there a way to not only hide the field ...
0
votes
1answer
163 views

Form: Height of TextField until the end of page

I have a tabular arrangement of Textfields. Is there a simple method to enlarge the text field down below -dynamically- until the end of the page? \documentclass[fontsize=14pt]{scrreprt} \usepackage[...
0
votes
1answer
353 views

Form: How to change the font into TextFields globally

I would like to have typewriter-font into my pdf-form. So I find out the mechanism \TextField[width=5cm, name=NAME,value=Font manually changed, format = { var f = this.getField('NAME'); f.textFont =...
0
votes
1answer
60 views

Form: 'TextField's and digsigfield in a table

Note: Question is kin to Form: Tabular arrangement of 'TextField's and digsigfield I use digsig.sty from Martin Lottermoser http://home.htp-tel.de/lottermose2/tex/dist/digsig.sty How can I ...
0
votes
0answers
53 views

Locking Fields in Digital Signature 2

I am trying to use eforms to create a pdf where digital signature can be applied. Each document may have more than one digital signature field, i.e so the document can be passed from person to person. ...
1
vote
1answer
38 views

Unable to get fillable empty text fields in hyperref forms inside tabular environment with XeTeX

I need to get fillable text fields inside tabular environment and since I use other language scripts other than English I need to compile my document using XeTeX engine. The nearest post to this ...
1
vote
0answers
53 views

Form / digsig.sty: How to add a 'value' into a digsiffield

I use digsig.sty from Martin Lottermoser http://home.htp-tel.de/lottermose2/tex/dist/digsig.sty Is it possible to add a 'value' into a digsigfield like into a TextField? \documentclass[fontsize=14pt]...
0
votes
1answer
54 views

Form: Tabular arrangement of 'TextField's and digsigfield

I use digsig.sty from Martin Lottermoser http://home.htp-tel.de/lottermose2/tex/dist/digsig.sty How can I arrange two 'TextField's and one digsigfield in this shape, as seamlessly as possible? MWE: ...
2
votes
1answer
93 views

Hyperref form with RTL main language like Arabic

I would like to typeset an electronic form with Arabic as the main language and English as another language in the same document. I used the xetex engine without success, the layout was messy as you ...
0
votes
1answer
131 views

Form: How to put Form-Fields perfectly into table cells?

What can I do that the TextFields etc. (except for a small "outer sep") fit exactly into the table cells (with their set dimensions)? \documentclass[fontsize=14pt]{scrreprt} \usepackage{tabularx, ...
0
votes
0answers
46 views

Form: How to nest several forms?

Ich I have a sub-form % Form02 \documentclass[]{standalone} \usepackage[]{hyperref} \begin{document} \begin{Form} \TextField[name=Two,width=5cm,]{Form 02:} \end{Form} \end{document} Is it possible ...
4
votes
1answer
204 views

Form: A drawing as a form field

Can I implement the following as a form, to set the cross mark? A Form-Document: \documentclass[parskip=half, paper=a4,]{scrartcl} \pagestyle{empty} \usepackage{selinput} \SelectInputMappings{...
0
votes
2answers
252 views

LaTeX PDF form: Detect CheckBox changed event

I use LaTeX to create a fillable PDF document. How can I detect that a \CheckBox has been clicked? It seems to react only to onfocus={...}, not to onclicked={...} or onchanged{...}. Do I need to ...
4
votes
1answer
257 views

Adobe Reader does not display borderstyle=U Textfields

In relation to this question, I just discovered, that the official Adobe Reader doesn't display TextFields, which have the flag borderstyle=U set. Minimal example: \documentclass{article} \...
2
votes
1answer
111 views

Embed hyperref \Form in Tikz picture

Is there any way I can embed a fillable PDF Form from hyperref's \Form (or anything equivalent) in a tikzpicture?
3
votes
1answer
444 views

eforms using a LaTeX (custom) font for text fields \textFont

I'm unable to use a LaTeX font (e.g., Augie) for text fields in a PDF form generated with eforms. I'm using MikTeX 2.9 on Windows 10. Acrobat Reader is choosing another font to display in its place (...
1
vote
0answers
47 views

Hyperref tab order on PDF forms

I'm trying to set the tab order for fields in a PDF with hyperref, but I can't figure out how it works. I assumed it was the tabkey option (from the documentation). Here's my MWE in which I'd like a ...
0
votes
1answer
374 views

Latex forms: Transfer textfield border into line

How could I transfer a textfield border into a line to write on in case of someone files the printed version of the pdf form? I'm working with underline and raiseboxes at the moment, but that crushes ...
5
votes
2answers
363 views

Latex forms: Place label on the right side of checkbox

Is there a way to display a checkbox's label on the right side? By default it is always on the left side. I didn't find any parameter for this in the documentation. Thanks in advance! As the ...
2
votes
1answer
116 views

Barcode fields with hyperref forms

Does a hyperrefextension package exist that allows barcode fields in a hyperrefform? The barcodefield description can be seen at page 45 in the PDF ISO documentation: ISO3200 barcode fields. Here ...
0
votes
0answers
61 views

Forms not working with cyrillic

This guy had a similar problem as me. Text fields simply refuse to accept cyrillic input. \documentclass{article} \usepackage[T2A]{fontenc} \usepackage[utf8]{inputenc} \usepackage[bulgarian]{babel} %...
1
vote
0answers
43 views

Fillable form with text _inside_ the box, like in StackOverflow Title field

In the example below, the top box is generated with hyperrf, while the lower ones are generated with tabular. I want all boxes to be fillable (like the top one), but to look like the lower ones. In ...
0
votes
0answers
541 views

Simplest way to create a PDF form

This is about a role playing game. The 'character sheet' is a two page form, in which each player describes their character. Currently this form is being printed and filled out with a pen. I would ...
1
vote
1answer
525 views

How to add line breaks to (hyperref) pdf form TextField?

Consider the following toy feedback form: \documentclass{article} \usepackage{hyperref} \renewcommand*{\DefaultHeightofTextMultiline}{20\baselineskip} \begin{document} \centering \begin{Form} ...
2
votes
1answer
417 views

hyperref Choicemenu adapting space between multiple buttons

I am trying to create a fillable form with the hyperref package. The problem is that I want to extend the space between the radio buttons inside all of the \ChoiceMenu s which are aligned on top of ...
2
votes
1answer
371 views

Define Javascript function in Form with hyperref

I have TextFields with the environment Form from hyperref package. However I want to add the values of the TextFields and print the sum in another TextField. That works well with the following code: \...
2
votes
1answer
2k views

Typesetting fillable PDF forms with `hyperref`

I'm trying to create a fillable PDF form with hyperref and I want there to be a long line instead of a box for a text field. At the moment I'm using the following code: \documentclass{scrartcl} \...
1
vote
1answer
53 views

Problem with lengths

I'm trying to insert some space between the label and the form control in hyperref forms. The following example works: \documentclass{scrartcl} \usepackage{calc} \usepackage{hyperref} \newcommand\...
0
votes
1answer
716 views

How to bind mailto to this PushButton onclick action in PDF form?

I want to send email with the action of the link in the pdf form. I added action=mailto:... into the PushButton, after onclick but I am not sure if you should bind mailto on the onclick somehow ...
0
votes
1answer
120 views

How to set centers of two rows aligned?

This thread is the continua of the thread here. I want to set the centers of the rows (YLEIS, EPAJARJESTYS) at the same position such that the approach works also with any number of rows. Code \...
1
vote
0answers
738 views

hyperref package ChoiceMenu results weird symbol?

My questionaire.tex is as follows - \documentclass{article} \usepackage{hyperref} \begin{document} \begin{Form} We want to buildup a statistical model to predict tution fees of students. We will use ...