Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I want to create an empty form which will have several blocks. After adding text to boxes empty spaces will be replaces with dots. Is it possible?

\documentclass[10pt]{extarticle}

\usepackage[top=6.5cm,left=1.0cm]{geometry}
\usepackage[pdfpagemode=None,pdfstartview=FitH]{hyperref}
\usepackage{eso-pic}
\usepackage{graphics}
\usepackage{calc}
\usepackage{graphicx}
\usepackage{color}
\usepackage{textpos}
\usepackage[utf8]{inputenc}
\usepackage{type1ec}
\usepackage[T2A]{fontenc}
\usepackage[english,russian,french]{babel}
\usepackage{hyperref}

\usepackage{multicol}
\usepackage{epstopdf}

\usepackage{booktabs}
\begin{document}

\pagestyle{empty}
\begin{Form}
\begin{tabular}{ l@{} r@{} r r}
\Large{МЕНЮ} & & & \\
\hspace{22em} & \hspace{10em} &  \hspace{3em} & \\
  \TextField[bordercolor=white,borderwidth=0,width=3.4in,name=name.1,format={var f =
this.getField('name.1');f.textFont = 'Europe';f.userName = 'first
name'},value=Nazv,charsize=10pt]{} & \TextField[bordercolor=white,borderwidth=0,width=1in,name=qual.1,format={var f =
this.getField('qual.1');f.textFont = 'Europe';f.userName = 'first
name'},value=qual,charsize=10pt]{} & \TextField[bordercolor=white,borderwidth=0,width=0.5in,name=number.1,format={var f =
this.getField('number.1');f.textFont = 'Europe';f.userName = 'first
number'},value=00.00,charsize=10pt]{} & \TextField[bordercolor=white,borderwidth=0,width=0.2in,name=price.1,value=p.]{}  \\
\end{tabular}
\end{Form}

\end{document}

Maybe it's possible to create a new layer, so first layer will be with form and if there will be letters than dots under this layer will be invisible. Also can I create an item which will add new form same as existing one in document? As far as I can understand Adobe editor can do this. But I don't want to use Adobe ed and my javascript code is buggy.

share|improve this question

closed as off-topic by Joseph Wright Aug 8 '13 at 12:39

  • This question does not fall within the scope of TeX, LaTeX or related typesetting systems as defined in the help center.
If this question can be reworded to fit the rules in the help center, please edit the question.

1  
Could you add the code you are talking about ? Preferably in the form of a Minimum Working Example ? –  Lexiel Feb 20 '13 at 18:26
    
Code example. I want to replace those empty spaces in forms with dots. –  Ptech Feb 20 '13 at 18:40
    
If I understand you, the command \dotfill is all you need. –  Kola B. Feb 20 '13 at 19:57
    
No, you don't understand. There is already \dotfill in text. I want to fill form with dots AFTER someone enters info. –  Ptech Feb 20 '13 at 20:00
    
This question appears to be off-topic because it is about how PDF forms work when filled in. This is really outside the scope of TeX and related tools. –  Joseph Wright Aug 8 '13 at 12:39

Browse other questions tagged or ask your own question.