Error in FP2K search template code

M

Maggie S.

My site's search page was customized from the Search page
template in FP2K. (None of the functional code was
changed, I just rewrote the search syntax tips.)

When I tested the page in NetMechanic HTML Toolbox, the
searchbot code expands to the following:

<!--webbot bot="Search" s-link s-
fields="TimeStamp,DocumentK," s-index="All" s-
dsn="default" tag="BODY" s-text="Search for: " i-size="20"
s-submit="Start Search" s-clear="Reset" b-
useindexserver="0" startspan --><form
action="../../_vti_bin/shtml.exe/docs/Search_designer_jewel
ry/search.htm" method="POST"><input type="hidden"
name="VTI-GROUP" value="0"><p><b>Search for: </b><input
type="text" name="search" size="20" value></p><p><input
type="submit" value="Start Search"><input type="reset"
value="Reset"></p></form><!--webbot bot="Search" i-
checksum="59640" endspan -->

When I tested the page in NetMechanic's HTML Toolbox, the
test results pointed out that the <input>
attribute "value" doesn't contain a value.

1) What is the correct value?

2) Can I correct it in FP2K? In Frontpage, the searchbot
code appears only as:

<!--webbot bot="Search" s-link s-
fields="TimeStamp,DocumentK," s-index="All" s-
dsn="default" tag="BODY" s-text="Search for: " i-size="20"
s-submit="Start Search" s-clear="Reset" b-
useindexserver="0" -->

I am not very code-savvy so I don't know how that comment
turns into the full search form code where the input value
error appears.

Any help would be greatly appreciated!

Maggie
 
S

Stefan B Rusynko

What you see in design mode is the search webbot design time code
- converted to the final code on file save and publish to a server that supports the run time search webbot

Disregard the NetMechanic's HTML Toolbox as they will not validate many of the FP webbots

--




| My site's search page was customized from the Search page
| template in FP2K. (None of the functional code was
| changed, I just rewrote the search syntax tips.)
|
| When I tested the page in NetMechanic HTML Toolbox, the
| searchbot code expands to the following:
|
| <!--webbot bot="Search" s-link s-
| fields="TimeStamp,DocumentK," s-index="All" s-
| dsn="default" tag="BODY" s-text="Search for: " i-size="20"
| s-submit="Start Search" s-clear="Reset" b-
| useindexserver="0" startspan --><form
| action="../../_vti_bin/shtml.exe/docs/Search_designer_jewel
| ry/search.htm" method="POST"><input type="hidden"
| name="VTI-GROUP" value="0"><p><b>Search for: </b><input
| type="text" name="search" size="20" value></p><p><input
| type="submit" value="Start Search"><input type="reset"
| value="Reset"></p></form><!--webbot bot="Search" i-
| checksum="59640" endspan -->
|
| When I tested the page in NetMechanic's HTML Toolbox, the
| test results pointed out that the <input>
| attribute "value" doesn't contain a value.
|
| 1) What is the correct value?
|
| 2) Can I correct it in FP2K? In Frontpage, the searchbot
| code appears only as:
|
| <!--webbot bot="Search" s-link s-
| fields="TimeStamp,DocumentK," s-index="All" s-
| dsn="default" tag="BODY" s-text="Search for: " i-size="20"
| s-submit="Start Search" s-clear="Reset" b-
| useindexserver="0" -->
|
| I am not very code-savvy so I don't know how that comment
| turns into the full search form code where the input value
| error appears.
|
| Any help would be greatly appreciated!
|
| Maggie
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

search database on frontpage 2003 1
Search not working 1
Search Form 1
FP2000 Search Bot probs 7
Form focus on FP search 6
FP Search box results in 404 nortbots.htm 4
Search 4
Getting Hit Counter to Work 7

Top