I chose not to do that, but there is a comment _if_ a field has been selected:
// The wizard assigned the search string to this form field value because
// this field was the active element when the search file was generated.
// Change this to args.q if the search string is parsed with parseArgs.
document.xyzzyf.qt.value = q;
By default the parseArgs and the switch statement are commented out. If the
wizard gen'd code referenced args.q there would be a script error. I may add an
option so this can be configured by the user.
Glenn
----- Original Message -----
From: "MLL" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, September 11, 2002 9:46 AM
Subject: RE: [DQSD-Users] RE: [DQSD-Announce] ANN: DSQD Search Wizard 0.7 (beta)
Yeat another suggestion :
if switches are entered, the line :
document.searchf.input_file.value = q;
should be
document.searchf.input_file.value = args.q;
MLL
-------------------------------------------------------
In remembrance
www.osdn.com/911/
_______________________________________________
Dqsd-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dqsd-users
http://sourceforge.net/mailarchive/forum.php?forum_id=8601