the WADbSearch1 form element is being used for the trigger.
as for whether to use get or post, it really doesn't matter to much as long as it is consistent.
your current form is set to use POST, so the code for replacing the commas should use the POST collection, your previous form was set to use GET, that is why i suggested converting to the GET collection.
look at the form tag to determine which should be used.