View Full Version : HTML / VB Scripting

07-18-2006, 05:12 PM
I have an HTML page with an input TextBox. I have to validate
the input value in the TextBox and fetch other string values
from a comma delimited .TXT file. Can anyone suggest how I should
go about using vbScript on this Html Page ( without having
to run a web server in the background).

07-19-2006, 07:09 AM
Make a google search for a Javascript that can validate the form input. Javascript usually uses an alert popup for the error message. Once the visitor has submitted his post, a background script (on the server) will update the .txt file, and then will reload the page, to make the new post appear.

However, please take into consideration the fact that a text file may become very big, thus greatly increasing load time. Consider the database option.

05-24-2007, 09:06 PM
Whats the difference between them? I want to add this to my pages,

<script src="http://www.google-analytics.com/urchin.js" type="text/javascript">
<script type="text/javascript">
_uacct = "UA-1919623-1";

What language is the script, VB or Java? Thanks in advance

05-25-2007, 05:52 AM
This is Javascript. However, to place it in your page, use simply a HTML box and paste the code in it.

05-25-2007, 01:50 PM
This is Javascript. However, to place it in your page, use simply a HTML box and paste the code in it.

Thanks Navel, I did, but don't see it, does it have anything to do with the size of the HTML boxes?

05-25-2007, 04:05 PM
Ok, sorry about this, i didn't pay attention to what the script was. This is the Google analytics tracking script. This has to be pasted directly at the End of Body of your page html. Go in View, HTML, click on End of Body, and paste the code in there.
There is nothing to see in the page, the script only tracks visits to your pages and stores them in Google's database. If you want to see the statistics go in your Google Analytics account and you will be able to see your traffic details.

Please note that the script must be pasted in ALL the pages that you want to monitor.

However, the stats available through your CP are equally detailed.

Delete the html box.

08-21-2007, 12:29 PM
thanks you