Page 1 of 1

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

Posted: Tue Feb 01, 2022 11:16 am
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.

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

Posted: Tue Feb 01, 2022 12:13 pm
by Zizi64
Please upload an ODF type sample file here.

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

Posted: Wed Feb 02, 2022 1:48 am
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 408 times

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

Posted: Wed Feb 02, 2022 7:25 am
by Zizi64
I meant "ODF" as Open Document Format, .odt file name extension for a Writer document.

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

Posted: Wed Feb 02, 2022 9:03 am
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:

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

Posted: Wed Feb 02, 2022 1:10 pm
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.

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

Posted: Wed Feb 02, 2022 3:45 pm
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. 

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

Posted: Wed Feb 02, 2022 4:27 pm
by Villeroy
OK, it works somehow. Just set the data properties of the 2 controls accoringly (same model, same binding).