[Solved] Form is not submitted

Creating and using forms
Post Reply
porton
Posts: 5
Joined: Wed Dec 24, 2008 5:17 pm

[Solved] Form is not submitted

Post by porton »

I created a database in .odb format. I created a form and added there a button. I set "Action" of button to "Submit form". In "Form Properties / Data" I set "Content type" to "Table" and "Content" to a table in my database.

When I press the Submit button, nothing happens. I want that pressing Submit button would add a record to my table (or update an existing record).

Please explain what I did incorrect, that Submit button does not work.
Last edited by porton on Wed Dec 24, 2008 5:56 pm, edited 1 time in total.
OOo 3.0.X on Mandriva
User avatar
Villeroy
Volunteer
Posts: 31345
Joined: Mon Oct 08, 2007 1:35 am
Location: Germany

Re: Form is not submitted

Post by Villeroy »

Set action to "Save form" rather than "Submit Form". You can submit URL-encoded form data to a server specified in the form's properties. You want to store the record on local disk.
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
porton
Posts: 5
Joined: Wed Dec 24, 2008 5:17 pm

Re: Form is not submitted

Post by porton »

After I changed "Action" to "Save record", the submit button became gray and non-functional.

What's wrong now?
OOo 3.0.X on Mandriva
User avatar
Villeroy
Volunteer
Posts: 31345
Joined: Mon Oct 08, 2007 1:35 am
Location: Germany

Re: Form is not submitted

Post by Villeroy »

There is nothing to save. Edit the record and the button will be enabled.
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
porton
Posts: 5
Joined: Wed Dec 24, 2008 5:17 pm

Re: [Solved] Form is not submitted

Post by porton »

There is nothing to save. Edit the record and the button will be enabled.
No, the submit button does not become enabled after I edit the form.

I also attach my database file.
Attachments
TV-channels.odb
(24.7 KiB) Downloaded 180 times
OOo 3.0.X on Mandriva
User avatar
Villeroy
Volunteer
Posts: 31345
Joined: Mon Oct 08, 2007 1:35 am
Location: Germany

Re: [Solved] Form is not submitted

Post by Villeroy »

The form is bound to the only table, but none of the controls is bound to any field.
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