Moderators: Derry, Goldie, Harpo
Go
New
Find
Notify
Tools
Reply
  
-star Rating Rate It!  Login/Join 
Junior Mechanic
Posted
To anyone it may concern,
I am trying to learn how to program forms into
SiteSpinner code. I have two examples of code
which are incongruent with each other, and need
to be combined. One piece of code successfully
implements graphic images, but not Forms, the
other succesfully implements Forms, but not
graphic images. When I take the most straightforward way of combining the two pieces
of code into one piece of code, only the graphic
images actaully even appear on the finished page. I need to know the syntax of inserting
a non-W3C encoded Form into a W3C piece of code
created by SiteSpinner. It is unfortunate that
such an intricate piece of knowledge is made
into a "snipppet" issue, because I know that
whoever is answering this request values their
personal time, but then why did SiteSpinner not
have a provision for reverse engineering of their code put into some kind of tutorial?
 
Posts: 3 | Location: Liverpool, NY | Registered: June 06, 2007Reply With QuoteEdit or Delete MessageReport This Post
Guru 'Geezer' Mechanic
Picture of larryd
Posted Hide Post
Can you post links to the two pieces of code you are having trouble with?

There is no set "syntax" for inserting code. If a piece of code does not work, the reason is most often that it is being interfered with by another piece of code. The trick is to remove that interference.

Reverse engineering SiteSpinner code is rather simple since is it straight HTML code and can be edited using any plain text editor.
 
Posts: 5134 | Registered: December 03, 2006Reply With QuoteEdit or Delete MessageReport This Post
Junior Mechanic
Posted Hide Post
the two pieces of code are respectively:
www.ljgojer.us/testform.html
www.ljgojer.us/contactform.html
only that www.lgojer.us/contactform.html was
modified to be the third document in question
by me...the issue is to place the section of
code for an "input...form" from "testform.html" into some part of the "body" expression of
"contactform.html"
 
Posts: 3 | Location: Liverpool, NY | Registered: June 06, 2007Reply With QuoteEdit or Delete MessageReport This Post
Guru 'Geezer' Mechanic
Picture of larryd
Posted Hide Post
A quick check of the contactform.html page shows that you have a page within a page. The testform.html page is a complete HTML page: the first line says:
<html><head><title>example form</title></head><body>
which is not valid within another page. Remove this. Also, the testform.html last lines states:
 </body></html> 
which should also be removed.

With these two lines removed, use a code object to copy and paste the remaining testform.html code into the code editor. This will merge the form onto your SS project page. This should fix the problem.

Alternately, you can leave the testform.html page as is and use an i-frame to display it on your page.
 
Posts: 5134 | Registered: December 03, 2006Reply With QuoteEdit or Delete MessageReport This Post
Junior Mechanic
Posted Hide Post
Thank you very much for resolving this issue for
me. I know alot about Pascal, and C++ syntax,
but I am a fresh beginner with HTML. You made
a big difference for my ability to have this work
correctly.
 
Posts: 3 | Location: Liverpool, NY | Registered: June 06, 2007Reply With QuoteEdit or Delete MessageReport This Post
  Powered by Eve Community  
 


™ & © 1998 - 2008, Virtual Mechanics Inc. All rights reserved.