fx for populating coupon code value from url parameter