logo

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
    • Wed 22 Feb 2006 03:46 AM

    great tip ! thx to share.

Your Comments

Name:
E-mail:
(optional)
Website:
(optional)
Comment:


About This Page

Written by Jake Howlett on Mon 20 Feb 2006

Share This Page

# ( ) '

Comments

The most recent comments added:

  • avatar YoGi about 18 years ago

Skip to the comments or add your own.

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

Let's Get Social


About This Website

CodeStore is all about web development. Concentrating on Lotus Domino, ASP.NET, Flex, SharePoint and all things internet.

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 »

Elsewhere

Here are the external links posted on the same day.

More links are available in the archive »

More Content