PC Review


Reply
Thread Tools Rate Thread

How can I get FP forms to perform TWO actions?

 
 
=?Utf-8?B?RHJEcmFnb24=?=
Guest
Posts: n/a
 
      30th May 2005
I am trying to get FP to both send form results to a csv file AND to activate
a javascript. Here is the JS code I am using: <form action="Q1grade.htm"
name="Quiz1" id="Quiz1" onsubmit="Javascript: return(validate(this));">

I can get the JS to work, but I can't get the form to send the results to
the csv file...OR I can get the results but not the JS.


 
Reply With Quote
 
 
 
 
Ronx
Guest
Posts: n/a
 
      30th May 2005
The server side code in Q1grade.htm updates the csv file - does your
server parse .htm files for server side code, as it would for ASP or
PHP pages?

I suspect that you actually wish the FP extensions to manage the .csv
file. If this is the case then right-click anywhere in the form and
check the form properties. They should send the results to a file
name, not "Send to other" or "Send to Database".
The form should be edited in an open FrontPage web, and HTTP published
to the server.
--
Ron Symonds
Microsoft MVP (FrontPage)
Reply only to group - emails will be deleted unread.

"DrDragon" <(E-Mail Removed)> wrote in message
news:B24EFF9A-DB4F-444D-B707-(E-Mail Removed)...
>I am trying to get FP to both send form results to a csv file AND to
>activate
> a javascript. Here is the JS code I am using: <form
> action="Q1grade.htm"
> name="Quiz1" id="Quiz1" onsubmit="Javascript:
> return(validate(this));">
>
> I can get the JS to work, but I can't get the form to send the
> results to
> the csv file...OR I can get the results but not the JS.
>
>



 
Reply With Quote
 
Andrew Murray
Guest
Posts: n/a
 
      31st May 2005
what is the "action="q1grade.htm" ???

it should be pointing to a script to process the form such as the FP form
handler (or a thirdparty script)

such as <form action="sendmail.asp" method="post">

and on your button
<input type="submit" name="submit" Value="Submit"
onclick="Javascript:return(validate(this));">

try sticking the calling of the JS function as an onClick rather than
onSubmit.


"DrDragon" <(E-Mail Removed)> wrote in message
news:B24EFF9A-DB4F-444D-B707-(E-Mail Removed)...
>I am trying to get FP to both send form results to a csv file AND to
>activate
> a javascript. Here is the JS code I am using: <form action="Q1grade.htm"
> name="Quiz1" id="Quiz1" onsubmit="Javascript: return(validate(this));">
>
> I can get the JS to work, but I can't get the form to send the results to
> the csv file...OR I can get the results but not the JS.
>
>



 
Reply With Quote
 
 
 
Reply

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
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Perform actions when email is sent Jon Kruger Microsoft Outlook Program Addins 1 30th Jul 2009 08:35 PM
Code to Look for Text and then Perform Specified Actions SeventhFloorProfessor Microsoft Excel Misc 1 6th Feb 2009 03:14 PM
How to perform two actions ? morph000 Microsoft Excel Worksheet Functions 5 22nd Jan 2006 02:13 AM
perform multiple actions in an IF =?Utf-8?B?R2l4eGVyX0pfOTc=?= Microsoft Excel Programming 7 6th May 2005 02:02 PM
Adding a program to the perform actions box =?Utf-8?B?Y3JhcGpvYjE=?= Windows XP General 3 14th Jan 2005 04:08 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 08:27 PM.