Is it possible to duplicate a form "text box"?

Writing a book, Automating Document Production - Discuss your special needs here
Post Reply
LarryEC
Posts: 2
Joined: Tue Feb 01, 2022 10:42 am

Is it possible to duplicate a form "text box"?

Post by LarryEC »

Is it possible to duplicate a previously-completed text box entry on a Writer form? I enter a person's name in a "text box" having a Control - Name of RenterName on one part of my "form". When the form is completed, I want the entered RenterName (e.g.: John Doe) to ALSO appear in a specific ?text box? located later in my form, without manually re-entering the renter's name. Possible? Process? I'm hoping for something like a text box with a Control - Name like ="RenterName". Thanks.
Open Office 4.1.3
Windows 10 Home Ver. 10.0.19043
User avatar
Zizi64
Volunteer
Posts: 11364
Joined: Wed May 26, 2010 7:55 am
Location: Budapest, Hungary

Re: Is it possible to duplicate a form "text box"?

Post by Zizi64 »

Please upload an ODF type sample file here.
Tibor Kovacs, Hungary; LO7.5.8 /Win7-10 x64Prof.
PortableApps/winPenPack: LO3.3.0-7.6.2;AOO4.1.14
Please, edit the initial post in the topic: add the word [Solved] at the beginning of the subject line - if your problem has been solved.
LarryEC
Posts: 2
Joined: Tue Feb 01, 2022 10:42 am

Re: Is it possible to duplicate a form "text box"?

Post by LarryEC »

Here is a simple ODF (ODT) form illustrating my desire. When exported as a PDF it does not accomplish the desired goal.
First form test name and phone no.odf
(10.78 KiB) Downloaded 291 times
Open Office 4.1.3
Windows 10 Home Ver. 10.0.19043
User avatar
Zizi64
Volunteer
Posts: 11364
Joined: Wed May 26, 2010 7:55 am
Location: Budapest, Hungary

Re: Is it possible to duplicate a form "text box"?

Post by Zizi64 »

I meant "ODF" as Open Document Format, .odt file name extension for a Writer document.
Tibor Kovacs, Hungary; LO7.5.8 /Win7-10 x64Prof.
PortableApps/winPenPack: LO3.3.0-7.6.2;AOO4.1.14
Please, edit the initial post in the topic: add the word [Solved] at the beginning of the subject line - if your problem has been solved.
User avatar
Hagar Delest
Moderator
Posts: 32668
Joined: Sun Oct 07, 2007 9:07 pm
Location: France

Re: Is it possible to duplicate a form "text box"?

Post by Hagar Delest »

Zizi64 wrote:I meant "ODF" as Open Document Format, .odt file name extension for a Writer document.
Rename the .odf to .odt.
:lol:
LibreOffice 7.6.2.1 on Xubuntu 23.10 and 7.6.4.1 portable on Windows 10
User avatar
Zizi64
Volunteer
Posts: 11364
Joined: Wed May 26, 2010 7:55 am
Location: Budapest, Hungary

Re: Is it possible to duplicate a form "text box"?

Post by Zizi64 »

Zizi64 wrote:
I meant "ODF" as Open Document Format, .odt file name extension for a Writer document.


Rename the .odf to .odt.
Sorry, the problem was not related to the extension of the filename, but to the protected state of the sample document. I cannot unprotect it.
Tibor Kovacs, Hungary; LO7.5.8 /Win7-10 x64Prof.
PortableApps/winPenPack: LO3.3.0-7.6.2;AOO4.1.14
Please, edit the initial post in the topic: add the word [Solved] at the beginning of the subject line - if your problem has been solved.
User avatar
Villeroy
Volunteer
Posts: 31279
Joined: Mon Oct 08, 2007 1:35 am
Location: Germany

Re: Is it possible to duplicate a form "text box"?

Post by Villeroy »

What you try to do would work with a form that is bound to a database. It does not work with an unbound form.
 Edit: I just noticed that you created an XML Form Document but without binding to any XML model. I know next to nothing about this document type. 
Please, edit this topic's initial post and add "[Solved]" to the subject line if your problem has been solved.
Ubuntu 18.04 with LibreOffice 6.0, latest OpenOffice and LibreOffice
User avatar
Villeroy
Volunteer
Posts: 31279
Joined: Mon Oct 08, 2007 1:35 am
Location: Germany

Re: Is it possible to duplicate a form "text box"?

Post by Villeroy »

OK, it works somehow. Just set the data properties of the 2 controls accoringly (same model, same binding).
Attachments
t107105.odt
(11.62 KiB) Downloaded 270 times
Please, edit this topic's initial post and add "[Solved]" to the subject line if your problem has been solved.
Ubuntu 18.04 with LibreOffice 6.0, latest OpenOffice and LibreOffice
Post Reply