I am creating a pre-chat page for live agent, I have copied the same code from Pre-Chat Form Code Sample mentioned in live agent developer guide, just replaced the button Ids.I placed one chat button (ID : 573g00000008Ofd) on a VF page for testing with this pre-chat page. On clicking that, the pre-chat form opens. But when the form is submitted it always redirect to this button's custom chat page, regardless of which button I select from the drop down.<select name="liveagent.prechat.buttons"><option value="573g00000008Ofd">Chat Button 1 </option><option value="573g00000008OfY">Chat Button 2 </option></select>Please let me know if I am missing something or some other code needs to be incorporated to get redirected to respective custom chat pages of the buttons.