close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

HELP The form wont work!!!

Thread began 3/01/2013 9:28 am by tdhkfinkel424121 | Last modified 3/01/2013 9:48 am by Jason Byrnes | 3530 views | 1 replies |

tdhkfinkel424121

HELP The form wont work!!!

Hi,

I have created a complicated form with CSS Form Builder and it seems to only work in some servers.
In IE and in Lunascape the form wont load at all but in Chrome and Firefox there's no problem.

How do I get it to work in ALL servers?

Attached Files
license_form1Web2A.zip
Sign in to reply to this post

Jason ByrnesWebAssist

IE, Chrome, and Firefox are web browsers, not web servers.

Where this is a browser specific issue, i will need to be able to see the problem to troubleshoot.

Please send a link where i can see the problem to troubleshoot the cause.

Sign in to reply to this post

tdhkfinkel424121

Browser Issue

Hi Jason,

Sorry for the tech wording error...
Anyway the home page is:
www.hinghamshipyardmarinas.com/
There's a drop down menu bar (that may work-or not) that has a link to the online license form or you can go to:

marina-dockage-storage.html
And click on the on line license form link there
And below is the form it self
license_form1Web2A.php

Thanks

Sign in to reply to this post

Jason ByrnesWebAssist

Viewing the source code of your page page, I see the following:

<script language="javascript" type="text/javascript"  />
<!--
function process3Shirts()
{
var quantity = parseInt(document.HSMLicense_BrassyHSM_BrassyHSM.txt3ShirtQuantity.value);
var unitPrice = parseFloat(document.HSMLicense_BrassyHSM_BrassyHSM.txt3ShirtUnitPrice.value);
var total = unitPrice * quantity;

document.HSMLicense_BrassyHSM_BrassyHSM.txt3ShirtTotal.value = total.toFixed(2);
}



</script>




there is a missing closing comment. it should be:

<script language="javascript" type="text/javascript"  />
<!--
function process3Shirts()
{
var quantity = parseInt(document.HSMLicense_BrassyHSM_BrassyHSM.txt3ShirtQuantity.value);
var unitPrice = parseFloat(document.HSMLicense_BrassyHSM_BrassyHSM.txt3ShirtUnitPrice.value);
var total = unitPrice * quantity;

document.HSMLicense_BrassyHSM_BrassyHSM.txt3ShirtTotal.value = total.toFixed(2);
}


-->
</script>
Sign in to reply to this post

tdhkfinkel424121

Thanks

Hi Jason,
Thank you-Just when you think you dotted all the" i "s....

Another issue I'm wrestling with is my spry menu bar in IE.
I'm wondering if you have any ideas how I can get the drop downs work on the menu bar with out having to recreate it.? Or is there a webassist that is more suited for that type of menu bar in IE9?

Thanks Again

Sign in to reply to this post

Jason ByrnesWebAssist

your page is missing the doctype tag.

without a doctype tag, IE will use quirks mode to display the page. Quirks mode uses the IE 5 rendering engine which does support the CSS Elements needed for the spry menu to display the sub menus.

add the following doctype tag just before the opening <html> tag:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
Sign in to reply to this post

Christopher WestCommunity Expert

Just to give my 2 cents here, I usually use this doctype as standard for websites:

<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
</head>

Chris

Sign in to reply to this post

Jason ByrnesWebAssist

this is the HTML 5 doctype:
<!DOCTYPE HTML>

the code on the OP's page does not conform to HTML 5 standards, that is why i gave the doctype for HTML 4.0.1 transitional.

His code more closely conforms to the 4.0.1 transitional doctype rules.

Sign in to reply to this post

Christopher WestCommunity Expert

but doesn't using <!DOCTYPE HTML> allow for backwards compatibility with standards in terms of browser updates? so for example if the website is still going strong in 10 years time and a new browser comes out that wont screw up because its using an old doctype?

also the IE=edge allows for the best possible features of that browser to be used right?

Sign in to reply to this post

Jason ByrnesWebAssist

the doctype does not get defined by the browser.

the doctype is defined by the DTD that it is pointing to, for HTML 4.0.1, the dtd path that is used is:
"http://www.w3.org/TR/html4/loose.dtd"

meaning that IE will look to the w3.org site to determine how to display the page.

It is valid to use the HTML 5 doctype for backward compatibility, at least for now, but there is no of knowing if that will be valid in 10 years.

Programers in the '70's thought it was valid to only use 2 digit years, look how that ended up.....

I dont think relaying on the HTML 5 doctype for backwards compatibility is a very good idea.

Yes, setting the User Agent using the meta tag is a good practice too, but not necessary for
the Spry Menu to work.

Sign in to reply to this post
loading

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...