Skip Navigation

About This Website

CodeStore is all about web development. Mostly with the Lotus Domino server.

Your host is Jake Howlett who runs his own web development company called Rockall Design and is always on the lookout for new and interesting work to do.

You can find me on Twitter and on Linked In.

Read more about this site »

About This Page

Written by Jake Howlett on Mon 20 Feb 2006

Permalink: Bite-Size Article

Skip to the comments or add your own.

You can subscribe to an individual RSS feed of comments on this entry.

Recent Comments

Elsewhere

Here are the external links posted on the same day.

More links are available in the archive »

Bite-Size Article

Finally I got round to publishing a new article. It started out as a blog entry last week and grew to the point where it felt too long. The article itself is a long rambling way of describing a very simple idea.

For those of you adverse to reading such lengthy tomes here's the gist of it. Add the following PassThru HTML to your form:

<noscript>
<input type="hidden" name="JavaScript" value="Off" />
</noscript>

In your WQS LotusScript you can then test whether the browser posting the form supports JavaScript or not. Like so:

If vWebDocument.JavaScript(0)="" Then 'script enabled

For a full explanation read the article. For most of you though I'm sure it all makes sense.

Note: The following function does not achieve the same ends:

@BrowserInfo("JavaScript")

This merely tells you whether the browser actually supports scripting and can't tell you whether the user has disabled it or not.

Comments

    • avatar
    • YoGi
    • Posted on Wed 22 Feb 2006 03:46 AM

    great tip ! thx to share.

Add your own response here:

Although your email address isn't required it is protected from spambots if you choose to provide it and not to hide it. My right to remove commercial, irrelevant or posts I just don't like is reserved.

Name *:
E-mail:
Website:
 

Comment *:

HTML is not allowed!