Error in FP2K search template code

  • Thread starter Thread starter Maggie S.
  • Start date Start date
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
 
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
 
Back
Top