# Random ghost code in Front page -

**URL:** <https://forum.kirupa.com/t/random-ghost-code-in-front-page/17700>\
**Category:** web dev\
**Created:** [April 8, 2003, 12:55pm UTC](https://forum.kirupa.com/t/random-ghost-code-in-front-page/17700 "2003-04-08T12:55:41Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![webworks](https://avatars.discourse-cdn.com/v4/letter/w/74df32/32.png) [@webworks](https://forum.kirupa.com/u/webworks)\
**Post date:** [April 8, 2003, 12:55pm UTC](https://forum.kirupa.com/t/random-ghost-code-in-front-page/17700/1 "2003-04-08T12:55:41Z")

</div>

Can anyone take a look at this? Where on earth is it coming from? Each time I go in and delete it, it re-appears!

Any comments appreciated!  
[https://www.webworkshost.com/~covingto/thankyou\_apply.htm](https://www.webworkshost.com/~covingto/thankyou_apply.htm)

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [April 8, 2003, 1:16pm UTC](https://forum.kirupa.com/t/random-ghost-code-in-front-page/17700/2 "2003-04-08T13:16:05Z")

</div>

can you post your html code. becasue i cant got to many out side sites. if you post it, i might be able to figure it out

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [April 8, 2003, 1:26pm UTC](https://forum.kirupa.com/t/random-ghost-code-in-front-page/17700/3 "2003-04-08T13:26:24Z")

</div>

The javascript below repeats itself - I’m using the frontpage to require the quantity field - I can’t find the required input for the cart :q:

[AS]\<!–webbot BOT=“GeneratedScript” PREVIEW=" " startspan --\>\<script Language=“JavaScript” Type=“text/javascript”\>\<!–  
function FrontPage\_Form3\_Validator(theForm)  
{

if (theForm.qty1.value == “”)  
{  
alert(“Please enter a value for the “qty1” field.”);  
theForm.qty1.focus();  
return (false);  
}  
return (true);  
}  
//–\>\</script\>\<!–webbot BOT=“GeneratedScript” endspan --\>\<form action=“[http://ww5.aitsafe.com/cf/addmulti.cfm](http://ww5.aitsafe.com/cf/addmulti.cfm)” method=“post” onsubmit=“return FrontPage\_Form3\_Validator(this)” name=“FrontPage\_Form3” language=“JavaScript”\>  
\<font color="#000000"\>  
\<input type=“hidden” name=“userid” value=“75103688”\>  
\<input type=“hidden” name=“return” value=“[www.webworkshost.com/~covingto/thankyou\_apply.htm](http://www.webworkshost.com/~covingto/thankyou_apply.htm)”\>\</font\>\<b\>\<font size=“4” color="#842422"\>Three  
Bedroom\</font\>\<font color="#28715A"\>\<font size=“4”\> Deposit Payment:\</font\>\<br\>  
Enter the Applicant Quantity and  
Click the “Pay Online” Button).&nbsp; An applicant is  
any occupant 18 yrs of age and older.\</font\>\</b\>  
\<p\>\<b\>Application Fee\</font\>\</b\>\<font color="#000000"\> ($40 per applicant)  
Enter the Number of Applicants:&nbsp; \<!–webbot  
bot=“Validation” B-Value-Required=“TRUE” --\>  
\<input type=“text” name=“qty1” size=“3”\>  
\<input type=“hidden” name=“price1” value=“40”\>  
\<input type=“hidden” name=“product1” value=“Covington Place Application Fee”\>  
\</p\>\<p\>  
\<input type=“checkbox” name=“qty2” value=“1” checked\>  
\<input type=“hidden” name=“price2” value=“600”\>  
\<input type=“hidden” name=“product2” value=“Covington Place Three Bedroom Rent Deposit”\>\<b\>Three  
Bedroom Reservation\*: $600.00\</b\>\<br\>  
\<input type=“checkbox” name=“qty3” value=“1”\>  
\<input type=“hidden” name=“price3” value=“300”\>  
\<input type=“hidden” name=“product3” value=“Covington Place Pet Deposit (One Pet)”\>\<b\>Please  
check this box if you have \<font color="#842422"\>ONE\</font\> pet  
(Refundable Pet Fee): $300\</b\>\<br\>  
\<input type=“checkbox” name=“qty4” value=“1”\>  
\<input type=“hidden” name=“price4” value=“450”\>  
\<input type=“hidden” name=“product4” value=“Covington Place Pet Deposit (Two Pets)”\>\<b\>Please  
check this box if you have \<font color="#842422"\>TWO\</font\> pets  
(Refundable Pet Fee): $450\</b\>\<br\>  
\<input type=“submit” value=“Pay Online”\>[/AS]

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [April 8, 2003, 2:01pm UTC](https://forum.kirupa.com/t/random-ghost-code-in-front-page/17700/4 "2003-04-08T14:01:47Z")

</div>

what keeps coming up that you dont want?

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [April 8, 2003, 2:05pm UTC](https://forum.kirupa.com/t/random-ghost-code-in-front-page/17700/5 "2003-04-08T14:05:51Z")

</div>

Oops! Sorry -

The following repeats itself over and over and shows up right on the page:

BOT=“GeneratedScript” PREVIEW=" " startspan BOT=“GeneratedScript” PREVIEW=" " startspan BOT=“GeneratedScript” PREVIEW=" " startspan BOT=“GeneratedScript” PREVIEW=" " startspan BOT=“GeneratedScript” PREVIEW=" " startspan BOT=“GeneratedScript” PREVIEW=" " startspan BOT=“GeneratedScript” PREVIEW=" " startspan BOT=“GeneratedScript” PREVIEW=" " startspan BOT=“GeneratedScript” PREVIEW=" " startspan BOT=“GeneratedScript” PREVIEW=" " startspan BOT=“GeneratedScript” PREVIEW=" " startspan

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [April 10, 2003, 9:19pm UTC](https://forum.kirupa.com/t/random-ghost-code-in-front-page/17700/6 "2003-04-10T21:19:52Z")

</div>

Hello Webworks,  
When you simply edit the page in FrontPage and Save does this error repeat itself again?

Thanks!  
Kirupa :s:

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [April 10, 2003, 9:24pm UTC](https://forum.kirupa.com/t/random-ghost-code-in-front-page/17700/7 "2003-04-10T21:24:47Z")

</div>

Yes! Absolutely - I’ve deleted this code a couple of times, and it comes back on it’s own. Do you know a way to avoid this?

I’ve since abandoned FP’s _validate_ code for other javascript, but would really like to figure out how or why it does this. I’m using FP 2000 4.0. I bet if I upgraded it might fix it… :sigh:

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [April 12, 2003, 1:39pm UTC](https://forum.kirupa.com/t/random-ghost-code-in-front-page/17700/8 "2003-04-12T13:39:24Z")

</div>

Hello Webworks,  
I am simply not sure why this is happening. I have had this happen to me on several occassions, but after editing the problem page in FrontPage, the error has not happened again.

Does this error happen only on that particular page? If so, have you tried removing a few FrontPage elements such as the form, include page componenet, etc. until you are able to pinpoint the FrontPage feature that is causing this problem?

Thanks!  
Kirupa 👽
