Create a button to open a form

Creating and using forms
Post Reply
amanda_a
Posts: 1
Joined: Mon Mar 24, 2008 7:16 pm

Create a button to open a form

Post by amanda_a »

Hi- I want to create a "Next" button on a form that opens another form... Like "Go to step 2". Anyone know how to do that?

I promised I searched first!
User avatar
kabing
Volunteer
Posts: 680
Joined: Fri Nov 23, 2007 12:05 am
Location: Midwest, USA

Re: Create a button to open a form

Post by kabing »

I'm sure its here somewhere, but you can also check out this tutorial written for NeoOffice. Since NeoOffice is based on OpenOffice.org, the instructions should work fine for OpenOffice.org, if you keep the following things in mind:
  • 1) references to the command key in a Neo tutorial are the equivalent to the control key in OOo. (i.e. Command-C becomes Control-C) Note that I'm not sure if this is true with OOo for X11.
    2) control-clicking is the same as right clicking
    3) icons sometimes look different, as NeoOffice 2.2.2 has a custom icon set.
At the end of the article is a link to the thread at oooforum.org where I found the macro code.

kabing
NeoOffice 2022.7 LibreOffice 24.8.4 on (Intel) Mac OS Ventura
User avatar
Villeroy
Volunteer
Posts: 31345
Joined: Mon Oct 08, 2007 1:35 am
Location: Germany

Re: Create a button to open a form

Post by Villeroy »

Well, yes. Somewhere there is a macro for this trivial task. A form can be seen as an abstract control container in a Writer document and one Writer document can take many forms together with hyperlinks, bookmarks and page breaks.
You could integrate many forms in one document separated by page breaks or some visual borders.
[Previous], [Next] and [Home] could be implemented as hyperlinks to bookmarks.
Menu:Viev>Toolbars>FormDesign has a button to call the "form navigator". This tool lets you create many independent forms and dependent subforms on the same container document.

Found the macro in the old forum: http://www.oooforum.org/forum/viewtopic.phtml?t=37999
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