Hi Anthony,

> Does anyone have a good example of using dqsd to
> populate a form and submit it.

You can look at any of the searches in the searches directory. I
suggest amaz.xml for an 'intense' search example. For a simpler
search, yet still complete, look at arin.xml.


> There is also a time field that it listed on the
> form, I was hoping to have that autopopulate also
> without me typing it in.

In your javascript include the following (out of alarm.xml by Ben and
Monty):

  var dt = new Date();
  var dTime = IfZero(dt.getHours()) + ":" + IfZero(dt.getMinutes()) );

Also include this function:
  function IfZero( num )
  {
    return (num <= 9) ? ("0" + num) : num;
  }

There's a lot of great code in these xml files - if you know what
you're looking for you can do a 'find in files' search within the
searches directory for code that's likely to suit your needs.

Regards,

Shawn K. Hall
http://ReliableAnswers.com/

'// ========================================================
    To be or not to be, those are the parameters.




-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?   SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
To unsubscribe visit:
https://lists.sourceforge.net/lists/listinfo/dqsd-users
[EMAIL PROTECTED]
http://sourceforge.net/mailarchive/forum.php?forum_id=8601

Reply via email to