PDFButton.Actions

From Xojo Documentation

Enumeration
Class.Actions

New in 2021r3

The actions a button can take when pressed.

Values

Enum Description
ResetForm Clears values from all controls.
SendPDFFile Sends the PDFDocument to the URL.
SendForm Sends the values from all controls to the URL.

Notes

When using the SendPDFFile action, if the URL is a mailto: URL, a draft email will be created with the PDF form attached. If the URL is that of an ftp or http server, the entire PDF file itself will be sent to the server. When using the SendForm action, only the data the user entered is sent to the server. If you use SendForm with a mailto: URL, a draft email will be created with a text file attached containing the data the user entered into the form rather than the PDF file itself.

Compatibility

Web projects on Linux, macOS and Windows operating systems.

See Also

Action Method.