You can submit the form (or the form's data) to a web-bases service (in
PHP, for example). This will not require any user interaction and will
trigger the required fields validation, but it also requires that you set
up such a service on a web-server.
Not sure what to put in pdf file. It will be on our web based server when it is done.
Thanks for the help!!
Ken K. - 2191
In the PDF all you have to do is enter the URL of the PHP service on your
web-server as the Submit URL.
Whatever is running on the server does not have to be PHP, any mechanism
that can accept a HTTP request can handle your form content. You have a
choice between using the "normal" HTML forms submission format, or you can
submit a FDF or XFDF file to your server. I've used Perl, PHP, Microsoft's
.NET and good old Unix shell scripts to accept and process PDF forms
If you don't know how to implement the server portion, you will need to
work with somebody who can do that for you. How this is best done depends
on what server system you are using, and potentially what limitations your
web hosting provider is forcing you to live with.
Karl Heinz Kremer
You have stumped our IT folks and me both! I'm not sure what to put in
the pdf file for the submit URL because if I put our company intra-net or
internet site, I think it will just launch our site and do nothing with
the form. They don't think we have anything set up like this.
Thanks for trying!! Your script to validate the bank number is working
Have a great day!!!
Ken K. - 2191
I sent you a PM about this issue...
You don't just "put an internet site". Rather, a programmer creates a special program for the internet site, called perhaps a CGI, ASP, PHP or whatever. This program (often called a script) has a URL, so that when you connect to it the program is run.
So the form has the URL of the script. The script is sent the form data and processes it. This is how all web forms work, but the script must be specially written for PDF forms.
But you absolutely do need a web programmer and a server to put it on.
Seems like you are really asking for someone to write validation code for you. There are lots of plugins and tutorials for this. Your overly simplistic code is a long way from being a form validator. There are also html5 validity properties that you can access.