You call your Perl script to process the form in the form tag attribute "action". It's the same on any form. You can either code it by hand, or use the form editor to set it up. <form name="NameOfYourForm" method="post" action="path to your script/
+NameOfYourScript.pl">
But after reading further in your comments I don't think that is your problem, is it? Your scripts work correctly when you upload them to your server, but you want to test them prior to uploading them, right? If I recall correctly, FrontPage won't run code unless you have a server installed on your test PC. Years ago FrontPage came with some sort of mini-personal-web-server thing that you could set up to allow scripts to be run--I don't know if that's still the case. I remember that I had to upload my code to the server to test it out. But, that was years ago and many FP versions back. I don't know what you might have available if you're using a new version of FP. If it doesn't come with a server you can configure, you might try installing and using Apache on your PC. Or, get a copy of OptiPerl. It's a shareware development tool that will let you test server-based scripts.
-
Are you posting in the right place? Check out Where do I post X? to know for sure.
-
Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
<code> <a> <b> <big>
<blockquote> <br /> <dd>
<dl> <dt> <em> <font>
<h1> <h2> <h3> <h4>
<h5> <h6> <hr /> <i>
<li> <nbsp> <ol> <p>
<small> <strike> <strong>
<sub> <sup> <table>
<td> <th> <tr> <tt>
<u> <ul>
-
Snippets of code should be wrapped in
<code> tags not
<pre> tags. In fact, <pre>
tags should generally be avoided. If they must
be used, extreme care should be
taken to ensure that their contents do not
have long lines (<70 chars), in order to prevent
horizontal scrolling (and possible janitor
intervention).
-
Want more info? How to link
or How to display code and escape characters
are good places to start.
|