Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - Variable is undefined: 'strFormName'
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Forum LockedVariable is undefined: 'strFormName'

 Post Reply Post Reply
Author
artfu1 View Drop Down
Newbie
Newbie


Joined: 22 August 2006
Location: United Kingdom
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote artfu1 Quote  Post ReplyReply Direct Link To This Post Topic: Variable is undefined: 'strFormName'
    Posted: 23 August 2006 at 12:15am

Hi

Im trying to integrate the RTE into a product form.  The form itself is called productform

<form action="<%= ThisPageQS %>" method="post" name="productform" id="productform">

I have changed the 2 variables to the appropriate:

<%

            'ID tag name of the HTML form the textarea is within

            strFormName = "productform"

           

            'ID tag name of HTML textarea being replaced

            strTextAreaName = "product_Description"

           

            %>

            <!-- include the Web Wiz Rich Text Editor -->

            <!--#include file="RTE_editor_inc.asp" -->

But when I load the page I get an error stating that the strFormName is undefined       !

Microsoft VBScript runtime error '800a01f4'

Variable is undefined: 'strFormName'

/fresh copy/cw2/Admin/ProductForm.asp, line 353

Have I missed anything ?

Can anyone help?

 

Jack

Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post Posted: 23 August 2006 at 8:40am
Place the following in your ASP code:-

Dim strFormName
Dim strTextAreaName
Back to Top
artfu1 View Drop Down
Newbie
Newbie


Joined: 22 August 2006
Location: United Kingdom
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote artfu1 Quote  Post ReplyReply Direct Link To This Post Posted: 23 August 2006 at 1:07pm

Thanks so much, as you can tell im a total noob when it comes to asp but I am trying to learn.  It worked perfectly

Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.