bbonsall
asked on
Post form results to a file and a custom script
Using FP 2000, I want to direct the end-user to a page determined by a choice they make in a drop down menu. FP 2000 allows form results posted to a file OR a custom script. I need to do both.
Any ideas?
Any ideas?
ASKER
I'm asking them to select their job title from a list. If they select job title "A", I want them to go to page "B". If they select any other title, I want them to go to page "C". Regardless of what title they select, I want the form results saved in a text file.
Thanks for your assistance! --B
Thanks for your assistance! --B
would Perl be an acceptable solution?
ASKER
Anything that works would be great...I would prefer a solution utilizing FP only, but chiggers can't be boozers!
ASKER
Thanks for your help!
I am able to direct the user to a page dependent on their drop down menu choice, what I am unable to do is save the results of the form to a text file.
An example:
The form contains name, phone number, email address and job title. I want to save this information every time the user hits the submit button. I then want to direct anyone that says their job title is "Lawyer" to page A and everyone else to page B.
It is critical that the form results get saved to a file, preferrably delimited ASCII.
I am able to direct the user to a page dependent on their drop down menu choice, what I am unable to do is save the results of the form to a text file.
An example:
The form contains name, phone number, email address and job title. I want to save this information every time the user hits the submit button. I then want to direct anyone that says their job title is "Lawyer" to page A and everyone else to page B.
It is critical that the form results get saved to a file, preferrably delimited ASCII.
Hi bbonsall, take a look at this page jump depending on what you choose from a drop down menu. Maybe this is what you are looking for. You see a working example at: http://www.smartpeople.de/ drop down at "Themen auswählen" in the top bar.
And here is the important part of the code:
<form method="POST" action="">
<SELECT NAME=menu onchange="window.open (this.options[this.selecte dIndex].va lue,'_top' )" size="1">
<option selected>Thema auswählen</option>
<option value="http://www.smartpeople.de/cgi/index.html">CGI's</option>
<option value="http://www.smartpeople.de/whois.html">Domainabfrage</op tion>
<option value="http://www.smartpeople.de/email/index.html">eMail</option>
<option value="http://www.smartpeople.de/email/smartemanager.html">eMail Manager</option>
</select>
</form>
-P.
And here is the important part of the code:
<form method="POST" action="">
<SELECT NAME=menu onchange="window.open (this.options[this.selecte
<option selected>Thema auswählen</option>
<option value="http://www.smartpeople.de/cgi/index.html">CGI's</option>
<option value="http://www.smartpeople.de/whois.html">Domainabfrage</op
<option value="http://www.smartpeople.de/email/index.html">eMail</option>
<option value="http://www.smartpeople.de/email/smartemanager.html">eMail Manager</option>
</select>
</form>
-P.
ASKER
Again, it is critical that the results of the form be posted to a file.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
I need a little clarification...
Are you wanting the visitor to select a destination from a pull down menu, or are you refering to the visitor going to a follow on page dependant on responses from a form input?
Chuck