LimBL Posted August 1, 2016 Report Share Posted August 1, 2016 hi folks, im trying to implement an event whereby when the user changes a dropdown to a value say "sold", it will trigger an event to congratulate the user and allow him to input some fields on a new page. any javascript event i can use to implement such kind of event? thks Quote Link to comment Share on other sites More sharing options...
MayMusic Posted August 1, 2016 Report Share Posted August 1, 2016 Is it an update page or details page? If yes you can have a script in the footer of the page as follow: <script> document.getElementById('caspioform').onsubmit = function (){ if ( document.getElementById('EditRecordFIELDNAME').value = "Sold"){ alert("Congratulations you can now proceed"); window.location.href="URL OF THE PAGE THEY CAN ADD MORE INFO"; } } </script> FIELDNAME should be replaced with dropdown field name Quote Link to comment Share on other sites More sharing options...
LimBL Posted August 2, 2016 Author Report Share Posted August 2, 2016 Thanks May i ll give it a try. thanks again 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.