HTML / VB Scripting

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • gvsmani
    Private

    • Jul 2006
    • 1

    HTML / VB Scripting

    Hi,
    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).
  • navaldesign
    General & Forum Moderator

    • Oct 2005
    • 12080

    #2
    Re: HTML / VB Scripting

    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.
    Navaldesign
    Logger Lite: Low Cost, Customizable, multifeatured Login script
    Instant Download Cart: a Powerfull, Customized, in site, DB driven, e-products Cart
    DBTechnosystems.com Forms, Databases, Shopping Carts, Instant Download Carts, Loggin Systems and more....
    Advanced BlueVoda Form Processor : No coding form processor! Just install and use! Now with built in CAPTCHA!

    Comment

    • pristinelife
      Captain

      • Apr 2007
      • 247

      #3
      VB and Java Scripting

      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>
      <script type="text/javascript">
      _uacct = "UA-1919623-1";
      urchinTracker();
      </script>

      What language is the script, VB or Java? Thanks in advance
      Where's Your Life Going? You might find some help here: http://www.ourjourneytolife.com/banners3.html
      Who is Pristinelife? http://ourjourneytolife.com/aboutme.html


      Comment

      • navaldesign
        General & Forum Moderator

        • Oct 2005
        • 12080

        #4
        Re: HTML / VB Scripting

        This is Javascript. However, to place it in your page, use simply a HTML box and paste the code in it.
        Navaldesign
        Logger Lite: Low Cost, Customizable, multifeatured Login script
        Instant Download Cart: a Powerfull, Customized, in site, DB driven, e-products Cart
        DBTechnosystems.com Forms, Databases, Shopping Carts, Instant Download Carts, Loggin Systems and more....
        Advanced BlueVoda Form Processor : No coding form processor! Just install and use! Now with built in CAPTCHA!

        Comment

        • pristinelife
          Captain

          • Apr 2007
          • 247

          #5
          Re: HTML / VB Scripting

          Originally posted by navaldesign
          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?
          Where's Your Life Going? You might find some help here: http://www.ourjourneytolife.com/banners3.html
          Who is Pristinelife? http://ourjourneytolife.com/aboutme.html


          Comment

          • navaldesign
            General & Forum Moderator

            • Oct 2005
            • 12080

            #6
            Re: HTML / VB Scripting

            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.
            Navaldesign
            Logger Lite: Low Cost, Customizable, multifeatured Login script
            Instant Download Cart: a Powerfull, Customized, in site, DB driven, e-products Cart
            DBTechnosystems.com Forms, Databases, Shopping Carts, Instant Download Carts, Loggin Systems and more....
            Advanced BlueVoda Form Processor : No coding form processor! Just install and use! Now with built in CAPTCHA!

            Comment

            • diadi
              Private

              • Aug 2007
              • 1

              #7
              Re: HTML / VB Scripting

              thanks you

              Comment

              Working...
              X