Can not change add event to Form tag in ASP file

M

Merdaad

Could you plz at least tell me where I could get help? This is drving me
crazy!

thx

Tom Willett said:
<sigh>

I wish you the best of luck in troubleshooting your issue.

Tom

Merdaad said:
tom,

Thanks for coming in!
Here is the original problem:
I have been trying to add a "onsubmit event" to a "Form" tag and I am not
able
to. I have copied files from outside into frontpage and I have copied and
pasted the onsubmit string. But after I save and close the asp file and
then
reopen it, it takes away the onsubmit string?

My file for instance is called submission_form.asp and here is what the
form
tag in it looks like:
<form name=thisForm METHOD="POST" action="submission_form.asp"
onsubmit="return FrontPage_Form1_Validator(this)">

The onsubmit string is taken away when I copy this file to a server
machine.
As you can tell, the function is JS function. The Javascript file is put
in
the correct path.
On my machine this works fine. On the server machine it doesn't! In my
machine, FP opens the site as a physical directory, on the server it opens
it
as a web site. (don't know if that makes a diff.) Both machines use FP of
course!

Now what URL do you want me to post and why would that matter?

Thanks

Tom Willett said:
He is asking you to post the public URL (website address) to the page in
question.
--
===
Tom Willett
Microsoft MVP - FrontPage
---
FrontPage Support:
http://www.frontpagemvps.com/
===
|I am not sure I understand what you want mr to do?
|
| Do you want me to send you the URL?
|
| I need to get it to work on a test web site first.
|
| Do you know what I am looking for?
|
| Thanks
|
| "Stefan B Rusynko" wrote:
|
| > What is the location online form
| >
| > --
| >
| > _____________________________________________
| > SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
| > "Warning - Using the F1 Key will not break anything!" (-;
| > To find the best Newsgroup for FrontPage support see:
| >
http://www.frontpagemvps.com/FrontPageNewsGroups/tabid/53/Default.aspx
| > _____________________________________________
| >
| >
| > | ?
| > | "Post a URL to the PAge".... What do you mean? what page and how?
| > |
| > | Thanks
| > |
| > | "Stefan B Rusynko" wrote:
| > |
| > | > No
| > | > Post a URL to the page
| > | >
| > | > --
| > | >
| > | > _____________________________________________
| > | > SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
| > | > "Warning - Using the F1 Key will not break anything!" (-;
| > | > To find the best Newsgroup for FrontPage support see:
| > | >
http://www.frontpagemvps.com/FrontPageNewsGroups/tabid/53/Default.aspx
| > | > _____________________________________________
| > | >
| > | >
| > | > |I am not using FP form validation. I do my validation on the
onsubmit click
| > | > | (if I could ever get FP to accept it!). using a call to a
javascript function.
| > | > |
| > | > | Could it have anything to do with the project being opened as a
remote web
| > | > | site as opposed to locally on your disk?
| > | > |
| > | > | I think this is a serious FP bug...
| > | > |
| > | > | "Stefan B Rusynko" wrote:
| > | > |
| > | > | > If you are using any FP Form validation FP will rename your
form
and apply its own on submit
| > | > | >
| > | > | > --
| > | > | >
| > | > | > _____________________________________________
| > | > | > SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
| > | > | > "Warning - Using the F1 Key will not break anything!" (-;
| > | > | > To find the best Newsgroup for FrontPage support see:
| > | > | >
http://www.frontpagemvps.com/FrontPageNewsGroups/tabid/53/Default.aspx
| > | > | > _____________________________________________
| > | > | >
| > | > | >
message
| > | > | > |I tried changing while in Code mode in FP and also in
Notepad
(then copying
| > | > | > | the file over to the FP directory), it all changed back to
the
original.
| > | > | > | I don't have a problem with the database stuff. This is
just
to call a
| > | > | > | JavaScript function on onsbmit.
| > | > | > |
| > | > | > |
| > | > | > | "Thomas A. Rowe" wrote:
| > | > | > |
| > | > | > | > The other option is to learn to hand code your
ASP/VBscript
and not rely on the FP database
| > | > | > | > components.
| > | > | > | >
| > | > | > | > --
| > | > | > | > ==============================================
| > | > | > | > Thomas A. Rowe
| > | > | > | > Microsoft MVP - FrontPage
| > | > | > | > ==============================================
| > | > | > | > Agents Real Estate Listing Network
| > | > | > | > http://www.NReal.com
| > | > | > | > ==============================================
| > | > | > | >
| > | > | > | >
message
| > | > | > | >
| > | > | > | > > So how do you change something? All I want to do is
add a
onsubmit event to
| > | > | > | > > my form tag?
| > | > | > | > > btw. I opened the site using the site address, does
that
make a difference?
| > | > | > | > >
| > | > | > | > >
| > | > | > | > > Thanks for your help. I am anxious to get answers...
| > | > | > | > >
| > | > | > | > > M
| > | > | > | > >
| > | > | > | > > "Thomas A. Rowe" wrote:
| > | > | > | > >
| > | > | > | > >> If FP writes the code, then any changes you make will
most likely be overwritten when you save or
| > | > | > | > >> if
| > | > | > | > >> you re-open the page in FP.
| > | > | > | > >>
| > | > | > | > >> --
| > | > | > | > >> ==============================================
| > | > | > | > >> Thomas A. Rowe
| > | > | > | > >> Microsoft MVP - FrontPage
| > | > | > | > >> ==============================================
| > | > | > | > >> Agents Real Estate Listing Network
| > | > | > | > >> http://www.NReal.com
| > | > | > | > >> ==============================================
| > | > | > | > >>
| > | > | > | > >>
message
| > | > | > | > >>
| > | > | > | > >> > yes.
| > | > | > | > >> >
| > | > | > | > >> > "Thomas A. Rowe" wrote:
| > | > | > | > >> >
| > | > | > | > >> >> Did FP create this ASP page?
| > | > | > | > >> >>
| > | > | > | > >> >> --
| > | > | > | > >> >> ==============================================
| > | > | > | > >> >> Thomas A. Rowe
| > | > | > | > >> >> Microsoft MVP - FrontPage
| > | > | > | > >> >> ==============================================
| > | > | > | > >> >> Agents Real Estate Listing Network
| > | > | > | > >> >> http://www.NReal.com
| > | > | > | > >> >> ==============================================
| > | > | > | > >> >>
| > | > | > | > >> >>
in
message
| > | > | > | > >> >>
| > | > | > | > >> >> > Hi,
| > | > | > | > >> >> >
| > | > | > | > >> >> > I have been trying to add a onsubmit event to a
Form
tag and I am not able
| > | > | > | > >> >> > to. I have copied files from outside into
frontpage
and I have copied and
| > | > | > | > >> >> > pasted the onsubmit string. But after I save and
close the asp file and then
| > | > | > | > >> >> > reopen it it takes away the onsubmit string?
| > | > | > | > >> >> >
| > | > | > | > >> >> > I am sure there is an easy answer to this, Could
someone tell me why
| > | > | > | > >> >> > frontpage is not saving my changes?
| > | > | > | > >> >> >
| > | > | > | > >> >> > Thanks
| > | > | > | > >> >>
| > | > | > | > >> >>
| > | > | > | > >> >>
| > | > | > | > >>
| > | > | > | > >>
| > | > | > | > >>
| > | > | > | >
| > | > | > | >
| > | > | > | >
| > | > | >
| > | > | >
| > | > | >
| > | >
| > | >
| > | >
| >
| >
| >
 
M

Merdaad

the url to the site is test.claimtoolkit.com. But you need a
username/password to get to the page.

thx

Stefan B Rusynko said:
What is the location online form

--

_____________________________________________
SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
"Warning - Using the F1 Key will not break anything!" (-;
To find the best Newsgroup for FrontPage support see:
http://www.frontpagemvps.com/FrontPageNewsGroups/tabid/53/Default.aspx
_____________________________________________


| ?
| "Post a URL to the PAge".... What do you mean? what page and how?
|
| Thanks
|
| "Stefan B Rusynko" wrote:
|
| > No
| > Post a URL to the page
| >
| > --
| >
| > _____________________________________________
| > SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
| > "Warning - Using the F1 Key will not break anything!" (-;
| > To find the best Newsgroup for FrontPage support see:
| > http://www.frontpagemvps.com/FrontPageNewsGroups/tabid/53/Default.aspx
| > _____________________________________________
| >
| >
| > |I am not using FP form validation. I do my validation on the onsubmit click
| > | (if I could ever get FP to accept it!). using a call to a javascript function.
| > |
| > | Could it have anything to do with the project being opened as a remote web
| > | site as opposed to locally on your disk?
| > |
| > | I think this is a serious FP bug...
| > |
| > | "Stefan B Rusynko" wrote:
| > |
| > | > If you are using any FP Form validation FP will rename your form and apply its own on submit
| > | >
| > | > --
| > | >
| > | > _____________________________________________
| > | > SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
| > | > "Warning - Using the F1 Key will not break anything!" (-;
| > | > To find the best Newsgroup for FrontPage support see:
| > | > http://www.frontpagemvps.com/FrontPageNewsGroups/tabid/53/Default.aspx
| > | > _____________________________________________
| > | >
| > | >
| > | > |I tried changing while in Code mode in FP and also in Notepad (then copying
| > | > | the file over to the FP directory), it all changed back to the original.
| > | > | I don't have a problem with the database stuff. This is just to call a
| > | > | JavaScript function on onsbmit.
| > | > |
| > | > |
| > | > | "Thomas A. Rowe" wrote:
| > | > |
| > | > | > The other option is to learn to hand code your ASP/VBscript and not rely on the FP database
| > | > | > components.
| > | > | >
| > | > | > --
| > | > | > ==============================================
| > | > | > Thomas A. Rowe
| > | > | > Microsoft MVP - FrontPage
| > | > | > ==============================================
| > | > | > Agents Real Estate Listing Network
| > | > | > http://www.NReal.com
| > | > | > ==============================================
| > | > | >
| > | > | >
| > | > | > | > | > | > > So how do you change something? All I want to do is add a onsubmit event to
| > | > | > > my form tag?
| > | > | > > btw. I opened the site using the site address, does that make a difference?
| > | > | > >
| > | > | > >
| > | > | > > Thanks for your help. I am anxious to get answers...
| > | > | > >
| > | > | > > M
| > | > | > >
| > | > | > > "Thomas A. Rowe" wrote:
| > | > | > >
| > | > | > >> If FP writes the code, then any changes you make will most likely be overwritten when you save or
| > | > | > >> if
| > | > | > >> you re-open the page in FP.
| > | > | > >>
| > | > | > >> --
| > | > | > >> ==============================================
| > | > | > >> Thomas A. Rowe
| > | > | > >> Microsoft MVP - FrontPage
| > | > | > >> ==============================================
| > | > | > >> Agents Real Estate Listing Network
| > | > | > >> http://www.NReal.com
| > | > | > >> ==============================================
| > | > | > >>
| > | > | > >>
| > | > | > >> | > | > | > >> > yes.
| > | > | > >> >
| > | > | > >> > "Thomas A. Rowe" wrote:
| > | > | > >> >
| > | > | > >> >> Did FP create this ASP page?
| > | > | > >> >>
| > | > | > >> >> --
| > | > | > >> >> ==============================================
| > | > | > >> >> Thomas A. Rowe
| > | > | > >> >> Microsoft MVP - FrontPage
| > | > | > >> >> ==============================================
| > | > | > >> >> Agents Real Estate Listing Network
| > | > | > >> >> http://www.NReal.com
| > | > | > >> >> ==============================================
| > | > | > >> >>
| > | > | > >> >>
| > | > | > >> >> | > | > | > >> >> > Hi,
| > | > | > >> >> >
| > | > | > >> >> > I have been trying to add a onsubmit event to a Form tag and I am not able
| > | > | > >> >> > to. I have copied files from outside into frontpage and I have copied and
| > | > | > >> >> > pasted the onsubmit string. But after I save and close the asp file and then
| > | > | > >> >> > reopen it it takes away the onsubmit string?
| > | > | > >> >> >
| > | > | > >> >> > I am sure there is an easy answer to this, Could someone tell me why
| > | > | > >> >> > frontpage is not saving my changes?
| > | > | > >> >> >
| > | > | > >> >> > Thanks
| > | > | > >> >>
| > | > | > >> >>
| > | > | > >> >>
| > | > | > >>
| > | > | > >>
| > | > | > >>
| > | > | >
| > | > | >
| > | > | >
| > | >
| > | >
| > | >
| >
| >
| >
 
S

Stefan B Rusynko

Then w/o seeing the form no one can help you w/ your error
- make an unprotected copy and provide a link

--

_____________________________________________
SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
"Warning - Using the F1 Key will not break anything!" (-;
To find the best Newsgroup for FrontPage support see:
http://www.frontpagemvps.com/FrontPageNewsGroups/tabid/53/Default.aspx
_____________________________________________


| the url to the site is test.claimtoolkit.com. But you need a
| username/password to get to the page.
|
| thx
|
| "Stefan B Rusynko" wrote:
|
| > What is the location online form
| >
| > --
| >
| > _____________________________________________
| > SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
| > "Warning - Using the F1 Key will not break anything!" (-;
| > To find the best Newsgroup for FrontPage support see:
| > http://www.frontpagemvps.com/FrontPageNewsGroups/tabid/53/Default.aspx
| > _____________________________________________
| >
| >
| > | ?
| > | "Post a URL to the PAge".... What do you mean? what page and how?
| > |
| > | Thanks
| > |
| > | "Stefan B Rusynko" wrote:
| > |
| > | > No
| > | > Post a URL to the page
| > | >
| > | > --
| > | >
| > | > _____________________________________________
| > | > SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
| > | > "Warning - Using the F1 Key will not break anything!" (-;
| > | > To find the best Newsgroup for FrontPage support see:
| > | > http://www.frontpagemvps.com/FrontPageNewsGroups/tabid/53/Default.aspx
| > | > _____________________________________________
| > | >
| > | >
| > | > |I am not using FP form validation. I do my validation on the onsubmit click
| > | > | (if I could ever get FP to accept it!). using a call to a javascript function.
| > | > |
| > | > | Could it have anything to do with the project being opened as a remote web
| > | > | site as opposed to locally on your disk?
| > | > |
| > | > | I think this is a serious FP bug...
| > | > |
| > | > | "Stefan B Rusynko" wrote:
| > | > |
| > | > | > If you are using any FP Form validation FP will rename your form and apply its own on submit
| > | > | >
| > | > | > --
| > | > | >
| > | > | > _____________________________________________
| > | > | > SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
| > | > | > "Warning - Using the F1 Key will not break anything!" (-;
| > | > | > To find the best Newsgroup for FrontPage support see:
| > | > | > http://www.frontpagemvps.com/FrontPageNewsGroups/tabid/53/Default.aspx
| > | > | > _____________________________________________
| > | > | >
| > | > | >
| > | > | > |I tried changing while in Code mode in FP and also in Notepad (then copying
| > | > | > | the file over to the FP directory), it all changed back to the original.
| > | > | > | I don't have a problem with the database stuff. This is just to call a
| > | > | > | JavaScript function on onsbmit.
| > | > | > |
| > | > | > |
| > | > | > | "Thomas A. Rowe" wrote:
| > | > | > |
| > | > | > | > The other option is to learn to hand code your ASP/VBscript and not rely on the FP database
| > | > | > | > components.
| > | > | > | >
| > | > | > | > --
| > | > | > | > ==============================================
| > | > | > | > Thomas A. Rowe
| > | > | > | > Microsoft MVP - FrontPage
| > | > | > | > ==============================================
| > | > | > | > Agents Real Estate Listing Network
| > | > | > | > http://www.NReal.com
| > | > | > | > ==============================================
| > | > | > | >
| > | > | > | >
| > | > | > | > | > | > | > | > > So how do you change something? All I want to do is add a onsubmit event to
| > | > | > | > > my form tag?
| > | > | > | > > btw. I opened the site using the site address, does that make a difference?
| > | > | > | > >
| > | > | > | > >
| > | > | > | > > Thanks for your help. I am anxious to get answers...
| > | > | > | > >
| > | > | > | > > M
| > | > | > | > >
| > | > | > | > > "Thomas A. Rowe" wrote:
| > | > | > | > >
| > | > | > | > >> If FP writes the code, then any changes you make will most likely be overwritten when you save or
| > | > | > | > >> if
| > | > | > | > >> you re-open the page in FP.
| > | > | > | > >>
| > | > | > | > >> --
| > | > | > | > >> ==============================================
| > | > | > | > >> Thomas A. Rowe
| > | > | > | > >> Microsoft MVP - FrontPage
| > | > | > | > >> ==============================================
| > | > | > | > >> Agents Real Estate Listing Network
| > | > | > | > >> http://www.NReal.com
| > | > | > | > >> ==============================================
| > | > | > | > >>
| > | > | > | > >>
| > | > | > | > >> | > | > | > | > >> > yes.
| > | > | > | > >> >
| > | > | > | > >> > "Thomas A. Rowe" wrote:
| > | > | > | > >> >
| > | > | > | > >> >> Did FP create this ASP page?
| > | > | > | > >> >>
| > | > | > | > >> >> --
| > | > | > | > >> >> ==============================================
| > | > | > | > >> >> Thomas A. Rowe
| > | > | > | > >> >> Microsoft MVP - FrontPage
| > | > | > | > >> >> ==============================================
| > | > | > | > >> >> Agents Real Estate Listing Network
| > | > | > | > >> >> http://www.NReal.com
| > | > | > | > >> >> ==============================================
| > | > | > | > >> >>
| > | > | > | > >> >>
| > | > | > | > >> >> | > | > | > | > >> >> > Hi,
| > | > | > | > >> >> >
| > | > | > | > >> >> > I have been trying to add a onsubmit event to a Form tag and I am not able
| > | > | > | > >> >> > to. I have copied files from outside into frontpage and I have copied and
| > | > | > | > >> >> > pasted the onsubmit string. But after I save and close the asp file and then
| > | > | > | > >> >> > reopen it it takes away the onsubmit string?
| > | > | > | > >> >> >
| > | > | > | > >> >> > I am sure there is an easy answer to this, Could someone tell me why
| > | > | > | > >> >> > frontpage is not saving my changes?
| > | > | > | > >> >> >
| > | > | > | > >> >> > Thanks
| > | > | > | > >> >>
| > | > | > | > >> >>
| > | > | > | > >> >>
| > | > | > | > >>
| > | > | > | > >>
| > | > | > | > >>
| > | > | > | >
| > | > | > | >
| > | > | > | >
| > | > | >
| > | > | >
| > | > | >
| > | >
| > | >
| > | >
| >
| >
| >
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top