Friday, April 5, 2013

UDF for converting a query string to a structure

Have you ever needed to work with url query string parameters? Working with a list is no fun, hence why I wrote the convertQueryStringToStruct UDF. This makes building search criteria displays much easier.

There is a great post by Mister Dai showing several scenarios. Credit to him for discovering the underlying solution!

2 comments:

  1. Nice work.

    Would you consider submitting this to CFLIB? http://www.cflib.org/submit

    Cheers.

    --
    Adam

    ReplyDelete
    Replies
    1. Of course! Thanks, Adam, I've submitted it to CFLIB.

      Delete