|
|
|
|
![]() ![]() |
Oct 28 2005, 05:49 PM
Post
#1
|
|
|
Member - Active Contributor Group: Members Posts: 80 Joined: 5-September 05 Member No.: 8,327 |
I done a form data that when i click submit ought to be saved on the server/or sent to my email as per my choice, but none happens.
i did the html form in MS Publisher and the submit button has command: .../index_files/--WEBBOT-SELF-- the help says to check if ISP has front page ssl 2.0 (or something close). hmm, what do i do? |
|
|
|
Oct 28 2005, 05:52 PM
Post
#2
|
|
|
Veteran Nut Group: Members Posts: 527 Joined: 4-October 05 From: UK Member No.: 8,895 |
Sorry, but you are making no sense. Publisher is not the program you should use IN ANY INSTANCE to create a webpage. And a webbot is nothing to do with form submit.
And the front page ssl 2.0 is jargon for, does the host have frontpage extension support (i think). |
|
|
|
Oct 29 2005, 01:50 AM
Post
#3
|
|
|
Super Member Group: Members Posts: 572 Joined: 25-April 05 From: Nashville Tennessee Member No.: 4,340 |
You should have a form that tells the HTML how to handle the form in the very beginning of the form it should look like the below, you just need to fill in the proper information.
CODE <form action="processform.xxx" method ="post"> <code ........................................more code> <input type="submit" value ="process"> </form> Now you will need a program that will process this form and send e-mail to you with the processed results that part is up to you and in th above example the processform.xxx will be replaced by whatever program you want to process the file, that is where your problem is since you said that your form action referred to a robot or something else that couldn't work. You need a file that will take the posted information that is in the named fields of the form and do something with it. |
|
|
|
Nov 4 2005, 09:56 AM
Post
#4
|
|
|
Member - Active Contributor Group: Members Posts: 80 Joined: 5-September 05 Member No.: 8,327 |
okay, that was a little helpful Houdini, but if you can, can i get a complete sample coding of a working form. and instead of emailing, if it can save to a file on the server will be good too!
and 'guy', you think you are too smart, why dont you get me something that could actually help out rather than showing how 'high-knowledge' person you are, which you arent from any point of my view! "Publisher is not the program in any instance for webpages???" lol have you used publisher? if not, then i think you should keep that thing shut! else, try using it! its good for dummies like me.. lol.. and better for dummier ppl like you ;-) no offence but.. i dont think you were trying to help me, rather than getting posts credits.. lol |
|
|
|
Nov 4 2005, 02:42 PM
Post
#5
|
|
|
Wheeeeeeee! Group: Members Posts: 245 Joined: 19-October 05 From: DG, Belgium Member No.: 9,200 |
Hey Yudzzy, you have to include more information to make people able to help you otherwise they can just guess and if that doesn't help you, you might also think about what you did wrong. But well, let me try my part:
You are trying to send information from a form field to a script which is supposed to save the information somewhere, right? Did you write that script yourself? Could we see the source code for the page with the submit form on it? A working example of a form (in HTML): CODE <form action="script.php" method="post" name="FormName"> <input type="text" name="textfieldName" size="24" /> <input type="submit" name="submitButtonName" value="submitButtonLabel" /> </form> I do not believe that the submit button can make any problems. It just has to be type="submit". You have to ensure that there is a working script at the other end. If you want really useful help for your problem, then you have to provide us with more information! // Ruben |
|
|
|
Nov 6 2005, 02:41 AM
Post
#6
|
|
|
Absolute Newbie Group: Admin Posts: 871 Joined: 20-February 05 From: Indianapolis, Indiana, USA (Midwest) Member No.: 2,714 |
OK, lets take this step by step.
First, MS Publisher does have the capability to produce web pages but lacks the ability to create a script to handle the form request. Actually, Publisher does a fairly decent job of outputing HTML especially for new website creators. It It is very limited in it's overall usability but if you don't have a better wysiwyg and don't know HTML, go with what you have. Second, "--WEBBOT-SELF--" is more than likely a prompt for the actual file that should be used to handle the request from the from. Otherwise, it is an internal script engine designed to perform simple and common form requests. Whatever the reasoning for Publisher inserting that command there, it really should be the file path of a working script that was designed to handle the form request. Third, you'll need some type of handler in nearly all form requests. This is usually some file that resides on your server that is expecting the various information that your form will send to it. Any information it isn't expecting will simply be ignored in most cases. There are a few ways to use JavaScript to handle the from request and output a result but this is infrequent. [/hr] Here is a baisc fow of information through a form.
As an example of how all of this works, I'll describe the process of posting a reply in this forum.
[/hr] As you should realize by now, if you don't have some type of script at the end of that request, nothing will happen. It is like calling another house that doesn't have a phone connected. You'll just ring and ring but the server won't answer. If you want to be able to use forms on your website to allow users to send you information, you'll need to do one of two things.
Since I assume that you are still kind of new to the world of web publishing, I think it would be best for now to locate a prewritten script for your needs. There are hundreds of scripts other people have already written that are free to use if you know where to look. For Perl scripts, I suggest the CGI Resource Index: http://cgi.resourceindex.com/ For PHP scripts, I suggest the PHP Resource Index: http://php.resourceindex.com/ There are other places to get scripts but you should find what you need here. I recommend going with PHP because it will be easier for you to learn from and Perl scripts are less likely to be supported by your service provider. [hr=0] These scripts can be very simple for a mailto script that just emails the information to you or very complex for a database program that adds, modifies, searches database entries. I hope that this will give you a better idea of what you'll need to successfully add forms to your website. [hr=0][/hr] Good Luck. vujsa |
|
|
|
Nov 6 2005, 03:06 AM
Post
#7
|
|
|
Super Member Group: Members Posts: 572 Joined: 25-April 05 From: Nashville Tennessee Member No.: 4,340 |
Good expalination vujsa and the links ought to help them get going with their site, but there is however a little more that happens with a post with Invision, when the post is submitted or previewed it is parsed into HTML for display, and when submitted it is stored as IB Code in the database. When you click a link of a post it is fetched from the database then reparsed back into HTML.
If a user clicks to edit a post (possible here but difficult) then the HTML that shows in the messsage text area is then reconverted into IB Code for the editing process, and whan submitted the altered post takes the place of the IB Code that was stored on the database. |
|
|
|
Nov 7 2005, 06:25 AM
Post
#8
|
|
|
Veteran Nut Group: Members Posts: 527 Joined: 4-October 05 From: UK Member No.: 8,895 |
QUOTE(YudzzY @ Nov 4 2005, 09:56 AM) okay, that was a little helpful Houdini, but if you can, can i get a complete sample coding of a working form. and instead of emailing, if it can save to a file on the server will be good too! and 'guy', you think you are too smart, why dont you get me something that could actually help out rather than showing how 'high-knowledge' person you are, which you arent from any point of my view! "Publisher is not the program in any instance for webpages???" lol have you used publisher? if not, then i think you should keep that thing shut! else, try using it! its good for dummies like me.. lol.. and better for dummier ppl like you ;-) First of all, as Ruben explained, as you did not put enough information, I couldn't understand your request, therefore, I found no reason to put any helpful information. If I appeared blunt or rude, then I appologise. Next, I have tried Publisher, Word and a lot more office tools to make webpages and they simply did not have the power to make "good-enough" webpages, the output may be almost standard, but they do not have the speciality that is needed. Try using a WYSIWYG editor, one that gives you the functionality of Publisher and the power of true web-designing. For beginners, I would suggest Namo WebEditor or NetObjects Fusion (just google the terms), alternatively, you could find tutorials on the net on how to use Dreamweaver. All of the software I have mentioned comes with a 30-day free trial, so you can decide which one is best. The reason Publisher, Word and other office applications shouldn't be used, is that they are mainly for Print. Publisher is short for Desktop Publishing, mainly used for printed documents. It was designed to be only partially usable for the Internet, and Word, is just the same, but harder to use. As for your original request, I think vujsa explained it well. A great resource for scripts is http://www.hotscripts.com just navigate around it and you should find what you are looking for. A slightly detailed tutorial on using PHP can be found at http://www.w3schools.com click on the PHP on the menu and it should get you started. |
|
|
|
Nov 7 2005, 10:55 PM
Post
#9
|
|
|
Geek in-training Group: Members Posts: 301 Joined: 2-July 05 From: Washington State, USA, 3rd Rock from the Star Sol Member No.: 6,772 |
Vujsa good explanation as usual but if I may I'd like to make a suggestion here.
WUSIWYG editors are great, and if your on a Server with FrontPage extentions and the rest of the stuff FrontPage needs to do its thing then it is a halfway decent editor to start with...IMHO. Its how I started out with form building and what not, but before anyone starts a good natured discussion over its many weaknesses and dirty code, please let me state that no matter what WYSIWYG editor you may or may not chose to use never forget that you should do your best to learn how to code on your own, nothing beats having a binder full of notes and a good knowledge base since there are certain things that no WYSIWYG editor can do. Now that Webot entery is just a place holder so that you can enter your own script to be able to send/save the contents of the feild as you see fit. Publisher is giving you the basic code and is letting you know where to put in the code/script that you need to be able to complete what your trying to do. Vujsa and Guy have put up a couple of very good links where you can find and research the scripts you need. Good luck and hope your able to get your form working. Please let us know. |
|
|
|
Nov 8 2005, 09:32 AM
Post
#10
|
|
|
Member - Active Contributor Group: Members Posts: 80 Joined: 5-September 05 Member No.: 8,327 |
yes i read that yesterday, and i was impressed by the quality of response and i actually need to check out those scripts and implement them.
ruben: just your code what you wrote, is it enough to make the form work? of course the scripts too! if i can get the meaning of each commands that would be helpful, like form action = script.php does what etc. vujsa: thats so helpful of you, i will try it and get back to you? it will take some time to get the things work perfectly.. but thats a hella explanation.. hats off guy: thanks for the links, you were better this time logan: thanks for your suggesting but i'm more into other computer stuffs than programming, but i will take it into consideration! i appreciate the help :-D |
|
|
|
![]() ![]() |
Similar Topics
|
Lo-Fi Version | Time is now: 7th July 2008 - 04:58 AM |