These forums are now Read Only. If you have an Acrobat question, ask questions and get help from one of our experts.

Problems setting a server link for a submit radio button

rsummers
Registered: Jul 7 2009
Posts: 6

Hello. When I set a link for the submit button in my PDF to send it to a folder on a network server, it keeps setting "http:" at the beginning and gets confused when it can't find the web page. I've set up my addresses 20 different ways.

My local server is
afp://raxs-fs5/AWS/PDFdata

With the PDFdata being my test folder. When this doesn't work I try -
//raxs-fs5/AWS/PDFdata
afp://10.20.19.10/AWS/PDFdata (with the IP numbers instead)
//10.20.19.10/AWS/PDFdata
10.20.19.10/AWS/PDFdata

None of these will work. I will get prompts that it wants to connect to a server if I should "allow" it, but then it adds http: and nothing works. I'm also trying this to a folder on my desktop and getting the same results.
It's almost like it will only do web addresses.
Help?
Thanks
Ryan
running Acrobat 8.1.6

My Product Information:
Acrobat Pro 8.1.2, Macintosh
thomp
Expert
Registered: Feb 15 2006
Posts: 4411
If you are talking about the "Apple Filling Protocal", which is a web data transfer protocal like HTTP, FTP, or SMTP, then in order for Acrobat to be able to connect to it, it would have to implement it. Which I'm pretty sure it doesn't. So forget about it. The submit functionality specifically sends an HTTP request which requires a server script on the other end to handle the transfer and response. The only variation I"m aware of is that the submit will direct "mailTo:" prefixed urls to the local email client.

However, I am pretty sure that AFP is similar to WebDav (a file transfer protocal), which is handled through Acrobat's regular saveAs functionality. Maybe you should try just saving to your URL. I can pretty much garuntee that the submit won't work.

Thom Parker
The source for PDF Scripting Info
[url=http://www.pdfScripting.com]pdfscripting.com[/url]

The Acrobat JavaScript Reference, Use it Early and Often
[url=http://www.adobe.com/devnet/acrobat/javascript.php]http://www.adobe.com/devnet/acrobat/javascript.php[/url]

Then most important JavaScript Development tool in Acrobat
[url=http://www.pdfscripting.com/public/34.cfm#JSIntro][b]The Console Window (Video tutorial)[/b][/url]
[url=http://www.acrobatusers.com/tutorials/2006/javascript_console][b]The Console Window(article)[/b][/url]

Thom Parker
The source for PDF Scripting Info
www.pdfscripting.com
Very Important - How to Debug Your Script

rsummers
Registered: Jul 7 2009
Posts: 6
Thanks for the reply Thom.

From the Acrobat help index-

In the Enter A URL For This Link box, do one of the following:
To collect form data on a server, type the location.
For example: http://www.[domain]/[folder]/[subfolder]/ for an Internet address

---------or \\[server]\[folder]\[subfolder]\ for a location on a local network.----------------

The help menu says you can do it???
What am I missing?

Thanks
thomp
Expert
Registered: Feb 15 2006
Posts: 4411
Please be more spcific. What is this help entry in reference to? Where in the Help?

Thom Parker
The source for PDF Scripting Info
[url=http://www.pdfScripting.com]pdfscripting.com[/url]

The Acrobat JavaScript Reference, Use it Early and Often
[url=http://www.adobe.com/devnet/acrobat/javascript.php]http://www.adobe.com/devnet/acrobat/javascript.php[/url]

Then most important JavaScript Development tool in Acrobat
[url=http://www.pdfscripting.com/public/34.cfm#JSIntro][b]The Console Window (Video tutorial)[/b][/url]
[url=http://www.acrobatusers.com/tutorials/2006/javascript_console][b]The Console Window(article)[/b][/url]

Thom Parker
The source for PDF Scripting Info
www.pdfscripting.com
Very Important - How to Debug Your Script

rsummers
Registered: Jul 7 2009
Posts: 6
The Adobe Help Viewer -

Topic - Add a Submit button

Forms that will be returned by a network or Internet connection must have a Submit button, which users click to send completed forms back to you.

Using the Button tool, create a button and set options on the General and Options tabs.
On the Appearance tab, choose an option in the Layout menu for the button label, icon image, or both, and then do one or both of the following:
Type text in the Label option to identify the button as a Submit button.
Click Choose Icon and either type the path to an image file or click Browse and locate the image file you want to use.
On the Actions tab, choose Submit A Form on the Select Action menu, and then click Add.
In the Enter A URL For This Link box, do one of the following:
To collect form data on a server, type the location. For example: http://www.[domain]/[folder]/[subfolder]/ for an Internet address or \\[server]\[folder]\[subfolder]\ for a location on a local network.
To collect form data as attachments to email, type mailto: followed by the email address. For example, mailto:nobody [at] adobe [dot] com.
thomp
Expert
Registered: Feb 15 2006
Posts: 4411
Well, the help entry fails to mention that there has to be something on the other side to recieve and respond to the submit.

Each of the prefixes used on an URL represents a data transfer protocal, HTTP, FTP, AFP. Both ends of the transfer have to use the specificied protocal, and Acrobat only supports HTTP for data submissions. Do a google search on "AFP and Acrobat", you'll find some interesting links.

Thom Parker
The source for PDF Scripting Info
[url=http://www.pdfScripting.com]pdfscripting.com[/url]

The Acrobat JavaScript Reference, Use it Early and Often
[url=http://www.adobe.com/devnet/acrobat/javascript.php]http://www.adobe.com/devnet/acrobat/javascript.php[/url]

Then most important JavaScript Development tool in Acrobat
[url=http://www.pdfscripting.com/public/34.cfm#JSIntro][b]The Console Window (Video tutorial)[/b][/url]
[url=http://www.acrobatusers.com/tutorials/2006/javascript_console][b]The Console Window(article)[/b][/url]

Thom Parker
The source for PDF Scripting Info
www.pdfscripting.com
Very Important - How to Debug Your Script