>> > And as a sort of follow up to that -- how does one set ht://Dig to search >> > multiple restricted areas, rather than just one? I'm designing a form >> > interface to allow a selectable menu of Web site areas to search, but it >> > only appears to work when set as a single-selection field. >> > >> > Like so (example): >> > >> > Search Section:<BR> >> > <SELECT NAME="restrict" SIZE="1"> >> > <OPTION VALUE="">All of the Web site >> > <OPTION VALUE="one">First Part >> > <OPTION VALUE="two">Second Part >> > <OPTION VALUE="three">Third Part >> > </SELECT> >For restricting you should try : > <SELECT NAME="restrict" SIZE="1"> > <OPTION VALUE="">All of the Web site > <OPTION VALUE="http://www.mysite.com/one">First Part > <OPTION VALUE="http://www.mysite.com/two">Second Part > <OPTION VALUE="http://www.mysite.com/three">Third Part > </SELECT> > >It works like a champ... I actually combine both methods, I use >restriction and also split things into different databases and rather than >use the database references I use different configs for each database >allows for a lot more flexibility. Maren, Actually, what I'm trying to figure out is *multiple* selections in one form, rather than just one. You'll note that your search-restrict example is actually the same as mine -- you don't have to include "http://..." because ht://Dig already knows the base URL of your site. Thanks! -s ---------------------------------------------------------------------- To unsubscribe from the htdig mailing list, send a message to [EMAIL PROTECTED] containing the single word "unsubscribe" in the body of the message.
