navigation
a webmaster learning community
     Home    Register     Search      Help      Login    
FrontPage Alternative
Sponsors

Shopping Cart Software
Ecommerce software integrated into Frontpage, Dreamweaver and Golive templates. No monthly fees and available in ASP and PHP versions.

Website Templates
We also have a wide selection of Dreamweaver, Expression Web and Frontpage templates as well as webmaster tools and CSS layouts.

Frontpage website templates
Creative Website Templates for FrontPage, Dreamweaver, Flash, SwishMax

Search Forums
 

Advanced search
Recent Posts

 Todays Posts
 Most Active posts
 Posts since last visit
 My Recent Posts
 Mark posts read

 

frontpage form copied from page not working

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
Printable Version 

All Forums >> Web Development >> General Web Development >> frontpage form copied from page not working
Page: [1]
 
d a v e

 

Posts: 4177
Joined: 7/24/2002
From: England (but live in Finland now)
Status: offline

 
frontpage form copied from page not working - 12/21/2006 13:34:54   
i copied the code for a frontpage form into a new template that i made in dreamweaver, checked the code and made it look exactly the same as the fp page but saved it as a different file name and changed the webbot bit to my email not the clients. anyway id din't work for the client and now doesn't work using my email address (i assume the original page works ...)

the original page is here http://encinosmiledr.com/contact.htm

my attempt is here http://encinosmiledr.com/contact_new.htm

obviously i'm editing in dw the closing the file, opening the site in fp and publishing changes: this has worked fine for other, non-form pages but now it's misbehaving. help! :)



_____________________________

David Prescott
Gekko web design
rubyaim

 

Posts: 757
Joined: 6/22/2005
Status: offline

 
RE: frontpage form copied from page not working - 12/21/2006 16:59:30   
Hi Dave, I copied your form and worked live on the server - got it to work fine - below is what worked here:

Start of the form:
<form action="--WEBBOT-SELF--" method="POST"><!--webbot bot="SaveResults" S-Email-Format="TEXT/PRE" S-Email-Address="someone@example.com" B-Email-Label-Fields="TRUE" S-Builtin-Fields U-Confirmation-Url="confirmationpage.htm" -->


End of the form (removed the link):
<p>
<input tabindex="8" type="submit" value="Click Here for an Appointment" name="click_here_for_an_appointment">	
<input tabindex="9" type="reset" value="Start Over" name="reset">
</p>
</form>


_____________________________

Sally

(in reply to d a v e)
d a v e

 

Posts: 4177
Joined: 7/24/2002
From: England (but live in Finland now)
Status: offline

 
RE: frontpage form copied from page not working - 12/22/2006 12:49:48   
you mean you got an email sent to you with the form results?!

client said later tonight that everytime he modified the page his GWD (his host, i think) had to reset something (reinstall extensions perhaps??) seems a bit weird maybe but would explain why it works for you and not for me because the extensions on broken on our server (but peachy on yours)

does this make sense ? i'm a fair bit of a fronptage newbie ;)

_____________________________

David Prescott
Gekko web design

(in reply to rubyaim)
Tailslide

 

Posts: 6292
Joined: 5/10/2005
From: Out here on the raggedy edge
Status: offline

 
RE: frontpage form copied from page not working - 12/22/2006 13:02:50   
Dave - is there a reason why you're using FP to do the form? Why not just do a normal form - If the client wants to edit the site using FP - they're unlikely to edit the form surely?

_____________________________

"My strategy is so simple an idiot could have devised it"
Little Blue Plane Web Design | Blood, Sweat & Rust - A Land Rover restoration project

(in reply to d a v e)
d a v e

 

Posts: 4177
Joined: 7/24/2002
From: England (but live in Finland now)
Status: offline

 
RE: frontpage form copied from page not working - 12/22/2006 15:07:27   
i'm just moving their old content into my template (done in DW) and, er, i'm not very up with forms! :) just wanted to get it working and out of the way.
oh apparently "And yes, I think they have to play with the FP extensions every time I fix the contact page." not sure why this would be but do you think i should just redo the form without FP - it sis quite simple but i've never done form handling before ... (really?!!! eek) if you recommend redoing the form and could point me to a simple resource i'm pretty sure i could suss it out,
though:
- not sure whether host supports php or ... how do i find out?
- if they do and i need e.g. a php extensions on the page do i have to recalcualte all hyperlinks in fp??

thanks



_____________________________

David Prescott
Gekko web design

(in reply to Tailslide)
Tailslide

 

Posts: 6292
Joined: 5/10/2005
From: Out here on the raggedy edge
Status: offline

 
RE: frontpage form copied from page not working - 12/22/2006 15:26:43   
If you check which server type you've got via the FF web developer toolbar (information > response headers) you'll find out if it's IIS or apache or whatever. I reckon a very very high percentage of hosts offer PHP so you'd have to be unlucky not to have it.

For forms I use the NMS version of FormMail - http://nms-cgi.sourceforge.net/scripts.shtml It's secure and pretty easy to use. All you do is unzip the file, add in the various bits such as email address for the email to go to, the domain name, the IP address and the path to the stylesheet if you want to tart up the error page. You need to change the first setting to 1 from 0 which is for testing (might be the other way around) then upload it to the cgi-bin on the web server. Change the CHMOD to 755 and add the hidden fields to the form. The rest of the form is unchanged - whatever fields you had before.

That's it.

It doesn't need a PHP extension or anything like that.

If you get stuck I can send you an example or two of forms I've done if that's any help (including the formmail.tpl file so you can see a "real" version).

_____________________________

"My strategy is so simple an idiot could have devised it"
Little Blue Plane Web Design | Blood, Sweat & Rust - A Land Rover restoration project

(in reply to d a v e)
d a v e

 

Posts: 4177
Joined: 7/24/2002
From: England (but live in Finland now)
Status: offline

 
RE: frontpage form copied from page not working - 12/22/2006 15:43:48   
i'll try that out and get back in a few days and let you know how it worked out

thanks :)

_____________________________

David Prescott
Gekko web design

(in reply to Tailslide)
rubyaim

 

Posts: 757
Joined: 6/22/2005
Status: offline

 
RE: frontpage form copied from page not working - 12/22/2006 16:21:43   
quote:

- if they do and i need e.g. a php extensions on the page do i have to recalcualte all hyperlinks in fp??


Hi Dave, if you go to a PHP form (I would in this case given it's on 'nix and the extensions are a problem), then there is probably no need to open the site in FP at all - you can stick with DW.

Is there anything else on the site using FP widgets?

_____________________________

Sally

(in reply to d a v e)
Tailslide

 

Posts: 6292
Joined: 5/10/2005
From: Out here on the raggedy edge
Status: offline

 
RE: frontpage form copied from page not working - 12/22/2006 16:35:32   
I forgot to mention that the nms formmail is perl so it's independent of php or asp and should work on any type of server.

_____________________________

"My strategy is so simple an idiot could have devised it"
Little Blue Plane Web Design | Blood, Sweat & Rust - A Land Rover restoration project

(in reply to rubyaim)
rubyaim

 

Posts: 757
Joined: 6/22/2005
Status: offline

 
RE: frontpage form copied from page not working - 12/22/2006 17:21:31   
quote:

is perl so it's independent of php or asp and should work on any type of server.


But does it have to be set up on the Server initially?

I know I can't use Perl on our IIS - the head server guy does not want to set it up (not that I care as I use asp or FP forms, but am now wondering if he was just telling me that :) ).

_____________________________

Sally

(in reply to Tailslide)
Tailslide

 

Posts: 6292
Joined: 5/10/2005
From: Out here on the raggedy edge
Status: offline

 
RE: frontpage form copied from page not working - 12/22/2006 17:27:56   
You mean Perl? I guess so. I've not come across an occasion where it's not set up - but that doesn't mean that all servers have it. I remember that it can certainly run on IIS. They've got a massive FAQ there (sourcefourge type thing) so it must be covered in there somewhere!

_____________________________

"My strategy is so simple an idiot could have devised it"
Little Blue Plane Web Design | Blood, Sweat & Rust - A Land Rover restoration project

(in reply to rubyaim)
rubyaim

 

Posts: 757
Joined: 6/22/2005
Status: offline

 
RE: frontpage form copied from page not working - 12/22/2006 17:33:46   
Sorry, yes - I did mean Perl. I remember wanting to play with it at some stage at work and being told 'no way' :)

Wonder if it would work on localhost? I'll look around, that will give me something to do over the holidays to get away from the hoards of kids visiting (sorry, Mummy has to work for a couple of hours - Daddy will take you all to the beach) :)


_____________________________

Sally

(in reply to Tailslide)
d a v e

 

Posts: 4177
Joined: 7/24/2002
From: England (but live in Finland now)
Status: offline

 
RE: frontpage form copied from page not working - 12/27/2006 7:08:51   
where's the cgi bin on the server? in fp i don't see it in any of the folders, or is it hidden by default?

_____________________________

David Prescott
Gekko web design

(in reply to rubyaim)
jaybee

 

Posts: 14191
Joined: 10/7/2003
From: Berkshire, UK
Status: offline

 
RE: frontpage form copied from page not working - 12/27/2006 7:24:42   
cgi-bin is a folder on the host, you won't see it in FP. You might see it if you go into the File Manager on your control panel.

Depends how they have your account set up as to where it'll be. One of my hosts has it in the root another has it outside of the root.

_____________________________

If it ain't broke..... fix it until it is.
:)

:)
GAWDS
Now where did I put that Doctype?

(in reply to d a v e)
Tailslide

 

Posts: 6292
Joined: 5/10/2005
From: Out here on the raggedy edge
Status: offline

 
RE: frontpage form copied from page not working - 12/27/2006 8:36:06   
I access the web server via an FTP programme - the cgi-bin is usually inside the public_html folder but as Jaybee says can sometimes be higher up.

_____________________________

"My strategy is so simple an idiot could have devised it"
Little Blue Plane Web Design | Blood, Sweat & Rust - A Land Rover restoration project

(in reply to jaybee)
caz

 

Posts: 3587
Joined: 10/10/2001
From: Somewhere south of Chester, UK
Status: offline

 
RE: frontpage form copied from page not working - 12/27/2006 10:20:16   
You can test for the availablility of PHP on the server by using jaybee's test page,

http://www.frontpagewebmaster.com/m-343727/key-php%252Ctest/tm.htm#343765

If that works then use Mike Cherim's secure form. This worked for me on a Windows server, but then the admin's there don't have to reset extensions to change FP forms all the time. It could be a permissions setting at the moment though.:)

Goes without saying that you have to FTP the form set up and not Publish...

_____________________________

Do not meddle in the affairs of cats, for they are subtle and will dance, or more on your keyboard.
Cheshire cat. www.doracat.co.uk

I remember when it took less than 4hrs to fly across the Atlantic.

(in reply to Tailslide)
d a v e

 

Posts: 4177
Joined: 7/24/2002
From: England (but live in Finland now)
Status: offline

 
RE: frontpage form copied from page not working - 1/13/2007 15:57:17   
with tail's help i've used 'her' perl form and now got my test form working. just working on the real thing now ;) thanks all

_____________________________

David Prescott
Gekko web design

(in reply to caz)
Page:   [1]

All Forums >> Web Development >> General Web Development >> frontpage form copied from page not working
Page: [1]
Jump to: 1





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts