Re: Building an On-Rev Guest Book

2009-08-28 Thread Gregory Lypny
Hi Sarah, Looks like it will save the entry to a file only if the form action is the iRev code. But I think I've found a fix, and that is to include target="_self" or some other frame in the form tag. I'm going to play around with it and try to incorporate some of the neat code from your

Re: Building an On-Rev Guest Book

2009-08-28 Thread Sarah Reichelt
Does the form work in the end i.e. does the new entry get added to your guest book text file? If so, then the only problem is that things are happening in the wrong order. You ned to check for POST data, and if it's there, save it to the text file. Then you need another section of irev code that r

Re: Building an On-Rev Guest Book

2009-08-28 Thread Gregory Lypny
Thanks for responding, Sarah. Tried that but it doesn't work. The page displays the result of the form.irev code as it would be before the form is processed even if the form is filled and the submit button clicked. Perhaps I misunderstood your instructions. I changed "http://my

Re: Building an On-Rev Guest Book

2009-08-27 Thread Sarah Reichelt
Instead of posting the form data to a separate file, post it back to the file containing the form itself and have it read the post data, save it and then display it all in the one file. So put the script you have in form.irev into an HTML snippet on the original page. Then change the form a

Building an On-Rev Guest Book

2009-08-27 Thread Gregory Lypny
Hello everyone, Well, I've made some progress with this whole On-Rev thing. I'm trying to reproduce Kevin Miller's video example of guest book form that echoes the entry and save it to a file except that I want to do it using an HTML snippet object in an iWeb page that I've got served fr