Go Back   CodingForums.com > :: Client side development > JavaScript programming

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 06-17-2002, 03:43 PM   PM User | #1
Myagi
New to the CF scene

 
Join Date: Jun 2002
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Myagi is an unknown quantity at this point
Form processing question

Is there a script that will allow multiple actions in a form action=" blah blah" statement?

Thanks in advance.
Myagi is offline   Reply With Quote
Old 06-17-2002, 04:09 PM   PM User | #2
requestcode
Regular Coder

 
Join Date: Jun 2002
Posts: 626
Thanks: 0
Thanked 0 Times in 0 Posts
requestcode is an unknown quantity at this point
You can populate the action attribute this way:
document.form_name.action="blah"

With that you could populate it with a value based on some condition. Could you give us some more details on why you need this? Maybe we can give you a better answer.
requestcode is offline   Reply With Quote
Old 06-17-2002, 10:07 PM   PM User | #3
Myagi
New to the CF scene

 
Join Date: Jun 2002
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Myagi is an unknown quantity at this point
I am using a cgi script written in Perl to process the form and send an email to myself with the form results. I am using a PHP script to write the results to a file on the server.

I am not an experienced programmer. I used PerlBuilder to develop the CGI but the program does not allow for writing results to a file, only for sending an email. I had a friend write the PHP to create the results file on the server.

So, I need to find a way to use both scripts in the action=" " statement of the form. I hope this is enough info for you to work with. Thank you.
Myagi is offline   Reply With Quote
Old 06-18-2002, 02:49 AM   PM User | #4
whammy
Senior Coder

 
Join Date: Jun 2002
Location: 41° 8' 52" N -95° 53' 31" W
Posts: 3,660
Thanks: 0
Thanked 0 Times in 0 Posts
whammy is an unknown quantity at this point
The easiest solution would be to email and write to the database in the same script. I'm not familiar with PHP, but that should be child's play for someone who is.

Hope this helps!
__________________
Former ASP Forum Moderator - I'm back!

If you can teach yourself how to learn, you can learn anything. ;)
whammy is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 02:30 PM.


Advertisement
Log in to turn off these ads.