Results 1 to 2 of 2

Thread: Intercepting form variables on filter page

  1. #1
    Joy Mills Guest

    Intercepting form variables on filter page

    After user filters on our Net Value field, we want to be able to multiply the net value by 100 before it is submitted to aspdb. How can we intercept the value the user enters on the filter page before it is processed?

  2. #2
    John Guest

    Intercepting form variables on filter page (reply)

    Hi Joy,

    Easiest way is to add some JavaScript to handle the validation and at that time, change the contents to multiply it by 100.

    Use the FilterValidateName parameter such as:

    MyDb.dbFilterParams = "FilterValidateName=FilterValidate()"

    and put your own handler in there to do the math.

    Thanks,
    John




    ------------
    Joy Mills at 10/15/01 11:25:23 AM

    After user filters on our Net Value field, we want to be able to multiply the net value by 100 before it is submitted to aspdb. How can we intercept the value the user enters on the filter page before it is processed?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •