Users have requested to be able to look up certain transaction types by internal ID. I would like to either configure global search to accommodate this request, or create a portlet to handle the need.
For the portlet option, I've created a JS function that takes the transaction type from a drop down and the ID from a text box and substitutes the values into a URL, then I wish to redirect the user to that URL.
Code sample: http://jsfiddle.net/9S9hL/3/
Am I on the right track? Can anyone point out any flaws in my logic or my plan of action? Am I over-thinking this?
Thanks in advance.