Master Posted August 1, 2014 Report Share Posted August 1, 2014 I want to have a dropdown in which by selecting back button page goes back two pages. Quote Link to comment Share on other sites More sharing options...
MayMusic Posted August 1, 2014 Report Share Posted August 1, 2014 In destination after submission screen you have have a java script which is reading the value of a dropdown if it is BACK it will go back two pages if it is not BACK then it will pick the link from value of the dropdown and that will be the destination link <script> function goBack() { window.history.go(-2); } if ('[@cbParamVirtual1]' == 'BACK'){ goBack(); } else { window.location.href="[@cbParamVirtual1]"; } </script> In here the dropdown was a virtual field you can select the field name from picker Master 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.