I'm looking for exporting only the second page of my document with a button.
Any hint? Is it possible?
What do you mean by exporting? Exporting form data or extracting the page to a separate pdf file?
That would be extracting the full page (visually and with the filled up fields)
Is the file going to be used in Reader?
The plan is to create the document from my computer, than send it to my client, which he will use on iPad through PDF Expert.
I highly doubt it's going to work on a mobile device, although if it will then it will only be in PDF Expert... You can test it out for yourself, though. The code to do it is very basic. For example, this will extract the first page as a new (temporary) file:
What does the "(0,0)" means?
It's the page numbers of the first and last page to extract.
Extracting pages on the iPad is not going to work.
What is your intended workflow? Maybe there is another way to do it. For example, submitting the data to a server script, that then returns the separate form with data.