I am trying to figure out how to make this work correctly. My problem is with this line of code

Please Login or Register  to view this content.
This drop down box is at the bottom of the Quotes box and by default is Online

It changes the drop down box correctly to "History" from "Online" but it doesn't bring in the new fields that become visible when you select history manually (a from and to box appear when you change from "Online" to "History")
Full code below.


Please Login or Register  to view this content.