Re: Order form with javascript & php files will not work in FrontP

From: Ripper (donotemailme_at_thisisntreal.com)
Date: 10/17/04


Date: Sun, 17 Oct 2004 11:48:02 -0400

Always. You have to use FP to edit the form. Editing a form in Word doesn't
make any sense to me. Why use a word processor to edit HTML files? It is
possible, but there are so many different things within the code now and FP
is written to handle most of them on it's own now, Word isn't. When I used
FP 98, 2000, I used to use DreamWeaver to edit PHP, JS and other files that
FP would alter if you used it to edit them. Now with FP 03, it handles them
fine.

"Joe's Girl" <JoesGirl@discussions.microsoft.com> wrote in message
news:94A4283C-EA94-41A6-ADDC-B43F966BE492@microsoft.com...
> I usually edit locally and then publish, I can't remember if I've ever
tried
> editing live in FP (that sounds dumb I know but I've been fighting with
this
> for a lonnnng time). I tried in Word earlier this week and that was a
> disaster ;-)
>
> Do you use FP to do your editing on the form page?
>
> "Ripper" wrote:
>
> > Stupid question. Are you working local and publishing or live on the
server?
> > It's possible that editing your files local and then publishing is
somehow
> > not updating the relative paths when you publish. I always work live on
the
> > server, then publish the changes to my local copy. When I started using
> > FrontPage, forms HAD TO BE created and manipulated live on the server.
I'm
> > not sure if that is still the case, but it is still the way I do it and
no
> > amount of page editing changes the form actions unless I screw something
up,
> > which happens........
> > "Joe's Girl" <JoesGirl@discussions.microsoft.com> wrote in message
> > news:A97C8F2A-1D1F-4845-A28F-D6641E3D01CE@microsoft.com...
> > > "> The problem with any server-side script, is that it can't be seen
via
> > the
> > > browser. "
> > > OK, I can understand that.
> > >
> > > The script files are separate (text) files from the actual form file.
I
> > was
> > > thinking the problem lies in the form code. Since I have never
touched
> > the
> > > text files, only the form. Does that sound right or am I missing some
key
> > > point?
> > >
> > > Here's a list of the "related" files:
> > >
> > > OrderForm.htm
> > > WRPrintableOrderForm.htm
> > > func.js
> > > order.php
> > > order_confirmation.htm
> > >
> > > One would think if I opened the form page in FP changed something as
> > simple
> > > as a font color, saved and uploaded again (either through FP or the
> > control
> > > panel) that it would still work. Something is happening that nomatter
> > what
> > > program I use to edit when I'm done the form doesn't "talk" to the
script
> > > files any more. I would just like to find out what that is, and fix
it.
> > >
> > > Thanks for taking the time to help me with this.
> > >
> > >
> > > "Thomas A. Rowe" wrote:
> > >
> > > > The problem with any server-side script, is that it can't be seen
via
> > the browser. Your best option
> > > > is to contact the individual the made to form and have explain to
you
> > want can and can not be
> > > > edited, also you may need to edit this file in Notepad and not FP or
> > Word.
> > > >
> > > > --
> > > > ==============================================
> > > > Thomas A. Rowe (Microsoft MVP - FrontPage)
> > > > WEBMASTER Resources(tm)
> > > > http://www.ycoln-resources.com
> > > > FrontPage Resources, WebCircle, MS KB Quick Links, etc.
> > > > ==============================================
> > > > To assist you in getting the best answers for FrontPage support see:
> > > > http://www.net-sites.com/sitebuilder/newsgroups.asp
> > > >
> > > > "Joe's Girl" <JoesGirl@discussions.microsoft.com> wrote in message
> > > > news:1DEFB3D2-6C6E-4701-9B2D-5EFAFFADFE1E@microsoft.com...
> > > > > "Brave" isn't exactly the word I'd use...desperate is more like it
;-)
> > At
> > > > > this point I'm willing to try just about anything.
> > > > >
> > > > > I just want to be able to edit this silly thing and have it still
work
> > when
> > > > > I'm done. Is this too much to ask?! :-)
> > > > >
> > > > > Ya know, worst case scenario if someone could look at the code and
> > tell me
> > > > > what's OK to change and what I should never - ever touch I might
be
> > willing
> > > > > to try editing it manually. As of right now though, I'm afraid to
> > touch
> > > > > anything.
> > > > >
> > > > > "Rob Giordano (aka: Crash Gordon®)" wrote:
> > > > >
> > > > > > Are you saying you opened a FP form page with Word??
> > > > > > If so, you're much braver than I :-)
> > > > > >
> > > > > >
> > > > > >
> > > > > > "Joe's Girl" <JoesGirl@discussions.microsoft.com> wrote in
message
> > > > news:303C2850-AD55-4A77-9930-CDE231E8968E@microsoft.com...
> > > > > > | It is definately being published via http, I learned the hard
way
> > about FP &
> > > > > > | ftp.
> > > > > > |
> > > > > > | I tried an experiment yesterday and tried opening the form
page
> > here at work
> > > > > > | by clicking on the Edit with Microsoft Word, and now I have
extra
> > buttons and
> > > > > > | the fields don't do their thing. I didn't even 'Save' the
file
> > when I was
> > > > > > | done, I just closed the window, and change font colors is all
that
> > I fiddled
> > > > > > | with. Is there any way to tell what is happening to the code
to
> > make it not
> > > > > > | work? I've looked at it a hundred times, but I don't know
what
> > I'm looking
> > > > > > | for...
> > > > > > |
> > > > > > | "Rob Giordano (aka: Crash GordonĀ®)" wrote:
> > > > > > |
> > > > > > | > oh...you're right! I guess I should be saying Publish via
http
> > or Publish via ftp...
> > > > otherwise it could be confusing huh!
> > > > > > | >
> > > > > > | >
> > > > > > | > "Stefan B Rusynko" <sbr_enjoy@hotmail.com> wrote in message
> > > > news:unyEL6PsEHA.2668@TK2MSFTNGP12.phx.gbl...
> > > > > > | > | It is only the same if you are using a http://....
location
> > instead of a ftp://...
> > > > location as the destination
> > > > > > | > |
> > > > > > | > | --
> > > > > > | > |
> > > > > > | > | _____________________________________________
> > > > > > | > | 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.net-sites.com/sitebuilder/newsgroups.asp
> > > > > > | > | _____________________________________________
> > > > > > | > |
> > > > > > | > |
> > > > > > | > | "Rob Giordano (aka: Crash GordonĀ®)"
> > <NOVIAGRAwebmaster@siriussystems.com> wrote in
> > > > message
> > > > > > | > | news:e0z2zkGsEHA.596@TK2MSFTNGP11.phx.gbl...
> > > > > > | > | its the same
> > > > > > | > |
> > > > > > | > |
> > > > > > | > |
> > > > > > | > | "Joe's Girl" <JoesGirl@discussions.microsoft.com> wrote in
> > message
> > > > news:473EE063-AF05-411C-BE73-CD293CD80020@microsoft.com...
> > > > > > | > | | I use "Publish Site" from the File menu. You mention
"http
> > mode" is that
> > > > > > | > | | something different?
> > > > > > | > | |
> > > > > > | > | | "Stefan B Rusynko" wrote:
> > > > > > | > | |
> > > > > > | > | | > Don't use any upload methods for the FP site
(especially
> > forms) except Publish in http
> > > > mode in FP
> > > > > > | > | | >
> > > > > > | > | | > --
> > > > > > | > | | >
> > > > > > | > | | > _____________________________________________
> > > > > > | > | | > 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.net-sites.com/sitebuilder/newsgroups.asp
> > > > > > | > | | > _____________________________________________
> > > > > > | > | | >
> > > > > > | > | | >
> > > > > > | > | | > "Joe's Girl" <JoesGirl@discussions.microsoft.com>
wrote in
> > message
> > > > news:2E386BF5-5ECC-4C5B-96C8-C09F0AD481D4@microsoft.com...
> > > > > > | > | | > | I wouldn't mind so much having to upload through the
> > control panel, if I
> > > > > > | > | | > | could edit the form page somehow. For example I've
> > added a page to my site
> > > > > > | > | | > | and I can't put a link button to it on the form
page. I
> > also need to add a
> > > > > > | > | | > | "Special Instructions" field & have that info go
where
> > it's supposed to.
> > > > > > | > | | > |
> > > > > > | > | | > | As for what happens when I publish w/FP: The form
looks
> > just fine but the
> > > > > > | > | | > | "automatic" features don't work...the price doesn't
get
> > entered and the
> > > > > > | > | | > | fields that are not applicable don't get disabled.
> > > > > > | > | | > |
> > > > > > | > | | > |
> > > > > > | > | | > | "Thomas A. Rowe" wrote:
> > > > > > | > | | > |
> > > > > > | > | | > | > I would suggest that you continue to use your web
host
> > control panel to upload the
> > > > files, unless you
> > > > > > | > | | > | > tell us exactly what is happen when you publish
via
> > FP.
> > > > > > | > | | > | >
> > > > > > | > | | > | > Also if you are using custom written JavaScript
> > validation function, then you can
> > > > not use FP Form
> > > > > > | > | | > | > Field Validation at the same time. You would have
to
> > combine both set of scripts
> > > > into one, and then
> > > > > > | > | | > | > do no use FP Form Field Validation function.
> > > > > > | > | | > | >
> > > > > > | > | | > | > --
> > > > > > | > | | > | > ==============================================
> > > > > > | > | | > | > Thomas A. Rowe (Microsoft MVP - FrontPage)
> > > > > > | > | | > | > WEBMASTER Resources(tm)
> > > > > > | > | | > | > http://www.ycoln-resources.com
> > > > > > | > | | > | > FrontPage Resources, WebCircle, MS KB Quick Links,
> > etc.
> > > > > > | > | | > | > ==============================================
> > > > > > | > | | > | > To assist you in getting the best answers for
> > FrontPage support see:
> > > > > > | > | | > | >
http://www.net-sites.com/sitebuilder/newsgroups.asp
> > > > > > | > | | > | >
> > > > > > | > | | > | > "Joe's Girl" <JoesGirl@discussions.microsoft.com>
> > wrote in message
> > > > > > | > | | > | >
> > news:524023C7-0939-423F-8CDC-A8EFF59CBAFA@microsoft.com...
> > > > > > | > | | > | > > Any idea how I can get FP to do the things I
want?
> > Is there a tutorial
> > > > > > | > | | > | > > somwhere?
> > > > > > | > | | > | > >
> > > > > > | > | | > | > > "bubbles" wrote:
> > > > > > | > | | > | > >
> > > > > > | > | | > | > > > JoesGirl,
> > > > > > | > | | > | > > >
> > > > > > | > | | > | > > > your best bet is to stick with Frontpage
Forms.
> > Script and php is opensource
> > > > > > | > | | > | > > > and might have issues with FP extensions.
> > > > > > | > | | > | > > >
> > > > > > | > | | > | > > > bubbles
> > > > > > | > | | > | > > >
> > > > > > | > | | > | > > > "Joe's Girl" wrote:
> > > > > > | > | | > | > > >
> > > > > > | > | | > | > > > > I have created an order form in FrontPage
and
> > had someone write the script
> > > > > > | > | | > | > > > > files for me. At this point I am not able
to
> > upload these files to my site
> > > > > > | > | | > | > > > > through FP 2003 and have them work the way
they
> > should. I can upload them
> > > > > > | > | | > | > > > > from my server control panel and they will
work.
> > > > > > | > | | > | > > > >
> > > > > > | > | | > | > > > > Is there any way to get these files to work
with
> > FP? At this point I am
> > > > > > | > | | > | > > > > unable to edit/update my form page since I
don't
> > know HTML. (I'm a WYSIWYG
> > > > > > | > | | > | > > > > kinda gal :) )
> > > > > > | > | | > | > > > >
> > > > > > | > | | > | > > > > http://winning-ribbons.com/OrderForm.htm
> > > > > > | > | | > | > > > >
> > > > > > | > | | > | > > > > Thanks.
> > > > > > | > | | > | >
> > > > > > | > | | > | >
> > > > > > | > | | > | >
> > > > > > | > | | >
> > > > > > | > | | >
> > > > > > | > | | >
> > > > > > | > |
> > > > > > | > |
> > > > > > | >
> > > > > >
> > > >
> > > >
> > > >
> >
> >
> >