Push button with URL option greyed out in Control Properties

Hello,

I have run into some issues and although I have scouted the “asklibreoffice” site, I haven’t found any solutio.

Trying to automatise the process of form filling and return, I was trying to install a button on a writer form that would get the filled file and send it to my email.
TBH as recommended by my cousin, who is generally very tech-savvy (his job) I asked copilot for code lines, it’s usually correct, but I always doubt… however!

The URL option within the Control Properties is greyed out, so the option “Submit Form” does nothing if selected (obvi, it has nowhere to go, no?)

At some point I tried adding the mailto string to the URL in Form Propertiesn, the button did open the email app in .odt form, but not on PDF, which is the format I really need.

Copilot also suggested using macros in the “Execute action” Event, and despite of it breaking my brain, I tried the instructions from LibreOffice + the macro written by the AI, but nothing (not included in the doc below)

After a few hours trying and failing, I am a bit exhausted and everything has gone abstract and cubistic.

It happened once that I had something else greyed out and it seems it was a bug, and thought maybe this is the same but I haven’t found the solution for it anywhere.

The .odt file is attached to experiment/ check

Thank you in advance and in any case <3

ESP Ficha INTRO estudiante copy.odt (210.2 KB)

You can enable the property URL by Setting the Action to “OpenWEB page”.

Action - URL.odt (32.1 KB)

1 Like

Thank you! I did not know that